Skip to content

win: ship python3t.dll and python3t.lib in GIL-enabled builds - #937

Merged
isuruf merged 1 commit into
conda-forge:mainfrom
serjflint:win-gil-python3t
Sep 28, 2026
Merged

isuruf merged 1 commit into
conda-forge:mainfrom
serjflint:win-gil-python3t

Conversation

@serjflint

Copy link
Copy Markdown
Contributor

Fixes #934.

GIL-enabled 3.15 builds already produce python3t.dll, a forwarder to python315.dll, but only the free-threaded build copied it into the package. The shipped pyconfig.h auto-links python3t.lib under Py_TARGET_ABI3T, so this fixes building abi3t extensions as well as loading them.

It goes next to python315.dll, as in the nuget layout. The MSI uses abi3t-compat\ only because it can mix GIL and free-threaded builds in one folder, which a conda env can't.

Extensions built for both abi3 and abi3t (PEP 803) link python3t.dll,
which the GIL-enabled package did not ship, so they failed to import.
The build already produces it as a forwarder to python3XY.dll.

Fixes conda-forge#934
@conda-forge-admin

Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipe/meta.yaml:

  • ℹ️ The recipe is not parsable by parser conda-souschef (grayskull). This parser is not currently used by conda-forge, but may be in the future. We are collecting information to see which recipes are compatible with grayskull.
  • ℹ️ The recipe is not parsable by parser conda-recipe-manager. The recipe can only be automatically migrated to the new v1 format if it is parseable by conda-recipe-manager.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/36233116644. Examine the logs at this URL for more detail.

@isuruf
isuruf merged commit 5c4f7ae into conda-forge:main Sep 28, 2026
31 checks passed
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.

win: GIL-enabled builds don't ship python3t.dll, breaking abi3t extensions

3 participants