-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
status: criticalgrave problem or usability issue that affects lots of usersgrave problem or usability issue that affects lots of userstype: bugproblem that needs to be addressedproblem that needs to be addressedtype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously
Description
Pytest 3.10 doesn't correctly parse minversion correctly. I have
[tool:pytest]
minversion = 3.6
in setup.cfg and see ERROR: setup.cfg:16: requires pytest-3.6, actual pytest-3.10.0'
Changing 3.6 to 3.06 fixes the problem, but this isn't consistent versioning.
Should correctly pass if if LooseVersion accepts the strings.
from distutils.version import LooseVersion
LooseVersion('3.10') > LooseVersion('3.6')
Out[3]: True
Here's a quick checklist in what to include:
- Include a detailed description of the bug or suggestion
-
pip list
of the virtual environment you are using - pytest and operating system versions
- Minimal example if possible
congma, wimglenn and nickraptis
Metadata
Metadata
Assignees
Labels
status: criticalgrave problem or usability issue that affects lots of usersgrave problem or usability issue that affects lots of userstype: bugproblem that needs to be addressedproblem that needs to be addressedtype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously