Skip to content

Add libpython run dependency for Python 3.14 on Windows - #262

Closed
antonwolfy wants to merge 2 commits into
mainfrom
libpython-win-py314
Closed

Add libpython run dependency for Python 3.14 on Windows#262
antonwolfy wants to merge 2 commits into
mainfrom
libpython-win-py314

Conversation

@antonwolfy

Copy link
Copy Markdown
Collaborator

Summary

Adds libpython # [win and py>=314] to the run requirements in conda-recipe-cf/meta.yaml.

Background

conda-forge python-feedstock PR #894 split the shared Python library into a separate libpython output, and PR #907 relocated python*.dll from the python package into libpython on Windows for Python 3.14+.

The _ufuncs/_patch_numpy extension modules link python314.dll (unavoidable on Windows), and neither the python nor libpython output carries a run-export that credits it, so libpython must be declared explicitly. Without it the conda build fails the overlinking check on win_64_python3.14.

Scoped to [win and py>=314]: the libpython shared-library output exists only for Python 3.14+; on 3.13 and earlier python313.dll is still shipped inside the python package, so those builds are unaffected.

This mirrors the corresponding conda-forge feedstock change (conda-forge/mkl_umath-feedstock#4).

conda-forge python-feedstock moved python*.dll out of the python package
into the separate libpython package for Python 3.14+ on Windows. The
extension modules link python314.dll, so libpython must be declared in
run, scoped to [win and py>=314].
@antonwolfy

Copy link
Copy Markdown
Collaborator Author

Not needed as it was resolved in the python feedstock

@antonwolfy antonwolfy closed this Aug 31, 2026
@antonwolfy
antonwolfy deleted the libpython-win-py314 branch August 31, 2026 19:34
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