[Python-modules-team] Bug#731299: Bug#731299: python-pytest: Broken because of pkg_resources.VersionConflict

Sebastian Ramacher sramacher at debian.org
Wed Dec 4 14:28:03 UTC 2013


Control: reassign -1 python3-pytest 2.4.2-1
Control: tags -1 + confirmed

On 2013-12-03 19:30:35, Nikolaus Rath wrote:
> Package: python-pytest
> Version: 2.2.4-2
> Severity: grave
> Justification: renders package unusable
> 
> With latest python3-pytest from sid, I get

Fixing up the version information.

> # py.test-3.3
> Traceback (most recent call last):
>   File "/usr/bin/py.test-3.3", line 5, in <module>
>     sys.exit(load_entry_point('pytest==2.4.2', 'console_scripts', 'py.test')())
>   File "/usr/lib/python3/dist-packages/pkg_resources.py", line 357, in load_entry_point
>     return get_distribution(dist).load_entry_point(group, name)
>   File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2394, in load_entry_point
>     return ep.load()
>   File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2107, in load
>     if require: self.require(env, installer)
>   File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2120, in require
>     working_set.resolve(self.dist.requires(self.extras),env,installer)))
>   File "/usr/lib/python3/dist-packages/pkg_resources.py", line 580, in resolve
>     raise VersionConflict(dist,req) # XXX put more info here
> pkg_resources.VersionConflict: (py 1.4.15 (/usr/lib/python3/dist-packages), Requirement.parse('py>=1.4.17'))

The dependency was bumped to >= 1.4.16 in 2.4.0 but I cannot find any
reason for this change in upstream's repository. In 2.4.2 it was bumped to
>= 1.4.17 for a Windows only fix.

Regards
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20131204/6d968e28/attachment.sig>


More information about the Python-modules-team mailing list