From cc2c18c449aba02b1050c8cf86614b53a641f2e3 Mon Sep 17 00:00:00 2001 From: Dmitry Volodin Date: Wed, 6 Nov 2024 16:19:49 +0100 Subject: [PATCH] Dropping support of Python 3.8 --- .github/workflows/package.yml | 10 +++++----- .github/workflows/tests.yml | 2 +- CHANGELOG.md | 1 + pyproject.toml | 3 +-- tools/build/build-many.sh | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 301bda5..7261a06 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -13,10 +13,10 @@ jobs: - name: Checkout Repo uses: actions/checkout@v4 - - name: Set Up Python 3.10 + - name: Set Up Python 3.13 uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.13" - name: Upgrade Pip run: python -m pip install --upgrade pip @@ -58,7 +58,7 @@ jobs: -w /workdir --user 0 quay.io/pypa/manylinux2014_${{ matrix.arch }}:latest - ./tools/build/build-many.sh 3.8 3.9 3.10 3.11 3.12 3.13 + ./tools/build/build-many.sh 3.9 3.10 3.11 3.12 3.13 - name: Save Artefacts uses: actions/upload-artifact@v3 @@ -100,7 +100,7 @@ jobs: --user 0 --platform ${{ matrix.platform }} quay.io/pypa/manylinux_2_28_${{ matrix.arch }}:latest - ./tools/build/build-many.sh 3.8 3.9 3.10 3.11 3.12 3.13 + ./tools/build/build-many.sh 3.9 3.10 3.11 3.12 3.13 - name: Save Artefacts uses: actions/upload-artifact@v3 @@ -146,7 +146,7 @@ jobs: # --user 0 # --platform ${{ matrix.platform }} # quay.io/pypa/musllinux_1_1_${{ matrix.arch }}:latest - # ./tools/build/build-many.sh 3.8 3.9 3.10 + # ./tools/build/build-many.sh 3.9 3.10 # - name: Save Artefacts # uses: actions/upload-artifact@v3 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index efa1163..9caf193 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -93,7 +93,7 @@ jobs: fail-fast: true matrix: # Run on all supported versions - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] env: RUST_ARCH: x86_64-unknown-linux-gnu steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index eb480fa..a9f179b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ To see unreleased changes, please see the [CHANGELOG on the main branch guide](h ### Changed +* Dropping support of Python 3.8 * Massive refactoring of internals to support PyO3 0.22 and to remove duplicated code. * Use reusable buffers pool insead of allocating buffer along with each socket. diff --git a/pyproject.toml b/pyproject.toml index e034035..79d66eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,6 @@ classifiers = [ "Intended Audience :: System Administrators", "Intended Audience :: Telecommunications Industry", "Programming Language :: Rust", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -29,7 +28,7 @@ dynamic = ["version"] keywords = ["error"] license = {text = "BSD 3-Clause License"} name = "gufo_snmp" -requires-python = ">=3.8" +requires-python = ">=3.9" [project.readme] content-type = "text/markdown" diff --git a/tools/build/build-many.sh b/tools/build/build-many.sh index 054357b..e21c90c 100755 --- a/tools/build/build-many.sh +++ b/tools/build/build-many.sh @@ -2,7 +2,7 @@ # ------------------------------------------------------------------------ # Gufo Labs: Build wheel in the quay.io/pypa/manylinux2014_x86_64:latest # Usage: -# ./tools/build/build-manylinux 3.8 3.9 3.10 3.11 +# ./tools/build/build-manylinux 3.9 3.10 3.11 3.11 3.12 3.13 # expects RUST_VERSION and RUST_ARCH # ------------------------------------------------------------------------ # Copyright (C) 2022-23, Gufo Labs