From de1258f72459a9c6f7b9b3ef5dfe642ca0f8619a Mon Sep 17 00:00:00 2001 From: Anexen Date: Mon, 9 Oct 2023 09:21:43 +0200 Subject: [PATCH] python 3.12 --- .github/workflows/ci.yaml | 18 ++++++++++-------- pyproject.toml | 3 ++- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4c36cff..366a957 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -73,7 +73,7 @@ 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 @@ -81,21 +81,21 @@ jobs: 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 @@ -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 @@ -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 @@ -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: diff --git a/pyproject.toml b/pyproject.toml index eb1896c..559f7ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", @@ -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)", ]