Skip to content

Conversation

@jjhelmus
Copy link

@jjhelmus jjhelmus commented Jun 6, 2024

  • Update the recipe to the first beta of Python 3.13.0.
  • Refresh patches.
  • Add support for building a no-GIL/free-threading variant via the gil_type variable in conda_build_config.yaml.

jjhelmus added 13 commits May 10, 2024 14:14
Add a no-GIL/free-threading Python build to the build_base.sh and
build_static.sh files. This variant uses a different Python ABI
(suffixed with a 't') and is controlled by the PY_GIL_DISABLED
environment variable.

Setting PY_GIL_DISABLED to "yes" will build a free-threading or no-GIL
Python interpreter.
Free-threading or no-GIL builds of Python can be configured by adding:

```
gil_type:
  - disabled
```

to conda_build_config.yaml. Other values will result in a normal build
with the GIL enabled.
When testing for the statis library in the libpython-static package,
include the no-GIL abi tag (t) when no-gil is configured.
See TODO note in meta.yaml for details
Use a patch to disable two tests that fail when building an optimized
no-GIL variant.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant