Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pip install requirements not working #3547

Open
Didayolo opened this issue Jan 14, 2025 · 1 comment
Open

Pip install requirements not working #3547

Didayolo opened this issue Jan 14, 2025 · 1 comment
Labels
Bug Setup Anything related to the deployment of CodaLab

Comments

@Didayolo
Copy link
Member

The CircleCI tests are not passing:

https://app.circleci.com/pipelines/github/codalab/codalab-competitions/401/workflows/1acce18c-7ffe-4272-a627-85035d6feff6/jobs/3255

#!/bin/bash -eo pipefail
pip install -r codalab/requirements/requirements.txt
Please use pip<24.1 if you need to use this version.
ERROR: Ignored the following yanked versions: 5.0.6, 5.2.5
ERROR: Ignored the following versions that require a different python version: 0.10.6 Requires-Python >=2.7, <3.6; 0.10.7 Requires-Python >=2.7, <3.6; 0.15.0 Requires-Python >=3.9; 0.16.0 Requires-Python >=3.9; 5.0 Requires-Python >=3.10; 5.0.0 Requires-Python >=3.9; 5.0.1 Requires-Python >=3.10; 5.0.1 Requires-Python >=3.9; 5.0.2 Requires-Python >=3.10; 5.0.2 Requires-Python >=3.9; 5.0.3 Requires-Python >=3.10; 5.0.3 Requires-Python >=3.9; 5.0.4 Requires-Python >=3.10; 5.0.5 Requires-Python >=3.10; 5.0.6 Requires-Python >=3.10; 5.0.7 Requires-Python >=3.10; 5.0.8 Requires-Python >=3.10; 5.0.9 Requires-Python >=3.10; 5.0a1 Requires-Python >=3.10; 5.0b1 Requires-Python >=3.10; 5.0rc1 Requires-Python >=3.10; 5.1 Requires-Python >=3.10; 5.1.1 Requires-Python >=3.10; 5.1.2 Requires-Python >=3.10; 5.1a1 Requires-Python >=3.10; 5.1b1 Requires-Python >=3.10; 5.1rc1 Requires-Python >=3.10
ERROR: Could not find a version that satisfies the requirement celery==4.4.6 (from versions: 0.1.2, 0.1.4, 0.1.6, 0.1.7, 0.1.8, 0.1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rc1, 4.4.0rc2, 4.4.0rc3, 4.4.0rc4, 4.4.0rc5, 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.4.4, 4.4.5, 4.4.6, 4.4.7, 5.0.0a1, 5.0.0a2, 5.0.0b1, 5.0.0rc1, 5.0.0rc2, 5.0.0rc3, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.1.0b1, 5.1.0b2, 5.1.0rc1, 5.1.0, 5.1.1, 5.1.2, 5.2.0b1, 5.2.0b2, 5.2.0b3, 5.2.0rc1, 5.2.0rc2, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4, 5.2.6, 5.2.7, 5.3.0a1, 5.3.0b1, 5.3.0b2, 5.3.0rc1, 5.3.0rc2, 5.3.0, 5.3.1, 5.3.4, 5.3.5, 5.3.6, 5.4.0rc1, 5.4.0rc2, 5.4.0, 5.5.0b1, 5.5.0b2, 5.5.0b3, 5.5.0b4, 5.5.0rc1)

[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
ERROR: No matching distribution found for celery==4.4.6

Exited with code exit status 1

Pip version seems to be too recent (or packages too old).

@Didayolo Didayolo added Setup Anything related to the deployment of CodaLab Bug labels Jan 14, 2025
@ObadaS
Copy link
Collaborator

ObadaS commented Jan 20, 2025

Changing the version of celery to the 5.5.0rc4 fixes the problem of the build but breaks some containers when they are running, making the docker stack not function anymore.

Removing the line that upgrades pip in the Dockerfile fixes the installation problem locally, but does not seem to work in Circle-ci for some reason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Setup Anything related to the deployment of CodaLab
Projects
None yet
Development

No branches or pull requests

2 participants