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

Switch to Python 3.13 #2163

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

Conversation

mathbunnyru
Copy link
Member

Describe your changes

Issue ticket if applicable

Checklist (especially for first-time contributors)

  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests
  • I will try not to use force-push to make the review process easier for reviewers
  • I have updated the documentation for significant changes

@mathbunnyru
Copy link
Member Author

mathbunnyru commented Oct 23, 2024

I don't plan to merge this now, but let's see how many things are broken

@mathbunnyru
Copy link
Member Author

mathbunnyru commented Oct 23, 2024

We depend on updating mamba to v2:
#2147

#15 9.104 error    libmamba Could not solve for environment specs
#15 9.104     The following packages are incompatible
#15 9.104     ├─ mamba <2.0.0 is installable with the potential options

@mathbunnyru mathbunnyru added the tag:Upstream A problem with one of the upstream packages installed in the docker images label Oct 23, 2024
@mathbunnyru
Copy link
Member Author

If you are interested in making Python 3.13 work for these images, please help conda-forge to build missing packages, here is the current progress: https://conda-forge.org/status/migration/?name=python313

@mathbunnyru
Copy link
Member Author

Python 3.13.1 has been released, so we're waiting for the packages to be compatible with 3.13.
When tests pass, I will merge this, but I have no idea if it will be soon.

@mathbunnyru
Copy link
Member Author

mathbunnyru commented Feb 20, 2025

The upstream PR to build conda for python3.13 in conda-forge has been merged 🎉
conda-forge/conda-feedstock#258

Let's see if everything else builds now (or if something fails)

@mathbunnyru
Copy link
Member Author

mathbunnyru commented Feb 20, 2025

Ok, there are 3 upstream issues:

  1. TensorFlow doesn't support Python 3.13: It doesn't support on python3.13 tensorflow/tensorflow#78774
    It seems that no one answers when the support will be added, unfortunately.
  2. We install pinned version of pandas for spark-related images.
    v4.0.0-rc1 tag and GitHub release has been created, but no binaries are available on https://dlcdn.apache.org/spark/. This version already uses last pandas 2.2.3, which already works with python 3.13 in conda-forge.
    So, we're waiting for new binaries to become available.
  3. rpy2: Waiting for Rebuild for python 3.13 conda-forge/rpy2-feedstock#127, but more for rpy2 v3.5.17 conda-forge/rpy2-feedstock#128

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag:Upstream A problem with one of the upstream packages installed in the docker images
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant