FS#71930 - [python-pylint] python-isort now hard dependency

Attached to Project: Community Packages
Opened by Ondřej Hošek (RavuAlHemio) - Thursday, 26 August 2021, 18:45 GMT
Last edited by Caleb Maclennan (alerque) - Tuesday, 31 August 2021, 21:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Greetings!

python-pylint now apparently has a hard dependency on python-isort.

The following backtrace is output when running pylint (package version 2.10.2-1) on an Arch container ("archlinux:latest" from dockerhub with added packages: base-devel python-jinja python-werkzeug python-yaml python-psycopg2 python-requests python-lxml python-natsort mypy python-pylint python-pytest python-pip):

Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pylint/utils/utils.py", line 6, in <module>
import isort.api
ModuleNotFoundError: No module named 'isort'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.9/site-packages/pylint/__main__.py", line 9, in <module>
pylint.run_pylint()
File "/usr/lib/python3.9/site-packages/pylint/__init__.py", line 21, in run_pylint
from pylint.lint import Run as PylintRun
File "/usr/lib/python3.9/site-packages/pylint/lint/__init__.py", line 76, in <module>
from pylint.lint.parallel import check_parallel
File "/usr/lib/python3.9/site-packages/pylint/lint/parallel.py", line 7, in <module>
from pylint import reporters
File "/usr/lib/python3.9/site-packages/pylint/reporters/__init__.py", line 26, in <module>
from pylint import utils
File "/usr/lib/python3.9/site-packages/pylint/utils/__init__.py", line 48, in <module>
from pylint.utils.utils import (
File "/usr/lib/python3.9/site-packages/pylint/utils/utils.py", line 10, in <module>
import isort
ModuleNotFoundError: No module named 'isort'


Please move python-isort from checkdepends to depends. Thanks in advance!
This task depends upon

Closed by  Caleb Maclennan (alerque)
Tuesday, 31 August 2021, 21:09 GMT
Reason for closing:  Duplicate
Additional comments about closing:  Already fixed, duplicate of  FS#71901 
Comment by Caleb Maclennan (alerque) - Tuesday, 31 August 2021, 21:08 GMT
Thanks for the report, but this is a duplicate of  FS#71901  and I pushed a package that fixed it a couple hours ago. The current package in [community] is 2.10.2-2.

https://bugs.archlinux.org/task/71901

Loading...