Your message dated Mon, 21 Oct 2019 16:03:29 +0200
with message-id
<CAOO6c=x6WW79=k8moMe9kj1R16obboZPPgrPSNy=w3u5scj...@mail.gmail.com>
and subject line Closing
has caused the Debian Bug report #942786,
regarding py.test fails to run
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
942786: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942786
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-pytest
Version: 4.6.6-1
Severity: grave
Attempting to run py.test fails with the following traceback:
Traceback (most recent call last):
File "/usr/bin/py.test", line 6, in <module>
from pkg_resources import load_entry_point
File
"/home/iko/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3098, in <module>
@_call_aside
File
"/home/iko/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3082, in _call_aside
f(*args, **kwargs)
File
"/home/iko/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3111, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File
"/home/iko/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
575, in _build_master
return cls._build_from_requirements(__requires__)
File
"/home/iko/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
588, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File
"/home/iko/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
777, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'configparser>=3.5' distribution was
not found and is required by importlib-metadata
Note that python-configparser of what should be a suitable version is installed
(and imports just fine manually):
: luggage%; aptitude show python-configparser
Package: python-configparser
Version: 3.5.0b2-3
State: installed
Automatically installed: yes
Priority: optional
Section: python
Maintainer: Agustin Henze <t...@debian.org>
Architecture: all
Uncompressed Size: 412 k
Depends: python:any (< 2.8), python:any (>= 2.7~), libjs-sphinxdoc (>= 1.0)
Description: backport of the enhanced config parser introduced in Python 3.2 -
PyPy
The ancient ConfigParser module available in the standard library 2.x has seen
a major update in Python 3.2. This is a
backport of those changes so that they can be used directly in Python 2.7.
This package contains Python 2.7 module.
Homepage: https://bitbucket.org/ambv/configparser
python-pytest 3.10.1-2 (from testing) works.
--- End Message ---
--- Begin Message ---
Version: 0.23-2
It looks like reason is this (thanks to olasd for hint):
>>> from packaging import version
>>> version.parse('3.5.0b2') >= version.parse('3.5')
False
So I relaxed required version in setup.cfg and it should be fixed now.
TBH I still don't understand why this bug popped up after pytest upgrade.
Thanks for your bugreport.
--
Best regards
Ondřej Nový
--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team