[Python-apps-team] Bug#946553: prospector: please, tighten the dependency of prospector on pylint

Rogério Brito rbrito at ime.usp.br
Tue Dec 10 21:18:32 GMT 2019


Package: prospector
Version: 1.1.7-1
Severity: normal
X-Debbugs-CC: locutusofborg at debian.org, czchen at debian.org


First of all, thank you very, very much for uploading a new version of
prospector to Debian. It is really appreciated.

Since prospector was not migrated to testing, when it was uploaded,
apt/aptitude just went ahead and offered to upgrade to the version on
unstable.

Since I am tracking testing, the packages that I have are not-so-fresh and,
in particular, when I run prospector, I get a message telling me that pylint
is too old:


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$ prospector
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: (pylint 2.2.2 (/usr/lib/python3/dist-packages), Requirement.parse('pylint>=2.3.1'), {'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 'pylint>=2.3.1' distribution was not found and is required by prospector
$
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

It would be very nice if the dependencies were tightened a bit...


Thanks,

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-2-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.2.2-4
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.4.1-4
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-4
ii  python3-pylint-django          2.0.11-1
ii  python3-pylint-flask           0.5-3
ii  python3-pylint-plugin-utils    0.6-1
ii  python3-pyroma                 2.3.1-1
ii  python3-requirements-detector  0.6-2
ii  python3-setoptconf             0.2.0-3
ii  python3-typed-ast              1.4.0-1+b1
ii  python3-yaml                   5.1.2-1+b1

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



More information about the Python-apps-team mailing list