From ccbf749447ef7cbda9ed9a8ae47df26e88c16971 Mon Sep 17 00:00:00 2001 From: Tom Cornebize Date: Mon, 19 Aug 2024 23:07:52 +0200 Subject: [PATCH] Drop support for Python 3.7 (#117) Python 3.7 has been end-of-life for a while, see https://devguide.python.org/versions/ Also allow to manually launch the test workflow from Github UI. --- .github/workflows/buildwheels.yml | 2 +- .github/workflows/test.yml | 4 ++-- README.rst | 2 +- setup.py | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/buildwheels.yml b/.github/workflows/buildwheels.yml index fada0cf..31f7736 100644 --- a/.github/workflows/buildwheels.yml +++ b/.github/workflows/buildwheels.yml @@ -56,7 +56,7 @@ jobs: env: CIBW_TEST_REQUIRES: hypothesis CIBW_TEST_COMMAND: "python {project}/test.py -v && python {project}/cydoctest.py -v" - CIBW_SKIP: "pp* cp36-*" + CIBW_SKIP: "pp* cp36-* cp37-*" CIBW_ARCHS: ${{ matrix.cibw_archs }} CIBW_TEST_SKIP: "*-win_arm64" CIBW_BUILD_FRONTEND: "build" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 643a2df..f11168a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ name: Tests -on: [push,pull_request] +on: [push,pull_request,workflow_dispatch] jobs: build: @@ -9,7 +9,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - name: Set up the repository uses: actions/checkout@v3 diff --git a/README.rst b/README.rst index 892e8e0..c8c6d9c 100644 --- a/README.rst +++ b/README.rst @@ -36,7 +36,7 @@ Output: Installation from Pypi ---------------------- -Supported systems: Linux, MacOS or Windows, Python 3.7 or higher. Note that pyroaring might still work with older Python +Supported systems: Linux, MacOS or Windows, Python 3.8 or higher. Note that pyroaring might still work with older Python versions, but they are not tested anymore. To install pyroaring on your local account, use the following command: diff --git a/setup.py b/setup.py index fb7cde2..c3a500f 100755 --- a/setup.py +++ b/setup.py @@ -99,7 +99,6 @@ 'Operating System :: POSIX :: Linux', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10',