From d631cfa5c93879ccab53ad4ca0285c5fc9f29197 Mon Sep 17 00:00:00 2001 From: JannisNe Date: Fri, 18 Jul 2025 16:20:32 +0200 Subject: [PATCH 1/5] remove python 3.9, fixes #437 --- .github/workflows/continous_integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continous_integration.yml b/.github/workflows/continous_integration.yml index b0f8271e..af6d44bb 100644 --- a/.github/workflows/continous_integration.yml +++ b/.github/workflows/continous_integration.yml @@ -20,7 +20,7 @@ jobs: # Specify the python versions to test strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] # Steps represent a sequence of tasks that will be executed as part of the job steps: From e105435ac8e9a3dcc0514da53fab3674c2219c9f Mon Sep 17 00:00:00 2001 From: JannisNe Date: Fri, 18 Jul 2025 16:21:29 +0200 Subject: [PATCH 2/5] add 20 minutes timeout to avoid idle jobs hanging around for 6 hours and eating resources --- .github/workflows/continous_integration.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/continous_integration.yml b/.github/workflows/continous_integration.yml index af6d44bb..2e975789 100644 --- a/.github/workflows/continous_integration.yml +++ b/.github/workflows/continous_integration.yml @@ -16,6 +16,8 @@ jobs: build: # The type of runner that the job will run on runs-on: ubuntu-latest + # set a sensible timeout + timeout-minutes: 20 # Specify the python versions to test strategy: From 8073840575cb41c060488f000719b060bc8a819c Mon Sep 17 00:00:00 2001 From: JannisNe Date: Fri, 18 Jul 2025 16:23:58 +0200 Subject: [PATCH 3/5] only run for commits and PRs to main --- .github/workflows/continous_integration.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continous_integration.yml b/.github/workflows/continous_integration.yml index 2e975789..4b119e12 100644 --- a/.github/workflows/continous_integration.yml +++ b/.github/workflows/continous_integration.yml @@ -4,9 +4,13 @@ name: CI # Controls when the action will run. on: - # Triggers the workflow on push or pull request events but only for the master branch + # Triggers the workflow on push or pull request events but only for the main branch push: + branches: + - main pull_request: + branches: + - main # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From fa615a6981e95cb973e299e005f424f3ad618caa Mon Sep 17 00:00:00 2001 From: JannisNe Date: Fri, 18 Jul 2025 16:27:49 +0200 Subject: [PATCH 4/5] use python 3.10 for builds, addresses #437 --- .github/workflows/continous_integration.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continous_integration.yml b/.github/workflows/continous_integration.yml index 4b119e12..cc518763 100644 --- a/.github/workflows/continous_integration.yml +++ b/.github/workflows/continous_integration.yml @@ -86,14 +86,14 @@ jobs: format: cobertura - name: Echo tag name - run: echo "Tag is ${{ github.ref }}, Deploy is ${{ startsWith(github.ref, 'refs/tags/') && matrix.python-version == 3.9}}" + run: echo "Tag is ${{ github.ref }}, Deploy is ${{ startsWith(github.ref, 'refs/tags/') && matrix.python-version == 3.10}}" - name: Build a binary wheel and a source tarball shell: bash -el {0} run: python -m poetry build - name: Publish distribution 📦 to PyPI - if: ${{ startsWith(github.ref, 'refs/tags/') && success() && matrix.python-version == 3.9}} + if: ${{ startsWith(github.ref, 'refs/tags/') && success() && matrix.python-version == 3.10}} env: POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }} shell: bash -el {0} @@ -108,5 +108,5 @@ jobs: uses: coverallsapp/github-action@v2 with: parallel-finished: true - carryforward: "python3.9,python3.10,python3.11,python3.12" + carryforward: "python3.10,python3.11,python3.12" github-token: ${{ secrets.GITHUB_TOKEN }} From c2f7fb862deda3198e15200d6bc2fba1564b1f11 Mon Sep 17 00:00:00 2001 From: JannisNe Date: Fri, 18 Jul 2025 16:27:57 +0200 Subject: [PATCH 5/5] remove python 3.9, addresses #437 --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1eef538c..69e87d4e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,6 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12",