Skip to content

Commit

Permalink
Add Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelreinauer committed May 30, 2024
1 parent 520f98b commit 5d766dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
include:
- os: ubuntu-latest
path: ~/.cache/pip
Expand All @@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
name: Install Python-${{ matrix.python-version }}
name: Install Python-${{ matrix.python-version }}
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
######################
# Building package #
######################

- name: Build ${{ github.event.repository.name }} on Linux and MacOs
if: ${{ runner.os != 'Windows' }}
run: |
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
#############
# Testing #
#############

- name: Test package with pytest on Linux and Windows
if: ${{ runner.os == 'Linux' || runner.os == 'Windows' }}
run: |
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
######################
# Upload Artifacts #
######################

- name: Upload coverage for Mac
if: ${{ runner.os == 'macOS' }}
uses: actions/upload-artifact@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ jobs:
env:
# Specify which Python versions to build wheels
# https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-*"
# Skip 32 bit architectures, musllinux, and i686, and macOS x86_64 wheels for CP3.8 -- CP3.11
CIBW_SKIP: "*-win32 *-musllinux_x86_64 *_i686 cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64"
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
# Skip 32 bit architectures, musllinux, and i686, and macOS x86_64 wheels for CP3.8 -- CP3.12
CIBW_SKIP: "*-win32 *-musllinux_x86_64 *_i686 cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64 cp312-macosx_x86_64"
CIBW_BEFORE_BUILD_WINDOWS: python -m pip install --upgrade pip setuptools && sed -i $'s/\r$//' README.rst && python -m pip install delvewheel
CIBW_BEFORE_BUILD_LINUX: python -m pip install --upgrade pip setuptools
CIBW_BEFORE_BUILD_MACOS: python -m pip install --upgrade pip setuptools
Expand All @@ -88,7 +88,7 @@ jobs:
CIBW_ENVIRONMENT_PASS_LINUX: BOOST_ROOT
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -vv -w {dest_dir} {wheel}"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
# Should generate universal2 wheels for CP3.8 -- CP3.11
# Should generate universal2 wheels for CP3.8 -- CP3.12
CIBW_ARCHS_MACOS: x86_64 universal2

- name: Set-up python 3.10 for upload
Expand Down

0 comments on commit 5d766dd

Please sign in to comment.