Closed
Description
- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).
- OS version and name: MacOS Big Sur 11.6
- Poetry version: 1.2.0a2
Issue
Hello, I'm unsure if this issue belongs here or in the Python package in question, so I'm starting here first.
I'm trying out Poetry 1.2.0a2, and getting a failure when I attempt to install datatest
. This is in a minimal project created by poetry init
with no other dependencies.
$ poetry --version
Poetry (version 1.2.0a2)
$ poetry add datatest
Using version ^0.11.1 for datatest
Updating dependencies
Resolving dependencies... (0.0s)
InvalidVersion
Invalid PEP 440 version: '2.6.'
The following error occurred when trying to handle this error:
...
ValueError
Could not parse version constraint: >=2.6.*
I found this in the setup.py
of the datatest
repo:
python_requires='>=2.6.*, !=3.0.*, !=3.1.*',
So I think that >=2.6.*
is incorrect syntax, and it should be >=2.6
. But this package is able to be installed when using poetry 1.1.10
. So I'm not sure if this has to be fixed in datatest
or in poetry
.