Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.12 #699

Merged
merged 2 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion gtda/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
# 'X.Y.dev0' is the canonical version of 'X.Y.dev'
#

__version__ = "0.6.1"
__version__ = "0.6.2"
Loading