Skip to content

Commit

Permalink
Merge pull request #10 from software-mansion-labs/tomaszkumor/add_sup…
Browse files Browse the repository at this point in the history
…port_python3.12

Add support for python 3.12 on windows
  • Loading branch information
tkumor3 authored Feb 12, 2024
2 parents 7e12504 + e7d66b2 commit 1088ea4
Show file tree
Hide file tree
Showing 6 changed files with 223 additions and 247 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest", "macos-11", "macos-12", "windows-latest" ]
os: [ "ubuntu-latest", "macos-12", macos-13, macos-14, "windows-latest" ]
python-version: [ "3.11" ]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -31,23 +31,27 @@ jobs:
platforms: all

- name: Install cibuildwheel
run: python -X utf8 -m pip install cibuildwheel==2.12.0

- name: Set macos-11 deployment target
if: matrix.os == 'macos-11'
run: echo "MACOSX_DEPLOYMENT_TARGET=11.0" >> $GITHUB_ENV
run: python -X utf8 -m pip install cibuildwheel==2.16.5

- name: Set macos-12 deployment target
if: matrix.os == 'macos-12'
run: echo "MACOSX_DEPLOYMENT_TARGET=12.0" >> $GITHUB_ENV

- name: Set macos-13 deployment target
if: matrix.os == 'macos-13'
run: echo "MACOSX_DEPLOYMENT_TARGET=13.0" >> $GITHUB_ENV

- name: Set macos-14 deployment target
if: matrix.os == 'macos-14'
run: echo "MACOSX_DEPLOYMENT_TARGET=14.0" >> $GITHUB_ENV

- name: Build wheels
run: python -X utf8 -m cibuildwheel --output-dir wheelhouse
env:
CIBW_ARCHS: all
CIBW_BUILD_FRONTEND: "build"
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-*
CIBW_SKIP: '*i686 cp39-win_arm64 cp310-win_arm64 cp311-win_arm64'
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-*
CIBW_SKIP: '*i686 cp39-win_arm64 cp310-win_arm64 cp311-win_arm64 cp312-win_arm64'
CIBW_ARCHS_MACOS: "universal2"
CMAKE_OSX_ARCHITECTURES: "arm64;x86_64"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest", "macos-11", "macos-12", "windows-latest" ]
os: [ "ubuntu-latest", "macos-12", "macos-13", "macos-14", "windows-latest" ]
python-version: [ "3.11" ]
defaults:
run:
Expand Down
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ They can be found in *poseidon_params.txt*.
Changelog
=========

Version 0.1.4 (2024-02-12)
--------------------------

* Add support for Windows (Python 3.12)

Version 0.1.3 (2023-04-27)
--------------------------

Expand Down
Loading

0 comments on commit 1088ea4

Please sign in to comment.