Package: prospector Version: 1.1.7-2 Severity: normal Hi.
After a few upgrades of packages that prospector depends on, it stopped working due to a version of python3-pep8-naming that is "too new" to satisfy its dependencies (or, in other words, the dependency of the package is not tight enough as what the script needs at runtime): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /tmp$ prospector --help Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 583, in _build_master ws.require(__requires__) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 791, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (pep8-naming 0.9.1 (/usr/lib/python3/dist-packages), Requirement.parse('pep8-naming<=0.9.0,>=0.3.3'), {'prospector'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/prospector", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3250, in <module> @_call_aside File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3234, in _call_aside f(*args, **kwargs) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 585, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'pep8-naming<=0.9.0,>=0.3.3' distribution was not found and is required by prospector - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The version of pep8-naming available is only 0.9.1-1 in testing and unstable: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $ apt-cache policy python3-pep8-naming python3-pep8-naming: Installed: 0.9.1-1 Candidate: 0.9.1-1 Version table: *** 0.9.1-1 500 500 http://deb.debian.org/debian testing/main amd64 Packages 500 http://deb.debian.org/debian testing/main i386 Packages 200 http://deb.debian.org/debian unstable/main amd64 Packages 200 http://deb.debian.org/debian unstable/main i386 Packages 100 /var/lib/dpkg/status - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I have not tried to see upstream if python3-pep8-naming 0.9.1 would work with prospector or not or if a new version of prospector would broaden the compatibility... Any help is very welcome, Rogério Brito. -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing'), (200, 'unstable'), (150, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.3.0-3-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8), LANGUAGE=en_US.utf-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages prospector depends on: ii dodgy 0.1.9-3 ii libjs-sphinxdoc 1.8.5-4 ii pylint 2.4.4-2 ii python3 3.7.5-1 ii python3-astroid 2.3.3-1 ii python3-mccabe 0.6.1-2 ii python3-mypy 0.750-1 ii python3-pep8-naming 0.9.1-1 ii python3-pycodestyle 2.5.0-1 ii python3-pydocstyle 2.1.1-1 ii python3-pyflakes 2.1.1-1 ii python3-pylint-celery 0.3-5 ii python3-pylint-django 2.0.13-1 ii python3-pylint-flask 0.5-4 ii python3-pylint-plugin-utils 0.6-1 ii python3-pyroma 2.6b2-1 ii python3-requirements-detector 0.6-2 ii python3-setoptconf 0.2.0-4 ii python3-typed-ast 1.4.0-1+b1 ii python3-yaml 5.2-1 Versions of packages prospector recommends: ii vulture 0.21-1.1 prospector suggests no packages. -- no debconf information -- Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br