Closed felix-bedag closed 6 days ago
Quotes were never a thing; its “support” never inteded. Remove them.
To follow up on this, pip 24.1 has removed support for legacy version and legacy version specifiers. Starting with pip 24.1, they all must conform to PEP 440. See https://pradyunsg.me/blog/2024/05/13/pip-24-1-betas/ for more information.
You should've received a deprecation warning at some point, at least with pip 24.0.
Description
Our
requirements.txt
file containes the following line:With pip 24.0 the command
pip install -r path/to/requirements.txt
was successful. With the version 24.1 however, we get the following error message:Removing the quotes fixed the issue.
Expected behavior
Installation succeeds even if package version name contains quotes.
pip version
24.1
Python version
3.10.12
OS
Ubuntu
How to Reproduce
Execute the following commands:
pip install --force-reinstall -v "pip==24.1"
echo 'connectorx>="0.3.2a8"' > requirements.txt
pip install --force-reinstall -r requirements.txt
Now the error occurs.
Output
Code of Conduct