[Python-modules-team] Bug#934116: nose2: Requires mock 2.0 (for python < 3.6) but 3.0 is in unstable
Bas Couwenberg
sebastic at xs4all.nl
Wed Aug 7 08:48:23 BST 2019
Source: nose2
Version: 0.9.1-1
Severity: serious
Justification: makes the package in question unusable or mostly so
Control: affects -1 src:python-pyproj
Dear Maintainer,
The rebuild on the buildd of python-pyproj failed [0] due to a version
mismatch between nose2 & python-mock:
pkg_resources.DistributionNotFound: The 'mock==2.0.0' distribution was not found and is required by nose2
The setup.py for nose2 contains:
install_requires=[
"six>=1.7",
"coverage>=4.4.1",
# mock on py2, py3.4 and py3.5
# not just py2: py3 versions of mock don't all have the same
# interface and this can cause issues
'mock==2.0.0;python_version<"3.6"',
],
But the dependencies of python-nose2 don't reflect this version constraint:
Depends: python-mock, [...]
Until 2019-07-16 python-mock was at version 2.0.0, but has since
upgraded to 3.0.5.
Please make nose2 work for Python < 3.6 again.
[0] https://buildd.debian.org/status/fetch.php?pkg=python-pyproj&arch=amd64&ver=1.9.6-1%2Bb1&stamp=1565162830&raw=0
Kind Regards,
Bas
More information about the Python-modules-team
mailing list