Closed Didayolo closed 1 month ago
@OhMaley Error during the building:
=> ERROR [site_worker 7/9] RUN poetry lock 1.7s
=> CANCELED [flower 7/9] RUN poetry add redis=3.0.1 0.7s
------
> [site_worker 7/9] RUN poetry lock:
1.366 The currently activated Python version 3.9.19 is not supported by the project (3.9.20).
1.366 Trying to find and use a compatible version.
1.534
1.535 Poetry was unable to find a compatible version. If you have one, you can explicitly use it via the "env use" command.
------
failed to solve: process "/bin/sh -c poetry lock" did not complete successfully: exit code: 1
Exited with code exit status 17
Any thoughts?
Oui il faut que la version de python noté dans le Dockerfile et dans pyproject.toml soit identique. Je l'ai update dans le dockerfile pour être la même version que celle du pyproject.toml, mais ce dernier fichier a été mis à jour il y a 4h on dirai. Il faut donc mettre à jour le dockerfile
Ce qui m'étonne c'est que je suis reparti de develop
à l'instant. Mais ça devrait être bon maintenant j'imagine.
@bbearce How to solve the poetry lock? I not able to run the commands locally
pyenv install 3.9.20
pyenv virtualenv 3.9.20 codabench_django
pyenv activate codabench_django
# pyenv uninstall codabench_django
poetry config virtualenvs.create false
poetry config virtualenvs.in-project false
poetry install # installs from lock file
Original PR
1597
Description
Make the orphan files deletion task asynchronous. This comes with few changes to make it possible:
For testing
Do not forget to build the docker images !
Checklist