Skip to content

Commit

Permalink
python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Anexen committed Oct 9, 2023
1 parent a68eacd commit de1258f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- version: '3.9'
- version: '3.10'
- version: '3.11'
# - version: '3.12'
- version: '3.12'
os:
- platform: ubuntu-latest
- platform: macos-latest
Expand All @@ -73,29 +73,29 @@ jobs:
if: matrix.os.platform == 'ubuntu-latest'
uses: messense/maturin-action@v1
with:
maturin-version: v1.0.1
maturin-version: v1.3.0
manylinux: auto
args: -i python${{ matrix.python.version }} --release --strip --sdist

- name: Build Wheels - MacOS [aarch64]
if: ${{ matrix.os.platform == 'macos-latest' && matrix.os.arch == 'aarch64' }}
uses: messense/maturin-action@v1
with:
maturin-version: v1.0.1
maturin-version: v1.3.0
args: -i python --release --target aarch64-apple-darwin --strip

- name: Build Wheels - MacOS [x86_64]
if: ${{ matrix.os.platform == 'macos-latest' && matrix.os.arch != 'aarch64' }}
uses: messense/maturin-action@v1
with:
maturin-version: v1.0.1
maturin-version: v1.3.0
args: -i python --release --target universal2-apple-darwin --strip

- name: Build Wheels - Windows
if: matrix.os.platform == 'windows-latest'
uses: messense/maturin-action@v1
with:
maturin-version: v1.0.1
maturin-version: v1.3.0
args: -i python --release --strip

- name: Upload wheels
Expand All @@ -121,6 +121,8 @@ jobs:
abi: 'cp310-cp310'
- version: '3.11'
abi: 'cp311-cp311'
- version: '3.12'
abi: 'cp312-cp312'
target: [aarch64, armv7, s390x, ppc64le, ppc64]
steps:
- uses: actions/checkout@v3
Expand All @@ -129,7 +131,7 @@ jobs:
env:
PYO3_CROSS_LIB_DIR: /opt/python/${{ matrix.python.abi }}/lib
with:
maturin-version: v1.0.1
maturin-version: v1.3.0
target: ${{ matrix.target }}
manylinux: auto
args: -i python3.9 --release --strip
Expand All @@ -155,10 +157,10 @@ jobs:
- name: Build Wheels - musl
uses: messense/maturin-action@v1
with:
maturin-version: v1.0.1
maturin-version: v1.3.0
target: ${{ matrix.target }}
manylinux: musllinux_1_2
args: --release --strip -i 3.7 3.8 3.9 3.10 3.11
args: --release --strip -i 3.7 3.8 3.9 3.10 3.11 3.12
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "pyxirr"
description-content-type = "text/markdown; charset=UTF-8; variant=GFM"
requires-python = ">=3.7,<3.12"
requires-python = ">=3.7,<3.13"
classifiers = [
"Development Status :: 4 - Beta",
"Topic :: Office/Business :: Financial",
Expand All @@ -12,6 +12,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: The Unlicense (Unlicense)",
]

Expand Down

0 comments on commit de1258f

Please sign in to comment.