From 244f651303b841cdb6eb544b9f5e2c8e1e116063 Mon Sep 17 00:00:00 2001 From: nifflets <5343516+nifflets@users.noreply.github.com> Date: Sat, 28 Dec 2024 00:59:58 +0000 Subject: [PATCH 1/3] fix: Add setuptools as an explicit test dependency --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 6ba6d3b4..38e51c09 100644 --- a/tox.ini +++ b/tox.ini @@ -21,6 +21,7 @@ deps = twine isort mypy + setuptools commands = black --check src tests setup.py conftest.py --exclude tests/test_functions/background_load_error/main.py isort -c src tests setup.py conftest.py From 1ab1958d3ea8f69f5d6aea87f8d73483536a6785 Mon Sep 17 00:00:00 2001 From: nifflets <5343516+nifflets@users.noreply.github.com> Date: Sat, 28 Dec 2024 01:22:56 +0000 Subject: [PATCH 2/3] Remove python 3.7 and 3.8 from tests --- .github/workflows/conformance.yml | 2 +- .github/workflows/unit.yml | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml index 0d86d788..15a4493f 100644 --- a/.github/workflows/conformance.yml +++ b/.github/workflows/conformance.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + python: ['3.9', '3.10', '3.11', '3.12'] steps: - name: Harden Runner uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 463340a5..c70d8b80 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -11,24 +11,16 @@ jobs: test: strategy: matrix: - python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + python: ['3.9', '3.10', '3.11', '3.12'] platform: [ubuntu-latest, macos-latest, windows-latest] # Python <= 3.9 is not available on macos-14 # Workaround for https://github.com/actions/setup-python/issues/696 exclude: - platform: macos-latest python: '3.9' - - platform: macos-latest - python: '3.8' - - platform: macos-latest - python: '3.7' include: - platform: macos-latest python: '3.9' - - platform: macos-13 - python: '3.8' - - platform: macos-13 - python: '3.7' runs-on: ${{ matrix.platform }} steps: - name: Harden Runner From 19e3064a0d8c1c3f6a6bb5f8cdbe61f94f0fe297 Mon Sep 17 00:00:00 2001 From: nifflets <5343516+nifflets@users.noreply.github.com> Date: Mon, 30 Dec 2024 20:09:16 +0000 Subject: [PATCH 3/3] Add py37 and py38 support back in --- .github/workflows/conformance.yml | 8 +++++++- .github/workflows/unit.yml | 18 +++++++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml index 15a4493f..4e066990 100644 --- a/.github/workflows/conformance.yml +++ b/.github/workflows/conformance.yml @@ -10,10 +10,16 @@ permissions: read-all jobs: build: - runs-on: ubuntu-latest strategy: matrix: python: ['3.9', '3.10', '3.11', '3.12'] + platform: [ubuntu-latest] + include: + - platform: ubuntu-22.04 + python: '3.8' + - platform: ubuntu-22.04 + python: '3.7' + runs-on: ${{ matrix.platform }} steps: - name: Harden Runner uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index c70d8b80..ade3f0e0 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -11,16 +11,32 @@ jobs: test: strategy: matrix: - python: ['3.9', '3.10', '3.11', '3.12'] + python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] platform: [ubuntu-latest, macos-latest, windows-latest] # Python <= 3.9 is not available on macos-14 # Workaround for https://github.com/actions/setup-python/issues/696 exclude: - platform: macos-latest python: '3.9' + - platform: macos-latest + python: '3.8' + - platform: macos-latest + python: '3.7' + - platform: ubuntu-latest + python: '3.8' + - platform: ubuntu-latest + python: '3.7' include: - platform: macos-latest python: '3.9' + - platform: macos-13 + python: '3.8' + - platform: macos-13 + python: '3.7' + - platform: ubuntu-22.04 + python: '3.8' + - platform: ubuntu-22.04 + python: '3.7' runs-on: ${{ matrix.platform }} steps: - name: Harden Runner