Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit b45ef3f

Browse files
committed
Revert README changes
1 parent f3b2d31 commit b45ef3f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,26 @@ This action provides the following functionality for GitHub Actions users:
1111
- Optionally caching dependencies for pip, pipenv and poetry
1212
- Registering problem matchers for error output
1313

14+
# Free-threaded Python Support
15+
16+
This is a fork of the "official" setup-python GitHub Action. We made this
17+
available to allow setting up CI with free-threaded Python while we wait for
18+
official [upstream
19+
support](https://github.com/actions/setup-python/issues/771). Hopefully, [coming
20+
soon](https://github.com/actions/setup-python/issues/771#issuecomment-2490607417).
21+
22+
## Caveats
23+
24+
Since setup-python relies on the Python.org installers, the [limitations](https://github.com/python/cpython/issues/127294#issuecomment-2501787837) related to installing free-threaded Python on Windows are also present here.
25+
26+
In particular, if you install both a free-threaded and standard build of Python
27+
(e.g. both versions `3.13` and `3.13t`) in the same Actions environment, only
28+
one of the specified versions [will end up installed on the
29+
runner](https://github.com/Quansight-Labs/setup-python/issues/5#issue-2714826484).
30+
31+
To work around this limitation, we suggest ensuring that any CI runs using the
32+
free-threaded build on Windows only activate one Python version.
33+
1434
## Basic usage
1535

1636
See [action.yml](action.yml)

0 commit comments

Comments
 (0)