Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.x
-
None
Description
You cannot use pip to install the wheels of the maintenance tool py passing a package name and a version to pip.
You either run into
(foo) C:\tmp\venv\foo>pip install PySide6==6.6.1+commercial --no-index --find-links=C:\qt\QtForPython\6.6.1\
Looking in links: c:\qt\QtForPython\6.6.1\
ERROR: Could not find a version that satisfies the requirement PySide6==6.6.1+commercial (from versions: 6.6.1.commercial)
ERROR: No matching distribution found for PySide6==6.6.1+commercial
or:
(foo) C:\tmp\venv\foo>pip install PySide6==6.6.1.commercial --no-index --find-links=C:\qt\QtForPython\6.6.1\ Looking in links: c:\qt\QtForPython\6.6.1\ Processing c:\qt\qtforpython\6.6.1\pyside6-6.6.1.commercial-cp38-abi3-win_amd64.whl WARNING: Discarding file:///C:/Qt/QtForPython/6.6.1/PySide6-6.6.1.commercial-cp38-abi3-win_amd64.whl. Requested PySide6==6.6.1.commercial from file:///C:/Qt/QtForPython/6.6.1/PySide6-6.6.1.commercial-cp38-abi3-win_amd64.whl has inconsistent version: filename has '6.6.1.commercial', but metadata has '6.6.1+commercial' ERROR: Could not find a version that satisfies the requirement PySide6==6.6.1.commercial (from versions: 6.6.1.commercial) ERROR: No matching distribution found for PySide6==6.6.1.commercial
I understood that the + is required according to PEP 440 but in that case the file names need to be adjusted to also contain a + instead of the .
If I rename all wheels manually from .commercial to +commercial
pip install PySide6==6.6.1+commercial --no-index --find-links=C:\qt\QtForPython\6.6.1\
succeeds.