-
Notifications
You must be signed in to change notification settings - Fork 62
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
Disutils is deprecated in Python 3.12 #307
Comments
Hi @RRosio, I would like to start to get involved in some Jupyter work, would this be a good one to take on? |
Hi @danyeaw thank you for your interest in taking this on! That would be great! I think this is an important issue for I'd be happy to assist with anything you need, whether that is testing, review or if this ends up being a series of changes, I'd be happy to help out with those along the way! |
I'm thinking we can do this in a few steps:
|
I started looking at his a bit today. hatch-jupyter-builder can do a lot of the migration automatically from setup.py to pyproject.toml. However, our setup.py has custom It looks like to get rid of those, we could move them in to npm scripts as a build tool. So to build the notebook app, we could run |
I opened a pull request yesterday to migrate to using |
See https://docs.python.org/3.10/whatsnew/3.10.html#distutils
nbclassic
depends on distutils to build:nbclassic/setup.py
Lines 72 to 97 in 9ae4cb1
This means, in Python 3.13 (released last week), using the
setup.py
to build nbclassic will fail.Can we try:
The text was updated successfully, but these errors were encountered: