From c1d60606d50cfffe5936c8659cb6c536366cc72d Mon Sep 17 00:00:00 2001 From: Graham Knapp <32717635+dancergraham@users.noreply.github.com> Date: Sat, 30 Nov 2024 19:07:09 +0100 Subject: [PATCH] Remove Python 3.8 support Fixes #82 --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/davidcaron/pye57/issues/82?shareId=XXXX-XXXX-XXXX-XXXX). --- .github/workflows/build.yml | 14 +++++++------- setup.py | 3 +-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 121e87c..c2e1f44 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 @@ -40,7 +40,7 @@ jobs: runs-on: windows-2019 strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 @@ -81,7 +81,7 @@ jobs: runs-on: macos-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 @@ -142,7 +142,7 @@ jobs: env: CIBW_BEFORE_ALL_LINUX: "bash scripts/install_xerces_c.sh" CIBW_BUILD: "cp*-manylinux_x86_64" - CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8, <3.14" + CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9, <3.14" - name: Build wheels (Windows) if: matrix.os == 'windows-2019' @@ -151,7 +151,7 @@ jobs: env: CIBW_BEFORE_ALL_WINDOWS: "powershell scripts/install_xerces_c.ps1" CIBW_BUILD: "cp*-win_amd64*" - CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8, <3.14" + CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9, <3.14" - name: Build wheels (macOS) if: matrix.os == 'macos-latest' @@ -160,7 +160,7 @@ jobs: env: CIBW_BEFORE_ALL_MACOS: "bash scripts/install_xerces_c.sh" CIBW_BUILD: "cp*-macosx*" - CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8, <3.14" + CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9, <3.14" - uses: actions/upload-artifact@v4 with: @@ -194,7 +194,7 @@ jobs: strategy: matrix: os: [ "ubuntu-latest", "windows-2019", "macos-latest" ] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 with: diff --git a/setup.py b/setup.py index 415a90b..8e0cff6 100644 --- a/setup.py +++ b/setup.py @@ -132,7 +132,6 @@ def build_extensions(self): "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -142,5 +141,5 @@ def build_extensions(self): ], cmdclass={"build_ext": BuildExt}, zip_safe=False, - python_requires=">=3.8", + python_requires=">=3.9", )