ansible / ansible/pylibssh

📦 Builid, test and publish free-threaded wheels to PyPI

Open
#822 2 comments 0 reactions 0 assignees View on GitHub
🤖 infra enhancement help wanted
Dominant language
Cython
Stars
79
Forks
47
Avg merge
1d 11h
Merged PRs (30d)
6

Description

##### SUMMARY

There are two stable major CPython versions with the ability to run with with GIL disabled. The ecosystem is moving towards adapting their code bases to support this. This mainly concerns projects with C-extensions, like this one. This is important because it (1) provides performance improvements but also (2) when a C-extension without FT support is loaded in a free-threaded runtime, GIL gets re-enabled affecting all the other software in the same process that might already support it.

##### ISSUE TYPE
- Feature Idea

##### ADDITIONAL INFORMATION

* https://py-free-threading.github.io/porting/
* https://py-free-threading.github.io/porting-extensions/#__tabbed_1_2
* https://py-free-threading.github.io/faq/#what-does-runtimewarning-the-global-interpreter-lock-gil-has-been-enabled-mean
* https://py-free-threading.github.io/tracking
* https://hugovk.github.io/free-threaded-wheels/
* https://youtu.be/7azKz3YP7eA
* https://cython.rtfd.io/en/latest/src/userguide/freethreading.html

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the free-threading porting and C-extension guidance linked in the issue, then inspect the project's existing wheel build and test entry points. The work is done when free-threaded wheels are built and tested for the supported CPython versions and published to PyPI without re-enabling the GIL.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.