Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf6cf7ad

Browse files
committed
MNT: Enable wheels for Python 3.12
1 parenta4dca24 commitf6cf7ad

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

‎.github/workflows/cibuildwheel.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,20 @@ jobs:
135135
name:sdist
136136
path:dist/
137137

138+
-name:Build wheels for CPython 3.12
139+
uses:pypa/cibuildwheel@39a63b5912f086dd459cf6fcb13dcdd3fe3bc24d# v2.15.0
140+
with:
141+
package-dir:dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
142+
env:
143+
CIBW_BUILD:"cp312-*"
144+
CIBW_ARCHS:${{ matrix.cibw_archs }}
145+
# Remove this once NumPy with Python 3.12 wheels is not pre-release.
146+
CIBW_BEFORE_BUILD:>-
147+
pip install certifi 'pybind11>=2.6' 'setuptools>=42' 'setuptools_scm>=7' &&
148+
pip install --pre 'numpy>=1.25' &&
149+
rm -rf {package}/build
150+
CIBW_ENVIRONMENT:PIP_NO_BUILD_ISOLATION=0
151+
138152
-name:Build wheels for CPython 3.11
139153
uses:pypa/cibuildwheel@39a63b5912f086dd459cf6fcb13dcdd3fe3bc24d# v2.15.0
140154
with:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp