-
Notifications
You must be signed in to change notification settings - Fork 14
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
Upgrade jupyterhub-singleuser custom image deps so it can build w/ Python 3.11 #3352
Comments
@themightychris have you tried updating the Python version in the pyproject.toml file? That might be enough to fix, but there may also be additional package version changes needed with the Python upgrade. |
@mjumbewu good catch, after changing that line to |
@themightychris Ooh, looks like the |
Yep, it's pinned. That will have to be updated and pushed up to PyPI. |
We'll run into the same issue for |
@mjumbewu yep just spotted that, already on it :-) |
Yea i'm testing out different combos - building it on my local mac using docker. Right now i'm running into a dask 2022 not working with python 3.11. Also dask seems to be both in the calitp-data-analysis package as well as the base jupyter-single-user-image. I'm not sure why. Tiffany says dask wasn't working when it was just in the image, "dependencies needed weren't getting installed / weren't passing tests," they needed to install it to the package I propopse we remove it from the caltip-data-analysis package and just trying to have the requirements in the jupyter-single-user-image for now. The higher dask version. Then assuming we get this image working, can test out dask, and install the packages back in and test later. |
OOf except calitp-data-analysis doesn't like that: |
Okay a version of the image is complete: |
After upgrading JupyterHub, we need to upgrade our custom docker image to incorporate the latest jupyterhub library. It appears that this dependency comes is as part of the
jupyter/datascience-notebook
base image we use. In #3350 I upgraded it from:python-3.9
to the latest:python-3.11.6
since the:python-3.9
tag hasn't been updated in over 2 years, but now the image fails to build:To reproduce locally, check out the latest
main
branch and:It appears that some poetry work will need to be done to upgrade dependencies to be compatible with Python 3.11
The text was updated successfully, but these errors were encountered: