-
-
Notifications
You must be signed in to change notification settings - Fork 18k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include cibw script in sdist & add matrix value for build frontend
- Loading branch information
1 parent
7e87966
commit e16f34c
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,6 +100,13 @@ jobs: | |
- [windows-2022, win_amd64] | ||
# TODO: support PyPy? | ||
python: [["cp310", "3.10"], ["cp311", "3.11"], ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"]] | ||
include: | ||
# 'pip' is the default | ||
- cibw_build_frontend: pip | ||
# TODO: Remove this and installing build deps in cibw_before_build.sh | ||
# after NumPy can be built with a released Cython | ||
- python: ["cp313t", "3.13"] | ||
cibw_build_frontend: 'pip; args: --no-build-isolation' | ||
exclude: | ||
- buildplat: [windows-2022, win_amd64] | ||
python: ["cp313t", "3.13"] | ||
|
@@ -142,13 +149,6 @@ jobs: | |
shell: bash -el {0} | ||
run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV" | ||
|
||
# TODO: Remove this and installing build deps in cibw_before_build.sh | ||
# after NumPy can be built with a released Cython | ||
- name: Define CIBW_BUILD_FRONTEND environment variable | ||
if: ${{ matrix.python[0] == 'cp313t' }} | ||
run: | | ||
echo -e 'CIBW_BUILD_FRONTEND="pip; args: --no-build-isolation"' >> "$GITHUB_ENV" | ||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
with: | ||
|
@@ -157,6 +157,7 @@ jobs: | |
CIBW_PRERELEASE_PYTHONS: True | ||
CIBW_FREE_THREADED_SUPPORT: True | ||
CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }} | ||
CIBW_BUILD_FRONTEND: ${{ matrix.cibw_build_frontend }} | ||
|
||
- name: Set up Python | ||
uses: mamba-org/setup-micromamba@v1 | ||
|
This file contains 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