Repository navigation
Conversation
crossenv only supports unix build machines, so on Windows a .bat activation and sitecustomize.py point PYTHON, setuptools, pip and pyo3 at the target, and an x64 launcher shim stands in for the arm64 host python.exe.
…2026.11.05.10.09.12 Other tools: - conda-build 26.9.1 - rattler-build 0.80.0 - rattler-build-conda-compat 1.4.23
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 ( |
1 task done
Author
|
@conda-forge-admin, please restart ci |
Author
|
@conda-forge-admin, please restart ci |
Author
|
@conda-forge-admin, please restart ci |
4 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
0(if the version changed)conda-smithy(Use the phrase@conda-forge-admin, please rerenderin a comment in this PR for automated rerendering)Adds
cross-python_win-arm64, built on win-64, for python 3.14/3.14t/3.15/3.15t.Follow-up to #103
Closes: #95
crossenv is unix-only, so on Windows:
build.shruns under m2-bash.batactivation setsPYTHON,VSCMD_ARG_TGT_ARCH,SETUPTOOLS_EXT_SUFFIX,DIST_EXTRA_CONFIG,PIP_PREFIXandPYO3_CROSS_*; deactivation restores themsitecustomize.pymakes the build python reportwin-arm64and the targetEXT_SUFFIX${{ PYTHON }}renders to%PREFIX%\python.exe, which is the arm64 host python and cannot run on x64.Activation swaps in a small x64 launcher shim that forwards to
%BUILD_PREFIX%\python.exe, keeping the original inBUILD_PREFIXso it is not packaged downstream.The win tests cover activation/deactivation, wheel tags,
clemitting ARM64 objects, and the launcher shim.Checked on my fork with a downstream build: https://github.com/MementoRC/cross-python-feedstock/actions/runs/42275866247
a C extension cross-built via
${{ PYTHON }} -m pip install .gives a package with only an ARM64.pyd(no leakedpython.exe), and it imports natively onwindows-11-arm.The
linux_* -> osx-*lanes failed withUnsupported SDK version (2.17)/(2.39)on the first run. That was caused by conda-forge-ci-setup (conda-forge/conda-forge-ci-setup-feedstock#450), not by this PR: it fell back to the glibcc_stdlib_versionwhencross_target_platformisosx-*. It is fixed in conda-forge-ci-setup 4.32.1 (conda-forge/conda-forge-ci-setup-feedstock#456), and these lanes now pass.