Should we permit `.*` with more comparision operators in version specifiers?

Problems from Fedora:

pcs

https://copr.fedorainfracloud.org/coprs/thrnciar/python-packaging/package/pcs/

python3dist() provides generator:

packaging.version.InvalidVersion: Invalid version: '0.11.4.15-f7301'

pyodbc

https://copr.fedorainfracloud.org/coprs/thrnciar/python-packaging/package/pyodbc/

python3dist() provides generator:

packaging.version.InvalidVersion: Invalid version: '4.0.0-unsupported'

See Use PEP 440 version name required for wheels · mkleehammer/pyodbc@996fce1 · GitHub

This is a verified bug in the RPM package of pyodbc (the above commit just makes it not manifest in this way).

python-btchip

https://copr.fedorainfracloud.org/coprs/thrnciar/python-packaging/package/python-btchip/

python3dist() requires generator:

packaging.requirements.InvalidRequirement: Expected end or semicolon (after version specifier)
    python-pyscard>=1.6.12-4build1; extra == "smartcard"
                  ~~~~~~~~~~^

python-dipy

https://copr.fedorainfracloud.org/coprs/thrnciar/python-packaging/package/python-dipy/

python3dist() requires generator:

packaging.requirements.InvalidRequirement: Expected closing RIGHT_PARENTHESIS
    fury (>=0.8.0scikit-learn) ; extra == 'all'
         ~~~~~~~~^

python-dropbox

https://copr.fedorainfracloud.org/coprs/thrnciar/python-packaging/package/python-dropbox/

python3dist() requires generator:

packaging.requirements.InvalidRequirement: Expected end or semicolon (after version specifier)
    stone>=2.*
         ~~~^

python-haversion

https://copr.fedorainfracloud.org/coprs/thrnciar/python-packaging/package/python-haversion/

python3dist() provides generator:

packaging.version.InvalidVersion: Invalid version: 'main'

This is a verified bug in Fedora’s RPM packaging of pyhaversion.

python-lacrosse

https://copr.fedorainfracloud.org/coprs/thrnciar/python-packaging/package/python-lacrosse/

python3dist() provides generator:

packaging.version.InvalidVersion: Invalid version: 'unknown'

This is a verified bug in Fedora’s RPM packaging of pylacrosse.

python-pdir2

https://copr.fedorainfracloud.org/coprs/thrnciar/python-packaging/package/python-pdir2/

python3dist() requires generator:

packaging.requirements.InvalidRequirement: Expected end or semicolon (after version specifier)
    typing-extensions>=4.2.*
                     ~~~~~^

This is caused by downstream patching.

python-pvc

https://copr.fedorainfracloud.org/coprs/thrnciar/python-packaging/package/python-pvc/

python3dist() requires generator:

packaging.requirements.InvalidRequirement: Expected end or semicolon (after version specifier)
    pyvmomi>=5.5.0-2014.1.1
           ~~~~~~~~~~~~^

python-pytest-httpx

https://copr.fedorainfracloud.org/coprs/thrnciar/python-packaging/package/python-pytest-httpx/

python3dist() requires generator:

packaging.requirements.InvalidRequirement: Expected end or semicolon (after version specifier)
    pytest<8.*,>=6.*
          ~~^
2 Likes