Closed JerryHamm closed 3 months ago
sudo pip install celery=5.2.0
seems to solve the issue though
sudo pip
is probably using an older version of pip, try sudo pip -V
and see what is says.
This package's requirement metadata is not valid, and no longer works with pip 24.1+, if you require that older package you will need to use pip 24.0.
Yes you are right sudo pip
was using 22.0.2
.
I have already reverted pip
to 24.0
and it works perfectly. Thanks for you assistance!
Another option is to upgrade to Celery 5.2.1+ since this issue was fixed in: https://github.com/celery/celery/pull/7074 https://github.com/celery/celery/commit/011dc063719c7bce9c105a8e86095a0ccbf7cb1e
Description
I encountered an issue while trying to install celery==5.2.0 in my Docker build process. The installation fails due to invalid metadata in the specified version of Celery. The error message indicates that the metadata has an unexpected character which prevents the installation from proceeding.
Expected behavior
Celery version 5.2.0 should install without any errors.
pip version
24.1
Python version
3.10.12
OS
Linux
How to Reproduce
pip
version is24.1
pip install celery==5.2.0
Output
Code of Conduct