From 294e8e152cf7cf48599c1609166aff292458fc49 Mon Sep 17 00:00:00 2001 From: Shuhei Takahashi Date: Thu, 28 Dec 2023 08:49:19 +0900 Subject: [PATCH 1/2] Support Python 3.12 --- .github/workflows/build.yaml | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0e89b68..223230d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -57,7 +57,7 @@ jobs: fetch-depth: "0" - name: Build wheels - uses: pypa/cibuildwheel@v2.3.1 + uses: pypa/cibuildwheel@v2.16.2 env: # TODO: Remove this option adn build wheels for musllinux. # Currently CLAPACK fails to build for musllinux due to lack of diff --git a/setup.py b/setup.py index 00f5153..712d4ca 100644 --- a/setup.py +++ b/setup.py @@ -57,11 +57,11 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Operating System :: OS Independent', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'License :: OSI Approved :: Apache Software License', 'Topic :: Software Development :: Libraries :: Python Modules', ], From 806cd0d0451ecbc120266ab9fd3bd78f27a4ce82 Mon Sep 17 00:00:00 2001 From: Shuhei Takahashi Date: Thu, 28 Dec 2023 08:51:06 +0900 Subject: [PATCH 2/2] Use latest hosted runners --- .github/workflows/build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 223230d..40910d8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,7 +10,7 @@ on: jobs: lint: name: Run linter and formatter - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -29,7 +29,7 @@ jobs: build_sdist: name: Build sdist - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -49,7 +49,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04, macos-10.15] + os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v2 @@ -71,7 +71,7 @@ jobs: upload_pypi: name: Upload to PyPI - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: - build_sdist - build_wheels