diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 9132bdab7..e5684ce79 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -167,14 +167,14 @@ jobs: uses: pypa/cibuildwheel@v3.2.0 env: CIBW_ARCHS: auto64 - CIBW_BUILD: 'cp*' + CIBW_BUILD: 'cp312-* cp313-* cp314-*' CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=13.0 # Note #1: the value of CIBW_ENVIRONMENT_MACOS must be in sync with that of MACOS_DEPLOYMENT_TARGET in # CMakelists.txt. # Note #2: for some reasons, we need to specify the minor version, hence using 13.0 rather than 13. CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_34 CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_34 - CIBW_SKIP: 'cp38* cp39* cp*t-* *musllinux*' + CIBW_SKIP: '*musllinux*' - name: Upload Python wheel artifacts uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7b0b38a7..ecdbad144 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -341,7 +341,7 @@ jobs: if: ${{ matrix.documentation == 'ON' || matrix.python_support == 'ON' || matrix.target == 'python_check_code_formatting' }} uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Install CMake and Ninja uses: lukka/get-cmake@latest - name: Install buildcache diff --git a/VERSION.txt b/VERSION.txt index d92fdec1a..cf25f11db 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -0.20260409.0 +0.20260409.1 diff --git a/setup.py b/setup.py index 7eae76fc7..2cd9bd684 100644 --- a/setup.py +++ b/setup.py @@ -30,6 +30,7 @@ author="libOpenCOR contributors", url="https://opencor.ws/libopencor/", license="Apache 2.0", + python_requires=">=3.12, <3.15", packages=["libopencor"], package_dir={"": "src/bindings/python"}, cmake_args=[ @@ -52,6 +53,10 @@ "Programming Language :: C++", "Programming Language :: JavaScript", "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Software Development :: Libraries :: Python Modules", ], )