From 3534dba318ea4d5e86207c0d6469caf47dbbdaa3 Mon Sep 17 00:00:00 2001 From: Dr Maurice Hendrix Date: Tue, 6 May 2025 11:20:44 +0200 Subject: [PATCH 1/6] dropping python 3.8 support Python 3.8 support seems to have been dropped from github actions ubuntu-latest --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ca3906..685d3b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,6 @@ jobs: strategy: matrix: python: - - "3.8" - "3.9" - "3.10" - "3.11" @@ -96,7 +95,6 @@ jobs: strategy: matrix: python: - - "3.8" - "3.9" - "3.10" - "3.11" @@ -125,7 +123,6 @@ jobs: strategy: matrix: python: - - "3.8" - "3.9" - "3.10" - "3.11" From 3ba899eac7b752cebb41d925949406d5b03b6277 Mon Sep 17 00:00:00 2001 From: Dr Maurice Hendrix Date: Tue, 6 May 2025 11:24:28 +0200 Subject: [PATCH 2/6] Update pyproject.toml --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 85788e6..9479f6b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ version = "0.5.0" readme = "README.rst" license = "Apache-2.0" license-files = ["LICENSE"] -requires-python = ">=3.8, < 3.13" +requires-python = ">=3.9, <= 3.13" dependencies = [ "pydantic>=2.8.2", "pytz", @@ -20,11 +20,11 @@ dependencies = [ ] classifiers = [ "Development Status :: 4 - Beta", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] [project.urls] "Source code" = "https://github.com/flexiblepower/s2-ws-json-python" From 1eb6bbf852e7fbebee114cc9af84235eefa89674 Mon Sep 17 00:00:00 2001 From: Dr Maurice Hendrix Date: Tue, 6 May 2025 11:35:45 +0200 Subject: [PATCH 3/6] Update ci.yml --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 685d3b5..a0c23c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,8 +78,7 @@ jobs: - name: Run tests run: >- pipx run --python '${{ steps.setup-python.outputs.python-path }}' - tox --installpkg '${{ needs.prepare.outputs.wheel-distribution }}' - -- -rFEx --durations 10 --color yes # pytest args + tox --develop -rFEx --durations 10 --color yes # pytest args # - name: Generate coverage report # run: pipx run coverage lcov -o coverage.lcov # - name: Upload partial coverage report @@ -116,7 +115,7 @@ jobs: - name: Run tests run: >- pipx run --python '${{ steps.setup-python.outputs.python-path }}' - tox -e lint --installpkg '${{ needs.prepare.outputs.wheel-distribution }}' + tox -e lint --develop typecheck: needs: prepare @@ -144,7 +143,7 @@ jobs: - name: Run tests run: >- pipx run --python '${{ steps.setup-python.outputs.python-path }}' - tox -e typecheck --installpkg '${{ needs.prepare.outputs.wheel-distribution }}' + tox -e typecheck --develop finalize: needs: [test, lint, typecheck] From 0becb6084eea2396a537ff34bfeac816eabecabf Mon Sep 17 00:00:00 2001 From: Dr Maurice Hendrix Date: Tue, 6 May 2025 11:39:09 +0200 Subject: [PATCH 4/6] Update .github/workflows/ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0c23c4..95ab7ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,7 +78,7 @@ jobs: - name: Run tests run: >- pipx run --python '${{ steps.setup-python.outputs.python-path }}' - tox --develop -rFEx --durations 10 --color yes # pytest args + tox --develop # - name: Generate coverage report # run: pipx run coverage lcov -o coverage.lcov # - name: Upload partial coverage report From 0b7f091a5bbd11c4c9cefa9e1a894940ac5bc586 Mon Sep 17 00:00:00 2001 From: Dr Maurice Hendrix Date: Tue, 6 May 2025 11:43:44 +0200 Subject: [PATCH 5/6] Update ci.yml --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95ab7ed..e55622e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,8 @@ jobs: - "3.9" - "3.10" - "3.11" - - "3.12" # newest Python that is stable + - "3.12" + - "3.13" # newest Python that is stable platform: - ubuntu-latest # - macos-latest @@ -97,7 +98,8 @@ jobs: - "3.9" - "3.10" - "3.11" - - "3.12" # newest Python that is stable + - "3.12" + - "3.13" # newest Python that is stable platform: - ubuntu-latest # - macos-latest @@ -125,7 +127,8 @@ jobs: - "3.9" - "3.10" - "3.11" - - "3.12" # newest Python that is stable + - "3.12" + - "3.13" # newest Python that is stable platform: - ubuntu-latest # - macos-latest From 6a2687e55c4cd0030417616507f69b27cacb4d3e Mon Sep 17 00:00:00 2001 From: Dr Maurice Hendrix Date: Tue, 6 May 2025 11:45:41 +0200 Subject: [PATCH 6/6] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9479f6b..35d8840 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ version = "0.5.0" readme = "README.rst" license = "Apache-2.0" license-files = ["LICENSE"] -requires-python = ">=3.9, <= 3.13" +requires-python = ">=3.9, < 3.14" dependencies = [ "pydantic>=2.8.2", "pytz",