Update Python using Poetry (Issue #1413)
Reviewers`
@Didayolo,
@ihsaan-ullah`
Summary
Meant to transition us to poetry from pip dependency management. I only upped the python version to 3.9 and not even for all Dockerfiles. I ran into issues using python3.10. There are too many changes in a variety of packages. I think the only real way to do this is one package at a time and slowly over time bump up the python. For now I really just switched us to poetry from pip but kept the same packages versions. I think I changed one called ipdb and upgraded a bit because python 3.9 required it.
Dockerfiles updated:
- Dockerfile
docker build --no-cache -f Dockerfile -t codabench-django:latest ./
- Dockerfile.compute_worker
docker build --no-cache -f Dockerfile.compute_worker -t codabench-compute_worker:latest ./
- Dockerfile.compute_worker_gpu
docker build --no-cache -f Dockerfile.compute_worker_gpu -t codabench-compute_worker_gpu:latest ./
- Dockerfile.flower
docker build --no-cache -f Dockerfile.flower -t codabench-flower:latest ./
PS: Do we use Dockerfile.celery at all?
Issues this PR resolves
Checklist
-
Code review by me -
Hand tested by me -
I'm proud of my work -
Code review by reviewer -
Hand tested by reviewer -
CircleCi tests are passing -
Ready to merge