Im trying to install a custom package for my project using pip install. The project is using setuptools to create a .whl
file.
When trying to install pip like below command, Im getting error: Invalid requirement
.
pip install target/custom_utils-2.0.0_SNAPSHOT-py3-none-any.whl
error:
ERROR: Invalid requirement: 'custom_utils==2.0.0_SNAPSHOT': Expected end or semicolon (after version specifier)
custom_utils==2.0.0_SNAPSHOT
~~~~~~~^
This version is violating PEP 440
, but setuptool==65.5.1
was still able to handle this. The strange part is, this was working till yesterday. Im not sure if there’s something changed during night.