Incorrect wheel name according to PEP 491
#1
by
albertotb
- opened
According to PEP 491 the version part of the wheel name is incorrect: https://peps.python.org/pep-0491/
This seems to be the cause of this model not installing with pip>24.1. This is the error:
pip install https://huggingface.co/PlanTL-GOB-ES/es_anonimization_core_lg/resolve/main/es_anonimization_core_lg-any-py3-none-any.whl
ERROR: Invalid requirement: 'es-anonimization-core-lg==any': Expected end or semicolon (after name and no valid version specifier)
es-anonimization-core-lg==any
Issue that may be related: https://github.com/pypa/pip/issues/12063
Relevant patch notes: https://pip.pypa.io/en/stable/news/#b1-2024-05-06
change the filename: es_anonimization_core_lg-1.0.0-py3-none-any.whl
Yes, that works, but I have to download the wheel first. It would be great if the name was changed in HuggingFace so it can be used as a remote repository to install the model directly.