From 97221bbdb8141db7819e3c3c5ff5d31fc5f52b5f Mon Sep 17 00:00:00 2001 From: Yurii Serhiichuk Date: Tue, 23 Dec 2025 19:26:41 +0100 Subject: [PATCH 1/5] chore(changelog): add link for Python 3.8 EOL change (#249) Signed-off-by: Yurii Serhiichuk --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47023884..e019a00a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Dropped Python3.8 support while it has reached EOL. ([]) +- Dropped Python3.8 support while it has reached EOL. ([#249]) ## [1.11.1] @@ -301,3 +301,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#236]: https://github.com/cloudevents/sdk-python/pull/236 [#240]: https://github.com/cloudevents/sdk-python/pull/240 [#248]: https://github.com/cloudevents/sdk-python/pull/248 +[#249]: https://github.com/cloudevents/sdk-python/pull/249 From c573ef6c9c93370405176ae55502c05768083d84 Mon Sep 17 00:00:00 2001 From: Yurii Serhiichuk Date: Tue, 23 Dec 2025 19:27:26 +0100 Subject: [PATCH 2/5] chore(deps): add Python 3.14 support and upgrade GitHub Actions versions Signed-off-by: Yurii Serhiichuk --- .github/workflows/main.yml | 10 +++++----- .github/workflows/pypi-release.yml | 10 +++++----- setup.py | 1 + 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 52e7c9a0..80a69f1f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,9 +7,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.12' cache: 'pip' @@ -22,13 +22,13 @@ jobs: test: strategy: matrix: - python: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python }} cache: 'pip' diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index eeebb883..463f2050 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -12,14 +12,14 @@ jobs: name: Build source distribution runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Build SDist and wheel run: pipx run build - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v5 with: name: artifact path: dist/* @@ -31,17 +31,17 @@ jobs: if: github.event_name == 'push' needs: [ build_dist ] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12" cache: 'pip' - name: Install build dependencies run: pip install -U setuptools wheel build - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v5 with: # unpacks default artifact into dist/ # if `name: artifact` is omitted, the action will create extra parent dir diff --git a/setup.py b/setup.py index f4249978..c5c43938 100644 --- a/setup.py +++ b/setup.py @@ -70,6 +70,7 @@ def get_version(rel_path): "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Typing :: Typed", ], keywords="CloudEvents Eventing Serverless", From b9f289f607734a81a3126fcd808e18a9f0b508e7 Mon Sep 17 00:00:00 2001 From: Yurii Serhiichuk Date: Tue, 23 Dec 2025 19:31:27 +0100 Subject: [PATCH 3/5] chore(deps): bump pre-commit hooks to latest versions Signed-off-by: Yurii Serhiichuk --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 32fde356..f37eccae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -11,7 +11,7 @@ repos: - id: isort args: [ "--profile", "black", "--filter-files" ] - repo: https://github.com/psf/black - rev: 25.1.0 + rev: 25.11.0 hooks: - id: black language_version: python3.11 From e287fe630abae126755d689a815721fc39650bac Mon Sep 17 00:00:00 2001 From: Yurii Serhiichuk Date: Tue, 23 Dec 2025 20:00:57 +0100 Subject: [PATCH 4/5] chore(mypy): update Python version to 3.9 Signed-off-by: Yurii Serhiichuk --- mypy.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mypy.ini b/mypy.ini index d8fb9cc0..3168f2b5 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,6 +1,6 @@ [mypy] plugins = pydantic.mypy -python_version = 3.8 +python_version = 3.9 pretty = True show_error_context = True From 454b1dd6798f99ed617e71dbaa3844928a5b4806 Mon Sep 17 00:00:00 2001 From: Yurii Serhiichuk Date: Tue, 23 Dec 2025 20:01:21 +0100 Subject: [PATCH 5/5] chore(changelog): update with Python 3.14 support entry (#256) Signed-off-by: Yurii Serhiichuk --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e019a00a..d71df068 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.12.1] + +- Added Python 3.14 support ([#256]) + ## [1.12.0] ### Changed @@ -302,3 +306,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#240]: https://github.com/cloudevents/sdk-python/pull/240 [#248]: https://github.com/cloudevents/sdk-python/pull/248 [#249]: https://github.com/cloudevents/sdk-python/pull/249 +[#256]: https://github.com/cloudevents/sdk-python/pull/256