From c9b12c4794046ae1406e1a66941937a64417bfd5 Mon Sep 17 00:00:00 2001 From: Bertrand Coconnier Date: Sun, 3 Sep 2023 15:20:17 +0200 Subject: [PATCH] Build wheels for Python 3.12 and PyPy 3.10 --- .github/workflows/cpp-python-build.yml | 6 +++--- python/pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cpp-python-build.yml b/.github/workflows/cpp-python-build.yml index 33a6e4d95a..ac37cfa711 100644 --- a/.github/workflows/cpp-python-build.yml +++ b/.github/workflows/cpp-python-build.yml @@ -600,7 +600,7 @@ jobs: run: brew install doxygen - name: Install Doxygen (Windows) if: runner.os == 'Windows' - run: cinst doxygen.install + run: choco install doxygen.install - name: Configure Doxygen run: | # We don't want Doxygen to generate the HTML docs in this job (saves time) @@ -643,7 +643,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 @@ -656,7 +656,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 f50c4f0921..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-* cp311*" +select = "pp39-* pp310-* cp311* cp312*" manylinux-x86_64-image = "manylinux2014" manylinux-i686-image = "manylinux2014"