Skip to content

Commit

Permalink
Add wheels for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoconni committed Sep 2, 2023
1 parent b2d8409 commit 6ce49b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cpp-python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ jobs:
Copy-Item -Path .\JSBSim-*\jsbsim\*.pyi -Destination ..\..\build\python\jsbsim
echo "::endgroup::"
- name: Build wheels
uses: pypa/cibuildwheel@v2.14
uses: pypa/cibuildwheel@v2.15
env:
CIBW_BEFORE_ALL_LINUX: |
cd build
Expand All @@ -627,7 +627,7 @@ jobs:
cmake -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_C_FLAGS_RELEASE="-g -O2 -DNDEBUG -fno-math-errno" -DCMAKE_CXX_FLAGS_RELEASE="-g -O2 -DNDEBUG -fno-math-errno" -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --target libJSBSim -- -j3
CIBW_ARCHS_MACOS: x86_64 universal2
CIBW_SKIP: cp*-musllinux_* cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64
CIBW_SKIP: cp*-musllinux_* cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64 cp312-macosx_x86_64
CIBW_ARCHS_WINDOWS: native
JSBSIM_BUILD_CONFIG: RelWithDebInfo
with:
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ manylinux-i686-image = "manylinux2010"
skip = "cp*-musllinux_*"

[[tool.cibuildwheel.overrides]]
select = "pp39-* pp310-* cp311*"
select = "pp39-* pp310-* cp311* cp312*"
manylinux-x86_64-image = "manylinux2014"
manylinux-i686-image = "manylinux2014"

0 comments on commit 6ce49b6

Please sign in to comment.