From 6ce49b6a4a060fb92556388f7a85b3bc3860ddbf Mon Sep 17 00:00:00 2001 From: Bertrand Coconnier Date: Sat, 26 Aug 2023 22:58:04 +0200 Subject: [PATCH] Add wheels for Python 3.12 --- .github/workflows/cpp-python-build.yml | 4 ++-- python/pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cpp-python-build.yml b/.github/workflows/cpp-python-build.yml index 72fa484344..cf53f4b8a6 100644 --- a/.github/workflows/cpp-python-build.yml +++ b/.github/workflows/cpp-python-build.yml @@ -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 @@ -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: diff --git a/python/pyproject.toml b/python/pyproject.toml index a30ddab5d5..cf13f35147 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -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"