From 118cf0fce8689b37c75092b9a280065d8d275213 Mon Sep 17 00:00:00 2001 From: mulhern Date: Tue, 12 Aug 2025 13:30:08 -0400 Subject: [PATCH 1/2] Use Python 3.12 as lowest supported Python version Signed-off-by: mulhern --- .github/workflows/main.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 82b8b78..44f1214 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,7 +51,7 @@ jobs: - name: ${{ matrix.task }} run: ${{ matrix.task }} - lowest_environment_checks: + lowest_supported_python: strategy: matrix: include: @@ -65,8 +65,22 @@ jobs: python3-setuptools task: PYTHONPATH=./src make -f Makefile legacy-package runs-on: ubuntu-latest - container: fedora:35 # LOWEST DEVELOPMENT ENVIRONMENT + container: fedora:41 # CURRENT DEVELOPMENT ENVIRONMENT steps: + - name: Install python3.12 + run: > + dnf install -y + alternatives + python3.12 + - name: Set python3 to python3.12 + run: > + alternatives + --install /usr/bin/python3 + python3 + /usr/bin/python3.12 + 10 + - name: Display Python version + run: python3 --version - uses: actions/checkout@v4 - name: Install dependencies run: > From d73b89c3293b642ddba98d70ec63e09a0f394ad2 Mon Sep 17 00:00:00 2001 From: mulhern Date: Tue, 12 Aug 2025 13:31:13 -0400 Subject: [PATCH 2/2] Drop legacy package target Signed-off-by: mulhern --- .github/workflows/main.yml | 5 ----- Makefile | 5 ----- 2 files changed, 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 44f1214..ef15dba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,11 +59,6 @@ jobs: python3-hypothesis python3-justbases task: PYTHONPATH=./src make -f Makefile test - - dependencies: > - python3-hypothesis - python3-justbases - python3-setuptools - task: PYTHONPATH=./src make -f Makefile legacy-package runs-on: ubuntu-latest container: fedora:41 # CURRENT DEVELOPMENT ENVIRONMENT steps: diff --git a/Makefile b/Makefile index c37a13f..15404e2 100644 --- a/Makefile +++ b/Makefile @@ -44,8 +44,3 @@ yamllint: .PHONY: package package: (umask 0022; python -m build; python -m twine check --strict ./dist/*) - -.PHONY: legacy-package -legacy-package: - python3 setup.py build - python3 setup.py install