From 44d854c30171397afef8ab11c37dcbc450699578 Mon Sep 17 00:00:00 2001 From: Henrique Gemignani Passos Lima Date: Fri, 23 Aug 2024 00:47:58 +0300 Subject: [PATCH 1/3] Drop Python 3.8, test Python 3.13 --- .github/workflows/python.yml | 4 ++-- README.md | 2 +- setup.cfg | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index e563306..160bc8a 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -36,7 +36,7 @@ jobs: - uses: Swatinem/rust-cache@v2.7.3 - name: Build wheels - run: pipx run cibuildwheel==2.14.1 --output-dir dist + run: pipx run cibuildwheel==2.20.0 --output-dir dist env: CIBW_BUILD: 'cp38-*' CIBW_SKIP: '*-win32 *-manylinux_i686' @@ -112,11 +112,11 @@ jobs: - {name: 'Windows', image: 'windows-latest', wheel: 'win_amd64'} - {name: 'Linux', image: 'ubuntu-latest', wheel: 'manylinux_2_28_x86_64'} python: - - '3.8' - '3.9' - '3.10' - '3.11' - '3.12' + - "3.13.0-beta - 3.13.0" steps: - name: Checkout diff --git a/README.md b/README.md index ebd295b..a4f6e3f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # py-randomprime -Python 3.8+ bindings for [randomprime](https://github.com/randovania/randomprime) +Python 3.9+ bindings for [randomprime](https://github.com/randovania/randomprime) diff --git a/setup.cfg b/setup.cfg index fc8e06d..860f5ee 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,11 +8,11 @@ classifiers = License :: OSI Approved :: MIT License Development Status :: 3 - Alpha Intended Audience :: Developers - 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 + Programming Language :: Python :: 3.13 Programming Language :: Rust [options] @@ -22,7 +22,7 @@ install_requires = include_package_data = True zip_safe = False -python_requires = >=3.8 +python_requires = >=3.9 [bdist_wheel] -py_limited_api = cp38 +py_limited_api = cp39 From dd02b100003654f4430ccbe44563f6b673ccd61c Mon Sep 17 00:00:00 2001 From: Henrique Gemignani Passos Lima Date: Fri, 23 Aug 2024 00:48:06 +0300 Subject: [PATCH 2/3] Add release.yml --- .github/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/release.yml diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..476a220 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,7 @@ +changelog: + exclude: + labels: + - ignore-for-release + authors: + - pre-commit-ci + - dependabot \ No newline at end of file From 58aa928044b5157bf8aabb365d805ddd87fac35d Mon Sep 17 00:00:00 2001 From: Henrique Gemignani Passos Lima Date: Fri, 23 Aug 2024 00:50:56 +0300 Subject: [PATCH 3/3] Properly drop 3.8 --- .github/workflows/python.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 160bc8a..6cb846c 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -38,7 +38,7 @@ jobs: - name: Build wheels run: pipx run cibuildwheel==2.20.0 --output-dir dist env: - CIBW_BUILD: 'cp38-*' + CIBW_BUILD: 'cp39-*' CIBW_SKIP: '*-win32 *-manylinux_i686' - name: Check if there are changes @@ -72,7 +72,7 @@ jobs: - uses: Swatinem/rust-cache@v2.7.3 - - run: /opt/python/cp38-cp38/bin/python -m venv .venv + - run: /opt/python/cp39-cp39/bin/python -m venv .venv - name: Update pip run: .venv/bin/python -m pip install --upgrade pip