From ffb3447f0b0295566f7faee36957ebcc6fbbcc80 Mon Sep 17 00:00:00 2001 From: tooniez Date: Mon, 5 Oct 2026 18:08:41 +1030 Subject: [PATCH 1/7] ci: add GitHub Actions workflow for automated testing --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..26ff089 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.9", "3.10", "3.11", "3.12"] + + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: pip install -r requirements.txt + - name: Run tests + run: make test + - name: Lint check (optional) + run: | + python -m py_compile $(find . -name "*.py" | grep -v __pycache__) \ No newline at end of file From a5e74da7a58bb0d4447321f482055b2b736bdfca Mon Sep 17 00:00:00 2001 From: tooniez Date: Mon, 5 Oct 2026 18:48:33 +1030 Subject: [PATCH 2/7] fix: cap pytest at <9.0 to resolve CI failure with pytest-html-reporter --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 03f0840..376fc88 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ packaging==24.2 pillow==12.3.0 pluggy==1.5.0 PyJWT==2.15.0 -pytest==9.0.3 +pytest<9.0 pytest-html-reporter==0.2.9 pytest-metadata==3.1.1 pytest-xdist==3.3.1 From 69293c984c090c8a8523f8260c422d56bd57e6e8 Mon Sep 17 00:00:00 2001 From: tooniez Date: Mon, 5 Oct 2026 18:49:52 +1030 Subject: [PATCH 3/7] re-run CI to verify pytest version fix From 784b3737db1cbd68f1144d71edd959e1e4422ef9 Mon Sep 17 00:00:00 2001 From: tooniez Date: Mon, 5 Oct 2026 18:53:40 +1030 Subject: [PATCH 4/7] fix: upgrade pytest-html-reporter to >=0.2.10 to resolve CI failure --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 376fc88..89acaa5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,8 +14,8 @@ packaging==24.2 pillow==12.3.0 pluggy==1.5.0 PyJWT==2.15.0 -pytest<9.0 -pytest-html-reporter==0.2.9 +pytest==9.0.3 +pytest-html-reporter>=0.2.10 pytest-metadata==3.1.1 pytest-xdist==3.3.1 referencing==0.36.2 From dbc998323d0c7ecd775e1ab5b6975aa253130553 Mon Sep 17 00:00:00 2001 From: tooniez Date: Mon, 5 Oct 2026 21:51:31 +1030 Subject: [PATCH 5/7] fix: cap pillow to >=10.0.0 (12.3.0 requires Python >=3.10, fails 3.9 matrix) --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 89acaa5..4428915 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ jsonschema==4.19.0 jsonschema-specifications==2024.10.1 MarkupSafe==3.0.2 packaging==24.2 -pillow==12.3.0 +pillow>=10.0.0 pluggy==1.5.0 PyJWT==2.15.0 pytest==9.0.3 From ae2b13a0e3286b246a51b67119ff89a01b7779fe Mon Sep 17 00:00:00 2001 From: tooniez Date: Mon, 5 Oct 2026 22:24:01 +1030 Subject: [PATCH 6/7] fix: cap pytest at <9.0 for Python 3.9 compatibility with pillow>=10.0.0 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4428915..0e5ea41 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ packaging==24.2 pillow>=10.0.0 pluggy==1.5.0 PyJWT==2.15.0 -pytest==9.0.3 +pytest<9.0 pytest-html-reporter>=0.2.10 pytest-metadata==3.1.1 pytest-xdist==3.3.1 From 751e7ef35b23488de378196f2bf44e7508723060 Mon Sep 17 00:00:00 2001 From: tooniez Date: Mon, 5 Oct 2026 22:25:44 +1030 Subject: [PATCH 7/7] fix: cap requests at <2.33.0 for Python 3.9 compatibility (also requires >=3.10) --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 0e5ea41..809a3f7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,7 +19,7 @@ pytest-html-reporter>=0.2.10 pytest-metadata==3.1.1 pytest-xdist==3.3.1 referencing==0.36.2 -requests==2.33.0 +requests>=2.32.0,<2.33.0 responses==0.24.1 rpds-py==0.24.0 urllib3==2.8.0