From 7a7516fe547965d31c42c66505064797927f5342 Mon Sep 17 00:00:00 2001 From: Gergely Imreh Date: Mon, 28 Jul 2025 20:08:35 +0800 Subject: [PATCH 1/4] set up tests to run newer Python versions 3.12 & 3.13 and drop 3.8 This is not adding support yet, just running the tests --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index edcd4fff..6af4297e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.8, 3.9, '3.10', 3.11] + python: [3.9, '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v2 - name: Setup Python From 3f2105f3ecb087b607fc414ddf23499890c848ab Mon Sep 17 00:00:00 2001 From: Gergely Imreh Date: Mon, 28 Jul 2025 20:16:06 +0800 Subject: [PATCH 2/4] limit marshmallow version to <4 for the time being, and bump minimum version --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 9b1fde59..90f22c3d 100644 --- a/setup.py +++ b/setup.py @@ -34,12 +34,12 @@ def load_readme(): license="Apache Software License", packages=find_packages(), setup_requires=["setuptools_scm"], - python_requires=">=3.8", + python_requires=">=3.9", install_requires=[ "requests", "pytz", "attrs", - "marshmallow", + "marshmallow<4", "marshmallow_enum", "urllib3", ], From 08e82776be248a6393140d38440d3919916ecbe1 Mon Sep 17 00:00:00 2001 From: Gergely Imreh Date: Mon, 28 Jul 2025 20:20:56 +0800 Subject: [PATCH 3/4] bump action versions --- .github/workflows/tests.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 6af4297e..28224ef5 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -16,9 +16,9 @@ jobs: matrix: python: [3.9, '3.10', '3.11', '3.12', '3.13'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - name: Install Tox @@ -32,9 +32,9 @@ jobs: matrix: linter: [flake8, black, license] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Install Tox From aeeaaa6a8e5bfa8750980eacb8f82f071829c280 Mon Sep 17 00:00:00 2001 From: Gergely Imreh Date: Mon, 28 Jul 2025 20:24:37 +0800 Subject: [PATCH 4/4] add comment to the code --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 90f22c3d..767b23e9 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ def load_readme(): "requests", "pytz", "attrs", - "marshmallow<4", + "marshmallow<4", # TODO: remove this limit once the code is migrated "marshmallow_enum", "urllib3", ],