Skip to content

Commit 0562dbd

Browse files
authored
Merge pull request #83 from raphaelreinauer/add-python-311-support
Add python 311 and 312 support
2 parents c3a2343 + 2326904 commit 0562dbd

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
os: [ubuntu-latest, windows-latest, macos-latest]
14-
python-version: [3.8, 3.9, '3.10', '3.11']
14+
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
1515
include:
1616
- os: ubuntu-latest
1717
path: ~/.cache/pip
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v2
2525

2626
- uses: actions/setup-python@v2
27-
name: Install Python-${{ matrix.python-version }}
27+
name: Install Python-${{ matrix.python-version }}
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030

.github/workflows/wheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
env:
2121
# Specify which Python versions to build wheels
2222
# https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
23-
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-*"
24-
# Skip 32 bit architectures, musllinux, and i686, and macOS x86_64 wheels for CP3.8 -- CP3.11
25-
CIBW_SKIP: "*-win32 *-musllinux_x86_64 *_i686 cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64"
23+
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
24+
# Skip 32 bit architectures, musllinux, and i686, and macOS x86_64 wheels for CP3.8 -- CP3.12
25+
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"
2626
CIBW_BEFORE_BUILD_WINDOWS: sed -i $'s/\r$//' README.rst && python -m pip install delvewheel
2727
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -vv -w {dest_dir} {wheel}"
2828
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
29-
# Should generate universal2 wheels for CP3.8 -- CP3.11
29+
# Should generate universal2 wheels for CP3.8 -- CP3.12
3030
CIBW_ARCHS_MACOS: x86_64 universal2
3131

3232
- name: Set-up python 3.10 for upload

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Dependencies
3434

3535
``pyflagser`` requires:
3636

37-
- Python (>= 3.7)
37+
- Python (>= 3.8)
3838
- NumPy (>= 1.17.0)
3939
- SciPy (>= 0.17.0)
4040

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
'Programming Language :: Python :: 3.8',
5050
'Programming Language :: Python :: 3.9',
5151
'Programming Language :: Python :: 3.10',
52-
'Programming Language :: Python :: 3.11']
52+
'Programming Language :: Python :: 3.11',
53+
'Programming Language :: Python :: 3.12']
5354
KEYWORDS = 'topological data analysis, persistent ' + \
5455
'homology, directed flags complex, persistence diagrams'
5556
INSTALL_REQUIRES = requirements

0 commit comments

Comments
 (0)