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

Add support for Python 3.13 #177

Open
aktech opened this issue Nov 25, 2024 · 5 comments
Open

Add support for Python 3.13 #177

aktech opened this issue Nov 25, 2024 · 5 comments

Comments

@aktech
Copy link

aktech commented Nov 25, 2024

Python 3.13 was released on October 7, 2024. It would be great to have support for Python 3.13.

We use conda-project in jhub-apps and conda-project's lack of 3.13 support is preventing us from supporting 3.13 for jhub-apps.

@AlbertDeFusco
Copy link
Contributor

I'll add to the test matrix

@AlbertDeFusco
Copy link
Contributor

Actually, I'm not certain I understand your request. As far as I can tell Python 3.13 is not supported as a conda base env. Is that what you need for jhub-apps?

This will not solve today, and I think this is the conda PR to follow: conda/conda#14187

❯ conda create --dry-run python=3.13 conda

@AlbertDeFusco
Copy link
Contributor

I see. You're using micromamba. I'll add tests with micromamba and if things look ok with Python 3.13 I'll patch the package on conda-forge

@AlbertDeFusco
Copy link
Contributor

Wait! micromamba won't add an executable called conda. I'm more confused now. Could you help me understand how jhub-apps wants to use conda-project? And if you're using micromamba how do tests pass for Python <3.13?

@aktech
Copy link
Author

aktech commented Nov 26, 2024

We use conda-project's python interface to parse conda-project.yml file to fetch meta data to create apps:
Example file https://github.com/nebari-dev/jhub-apps-from-git-repo-example/blob/main/conda-project.yml

https://github.com/nebari-dev/jhub-apps/blob/badcc92464d2526650059a7d505edc0e5133d787/jhub_apps/service/app_from_git.py#L100

And if you're using micromamba how do tests pass for Python <3.13?

Yes we use micromamba to install python environment in the CI including dependencies like conda-project, since conda-project python package works in python <3.13, it works fine for us so far.

We plan to use conda-project more extensively in jhub-apps in future, like using the command feature, environment creation but not at the moment.

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