From dbbfcf7a4902c50bb8ccd04e58df157d61f71509 Mon Sep 17 00:00:00 2001 From: Martin Troiber Date: Thu, 12 Oct 2023 18:45:52 +0200 Subject: [PATCH] Support python 3.12, deprecate 3.6 and 3.7 --- .github/workflows/tests.yml | 3 +-- .github/workflows/wheels.yml | 4 ++-- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 102e79a..3c044e3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,12 +13,11 @@ jobs: fail-fast: false matrix: version: - - {python: "3.6", os: "ubuntu-20.04"} - - {python: "3.7", os: "ubuntu-latest"} - {python: "3.8", os: "ubuntu-latest"} - {python: "3.9", os: "ubuntu-latest"} - {python: "3.10", os: "ubuntu-latest"} - {python: "3.11", os: "ubuntu-latest"} + - {python: "3.12", os: "ubuntu-latest"} steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 891bcbd..7036768 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -58,7 +58,7 @@ jobs: brew install flex echo "/usr/local/opt/flex/bin" >> $GITHUB_PATH - - uses: pypa/cibuildwheel@v2.12.1 + - uses: pypa/cibuildwheel@v2.16 env: CIBW_BEFORE_ALL_LINUX: | yum --disablerepo=epel -y update ca-certificates @@ -113,7 +113,7 @@ jobs: strategy: fail-fast: false matrix: - python: [cp36-cp36m, cp37-cp37m, cp38-cp38, cp39-cp39, cp310-cp310, cp311-cp311] + python: [cp38-cp38, cp39-cp39, cp310-cp310, cp311-cp311, cp312-cp312] steps: - uses: actions/download-artifact@v3 with: diff --git a/pyproject.toml b/pyproject.toml index 9b091c6..48eb903 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools>=45,<64", + "setuptools>=45", "wheel", "cython", "scikit-build>=0.12",