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

Make Catanatron Python 3.12 Ready #300

Open
bcollazo opened this issue Jan 13, 2025 · 3 comments
Open

Make Catanatron Python 3.12 Ready #300

bcollazo opened this issue Jan 13, 2025 · 3 comments

Comments

@bcollazo
Copy link
Owner

It seems "distutils package is removed in python version 3.12" and Catanatron depended on that.

See: https://stackoverflow.com/questions/69919970/no-module-named-distutils-util-but-distutils-installed, https://docs.python.org/3.12/whatsnew/3.12.html, and https://peps.python.org/pep-0632/#migration-advice for more information.

Right now it seems users that use 3.12 from the get-go get errors like:

    import distutils.core
ModuleNotFoundError: No module named 'distutils'

It'd be nice to include these in the CI/CD as well.

@pachewise
Copy link
Contributor

Hmm, I don't see a reference to distutils in the catanatron code; more than likely, one or more of the deps needs to be upgraded to support 3.12.

@pachewise
Copy link
Contributor

Somewhat related, I see this paperspace Dockerfile pointing to 3.8. Should this ticket include updating that Dockerfile? Or is it not used and can be deleted?

@bcollazo
Copy link
Owner Author

Got it, makes sense. For now, we can keep around the Paperspace Dockerfile around even if with an old version of Python in case someone wants to GPU train in the cloud. Let's leave this ticket to just ensure the main instructions on the readme / installing the catanatron-play CLI in a Python 3.12 virtual environment works like a charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants