[Debian-med-packaging] Bug#909070: mypy: autopkgtest regression: The 'mypy_extensions<0.5.0, >=0.4.0' distribution was not found

Paul Gevers elbrus at debian.org
Tue Sep 18 05:46:22 BST 2018


Source: mypy
Version: 0.630-1
Severity: serious
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainers,

With a recent upload of mypy the autopkgtest of mypy fails in testing
when that autopkgtest is run with the binary packages of mypy from
unstable. It passes when run with only packages from testing. I copied
some of the output at the bottom of this report.

Reading the error message, mypy fails to run because because it is
missing a dependency. Therefore I file this bug at severity serious,
please downgrade if I misjudged.

Even before I filed this bug, this regression is contributing to the
delay of the migration to testing [1]. Can you please investigate the
situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=mypy

https://ci.debian.net/data/autopkgtest/testing/amd64/m/mypy/1010214/log.gz

autopkgtest [03:19:46]: test command1: mypy --help
autopkgtest [03:19:46]: test command1: [-----------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
578, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
895, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
786, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (mypy-extensions 0.5.0.dev0
(/usr/lib/python3/dist-packages),
Requirement.parse('mypy_extensions<0.5.0,>=0.4.0'), {'mypy'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/mypy", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
3105, in <module>
    @_call_aside
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
3089, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
3118, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
580, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
593, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
781, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'mypy_extensions<0.5.0,>=0.4.0'
distribution was not found and is required by mypy
autopkgtest [03:19:47]: test command1: -----------------------]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20180918/f9a1ad2a/attachment.sig>


More information about the Debian-med-packaging mailing list