From 2326f9f5a93e46eb58563c9c51e4506959e2f500 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:02:40 +0300 Subject: [PATCH 1/4] Bump GitHub Actions --- .github/workflows/main.yml | 10 +++++----- .github/workflows/publish.yml | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 38a16ef6..4c6a3995 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,9 +12,9 @@ jobs: python-version: ["3.12"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -46,9 +46,9 @@ jobs: python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} allow-prereleases: true @@ -75,7 +75,7 @@ jobs: image: python:2.7.18-buster steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: | apt-get update && apt-get install sudo cmake gawk rsync -y diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c6afaf5d..40c8e5b6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,9 +12,9 @@ jobs: matrix: python-version: ["3.12"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -39,7 +39,7 @@ jobs: - name: Build distribution run: | make clean dist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: ./build/tarballs @@ -52,7 +52,7 @@ jobs: permissions: id-token: write steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: @@ -66,8 +66,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 - name: Github Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: artifact/* From e994058eb38f4c2dd8798e0de3720ac207c7e6f6 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:03:48 +0300 Subject: [PATCH 2/4] Run other jobs if one fails --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4c6a3995..cab0f04c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,6 +42,7 @@ jobs: runs-on: ubuntu-20.04 strategy: + fail-fast: false matrix: python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] From 68186b6da89c1772678d5585df6740349369600f Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:04:41 +0300 Subject: [PATCH 3/4] Add support for Python 3.13 --- .github/workflows/main.yml | 2 +- Makefile | 1 + src/setup.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cab0f04c..6baec3b2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,7 +44,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.13"] steps: - uses: actions/checkout@v4 diff --git a/Makefile b/Makefile index 4cb02077..bc08fa63 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ PYTHON39=python3.9 PYTHON310=python3.10 PYTHON311=python3.11 PYTHON312=python3.12 +PYTHON313=python3.13 PYTHON2=/usr/bin/python2 PYTHON3=/usr/bin/python3 PYTHON=${PYTHON3} diff --git a/src/setup.py b/src/setup.py index b89ec757..e5cea9d8 100644 --- a/src/setup.py +++ b/src/setup.py @@ -65,6 +65,7 @@ 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Topic :: Software Development :: Libraries :: Python Modules', ], ) From 96a1e880f84bed98b54d64de25f08d7b50639b55 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:05:21 +0300 Subject: [PATCH 4/4] Stop testing unavailable and EOL Python 3.5 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6baec3b2..b6df409d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,7 +44,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.13"] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.13"] steps: - uses: actions/checkout@v4