Skip to content

Add Python 3.13 development wheel #29292

Closed

Description

@clin1234

Describe the workflow you want to enable

Based on #29280, building sklearn on Python 3.13 succeeds and running pytest also succeeds. I want to help enable building and uploading wheels supporting 3.13 on PyPI

Describe your proposed solution

Since I'm very new in looking at CI files for this project, find someone willing to explain how wheel-building is triggered on GH.

Describe alternatives you've considered, if relevant

No response

Additional context

No response

Activity

  1. added and removed
    Needs Triage
    on Jun 19, 2024
  2. lesteve commented on Jun 19, 2024

    @lesteve
    Member

    Thanks for the issue and your help proposal, This was something I was wondering about whether we want to do it.

    Can you say a few words about your use case out of interest, e.g. which kind of projects are you looking to test for, what kind of OS you are targeting, etc ...

    I think Numpy already has a Python 3.13 wheel, so we would first need Scipy to have a scipy 3.13 wheel. Last time I checked they don't have a one, see https://anaconda.org/scientific-python-nightly-wheels/scipy/files. Maybe look in Scipy issue tracker if they have already an issue about this? Note that cp313-cp313t are actually Python 3.13 free-threaded wheels, if you want standard Python you want cp313-cp313.

    Side-comment we should have soonish (~one hour) Python 3.13 free-threaded wheel, if https://github.com/scikit-learn/scikit-learn/actions/runs/9575818682 is successful 🤞 since I merged #29247.

    If you are really feeling adventurous and want to test Python 3.13 as fast as possible you can already set-up your testing using Python 3.13 free-threaded and set PYTHON_GIL=1. Note that you may bump into weird unexpected issues that are only present in Python 3.13 free-threaded and not Python 3.13 vanilla Python.

  3. changed the title [-]Add wheels for 3.13[/-] [+]Add Python 3.13 development wheel[/+] on Jun 19, 2024
  4. added 2 commits that reference this issue on Jun 19, 2024
    86efdfe
    cc66d93
  5. clin1234 commented on Jun 21, 2024

    @clin1234
    Author

    gh-21000 added 3.13 wheels builds; new nightlies are building now and should upload to https://anaconda.org/scientific-python-nightly-wheels/scipy/ in the next 30 minutes or so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions