Skip to content

Commit 27b02b5

Browse files
committed
change in pypro; revert wheels
1 parent 71701ff commit 27b02b5

2 files changed

Lines changed: 2 additions & 15 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,9 @@ jobs:
4848
with:
4949
python-version: '3.13'
5050
- run: pip install cibuildwheel==2.23.0
51-
52-
################################################################
53-
# Set up envvars to build the correct wheel (stable ABI or not)
54-
################################################################
55-
- name: Prepare cibuildwheel environment (UNIX)
56-
if: ${{ runner.os != 'Windows' }}
57-
run: |
58-
echo "CIBW_BUILD=${{ matrix.pybuilds }}-*" >> $GITHUB_ENV
59-
60-
- name: Prepare cibuildwheel environment (Windows)
61-
if: ${{ runner.os == 'Windows' }}
62-
run: |
63-
echo "CIBW_BUILD=${{ matrix.pybuilds }}-*" >> $env:GITHUB_ENV
64-
6551
- run: python -m cibuildwheel --output-dir wheelhouse
6652
env:
53+
CIBW_BUILD: "${{ matrix.pybuilds }}-*" # Use matrix.pybuilds and matrix.arch
6754
CIBW_ARCHS_MACOS: ${{ matrix.arch }}
6855
CIBW_SKIP: "cp*-manylinux_i686 cp*-musllinux* cp*-win32"
6956
- name: Upload Artifact

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ minimum-version = "build-system.requires"
4040
build-dir = "build/{wheel_tag}"
4141

4242
# Build stable ABI wheels for CPython 3.12+
43-
wheel.py-api = "cp312"
43+
wheel.py-api = false
4444

4545
[tool.scikit-build.cmake]
4646
build-type = "Release"

0 commit comments

Comments
 (0)