Le mercredi 07 août 2019 à 09:48:23+0200, Bas Couwenberg a écrit : > 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.
I'm eager to remove the specific requirement for mock 2.0.0, but it may also not work properly with python2 nose2. As the current state of nose2 is that the python2 tests pass properly[1], I won't go further on this. If you have a better suggestion, I'm eager to hear about it. Kind regards, [1] https://ci.debian.net/data/autopkgtest/unstable/amd64/n/nose2/2755874/log.gz -- Pierre-Elliott Bécue GPG: 9AE0 4D98 6400 E3B6 7528 F493 0D44 2664 1949 74E2 It's far easier to fight for one's principles than to live up to them.
signature.asc
Description: PGP signature