From 3c741d29b708d019839e2f37220f784c232be45f Mon Sep 17 00:00:00 2001 From: Nicholas McDonnell <50747025+mcdonnnj@users.noreply.github.com> Date: Mon, 11 Mar 2024 06:04:24 -0400 Subject: [PATCH 1/2] Drop support for Python 3.6 Python 3.6 reached end-of-life on 2021-12-23. Since the oldest version of Debian that we use (Debian Buster) provides Python 3.7 we can safely sunset support for this version of Python. --- .github/workflows/build.yml | 21 +++------------------ setup.py | 3 +-- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7a5aa1..05f0aad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -175,12 +175,10 @@ jobs: name: test source - py${{ matrix.python-version }} needs: - diagnostics - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: fail-fast: false matrix: - os: - - ubuntu-latest python-version: - "3.7" - "3.8" @@ -188,9 +186,6 @@ jobs: - "3.10" - "3.11" - "3.12" - include: - - os: ubuntu-20.04 - python-version: "3.6" steps: - id: harden-runner name: Harden the runner @@ -286,12 +281,10 @@ jobs: - diagnostics - lint - test - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: fail-fast: false matrix: - os: - - ubuntu-latest python-version: - "3.7" - "3.8" @@ -299,9 +292,6 @@ jobs: - "3.10" - "3.11" - "3.12" - include: - - os: ubuntu-20.04 - python-version: "3.6" steps: - id: harden-runner name: Harden the runner @@ -346,12 +336,10 @@ jobs: needs: - diagnostics - build - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: fail-fast: false matrix: - os: - - ubuntu-latest python-version: - "3.7" - "3.8" @@ -359,9 +347,6 @@ jobs: - "3.10" - "3.11" - "3.12" - include: - - os: ubuntu-20.04 - python-version: "3.6" steps: - id: harden-runner name: Harden the runner diff --git a/setup.py b/setup.py index 7aec68b..e4c19ba 100644 --- a/setup.py +++ b/setup.py @@ -75,7 +75,6 @@ def get_version(version_file): # that you indicate whether you support Python 2, Python 3 or both. "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", @@ -84,7 +83,7 @@ def get_version(version_file): "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", ], - python_requires=">=3.6", + python_requires=">=3.7", # What does your project relate to? keywords="skeleton", packages=find_packages(where="src"), From 111eac0fc6181851c2c4fb2048b591c8a98895d6 Mon Sep 17 00:00:00 2001 From: Nicholas McDonnell <50747025+mcdonnnj@users.noreply.github.com> Date: Tue, 12 Mar 2024 01:48:57 -0400 Subject: [PATCH 2/2] Bump version from 0.2.0 to 0.2.1 --- src/example/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/example/_version.py b/src/example/_version.py index e038e39..3252c71 100644 --- a/src/example/_version.py +++ b/src/example/_version.py @@ -1,3 +1,3 @@ """This file defines the version of this module.""" -__version__ = "0.2.0" +__version__ = "0.2.1"