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

Dockerfiles for Python 3.12 do not successfully build #135

Closed
TaperChipmunk32 opened this issue Oct 29, 2024 · 5 comments
Closed

Dockerfiles for Python 3.12 do not successfully build #135

TaperChipmunk32 opened this issue Oct 29, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@TaperChipmunk32
Copy link
Collaborator

TaperChipmunk32 commented Oct 29, 2024

In the changes I made in this PR, the dockerfile and dockerfile.cpu_only no longer build successfully after updating to Python 3.12.

It seems to be related to this issue in poetry and can be fixed by adding urllib3 = "<2" to pyproject.toml

@TaperChipmunk32 TaperChipmunk32 added the bug Something isn't working label Oct 29, 2024
@TaperChipmunk32 TaperChipmunk32 self-assigned this Oct 29, 2024
@johnml1135
Copy link
Collaborator

It's something wierder. I can take a look at it @TaperChipmunk32 is you would like.

@johnml1135 johnml1135 self-assigned this Oct 30, 2024
@TaperChipmunk32
Copy link
Collaborator Author

It's something wierder. I can take a look at it @TaperChipmunk32 is you would like.

Go for it. I couldn't quite figure it out today.

@TaperChipmunk32 TaperChipmunk32 removed their assignment Oct 30, 2024
@johnml1135
Copy link
Collaborator

You will also need to make sure that you update all of your NVIDIA drivers to support CUDA 2.6.
You will also need to make sure that you update your clearml.conf file to have:

pip_version: ["<20.2 ; python_version < '3.10'", "<22.3 ; python_version >= '3.10' and python_version <= '3.11'", ">=23,<24.3 ; python_version >= '3.12'"]

@TaperChipmunk32
Copy link
Collaborator Author

You will also need to make sure that you update all of your NVIDIA drivers to support CUDA 2.6. You will also need to make sure that you update your clearml.conf file to have:

pip_version: ["<20.2 ; python_version < '3.10'", "<22.3 ; python_version >= '3.10' and python_version <= '3.11'", ">=23,<24.3 ; python_version >= '3.12'"]

Where in clearml.conf is this needed, and can you add it to your PR with the other docker changes?

@johnml1135
Copy link
Collaborator

It is needed on the servers themselves (cheetah, aqua, etc.). If they are using the most recent clearML agent, it should be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants