Skip to content

Tracker: free-threaded Python support #7464

Open

Description

@andfoy

This tracking issue aims to collect all the issues and PRs related for the upcoming free-threaded CPython 3.13 (a.k.a. "no-GIL") builds. Until now, as of #7463 all the test suite is passing.

Right now, as per #7463 (comment), there are no concurrency tests for scikit-image. Mainly, such tests should target functions or classes that declare shared state constructs that may mutate under concurrent access.

We invite the community and maintainers with extensive knowledge of the project to highlight the existence of any potential thread-safety issues that currently exist.

Here are some resources that might be useful in the context of free-threaded Python

Pull Requests

Activity

  1. added
    🔍 Monitor
    🤖 type: Infrastructure
    on Jul 13, 2024
  2. ngoldbaum commented on Oct 30, 2024

    @ngoldbaum
    Contributor

    It looks like cp313t wheels weren't uploaded along with the 0.25.0 RC on pypi. Is there some CI wrangling that needs to happen to get that set up? Also what about Linux and Mac nightlies?

  3. lagru commented on Feb 4, 2025

    @lagru
    Member

    I'm guessing @jarrodmillman skipped that on purpose in 07db769 during the release. Not sure why.

    @jarrodmillman, @stefanv, do we want to include #7575 in the next patch release for 0.25?

  4. stefanv commented on Feb 4, 2025

    @stefanv
    Member

    An oversight, I think, we should ship those wheels too.

  5. adamjstewart commented on Dec 14, 2025

    @adamjstewart
    Contributor

    0.26.0rc1 has 3.13t wheels for macOS but not 3.14t? And none for macOS arm64?

  6. lagru commented on Dec 16, 2025

    @lagru
    Member

    I think that's because the wheel building picked up 3.14.1 which has a known issue (python/cpython#142214, similar to networkx/networkx#8362). Our workflow still seems to pick up 3.14.1 even though 3.14.2 should be available with the fix. Still investigating.

  7. lagru commented on Dec 16, 2025

    @lagru
    Member

    Seems to have "fixed itself". For example the most recent nightly wheel lacks this error. The only outstanding one is the flaky test test_wrap_around tracked in #7964.

  8. ngoldbaum commented on Feb 18, 2026

    @ngoldbaum
    Contributor

    I noticed that the GIL is getting re-enabled due to a problem in the meson cython C++ configuration. See #8059. Once that is fixed I'll look at adding pytest-run-parallel CI tests and do a thread sanitizer pass.

  9. ngoldbaum commented on Mar 11, 2026

    @ngoldbaum
    Contributor

    I opened #8065 and #8084, which should enable pytest-run-parallel testing of the full scikit-image API. I think both PRs are ready from my end.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔍 Monitor🤖 type: Infrastructure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions