-
Notifications
You must be signed in to change notification settings - Fork 28
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
Convert orphan files deletion task to async using celery task. Update celery config to make it possible #1609
Convert orphan files deletion task to async using celery task. Update celery config to make it possible #1609
Conversation
… celery config to make it possible
…es-deletion-async convert orphan files deletion task to async using celery task. Update celery config to make it possible
@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. |
Ce qui m'étonne c'est que je suis reparti de |
…es-deletion-async flake8
@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
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