From c65d622dbbafdc0df78ca99fb66621b7f36e71e7 Mon Sep 17 00:00:00 2001 From: Tudor Plugaru Date: Fri, 14 Nov 2025 10:46:35 +0200 Subject: [PATCH 1/4] chore: drop support for PY3.9 since it reached EOL Signed-off-by: Tudor Plugaru --- .github/workflows/main.yml | 7 +++---- pyproject.toml | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5eb7e8e8..75478d7d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,9 +1,8 @@ name: CI -on: [ push, pull_request ] +on: [push, pull_request] jobs: - lint: runs-on: ubuntu-latest steps: @@ -23,8 +22,8 @@ jobs: test: strategy: matrix: - python-version: [ '3.9', '3.10', '3.11', '3.12' ] - os: [ ubuntu-latest, windows-latest, macos-latest ] + python-version: ["3.10", "3.11", "3.12"] + os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 1f72d939..65823009 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = [ { name = "The Cloud Events Contributors", email = "cncfcloudevents@gmail.com" } ] readme = "README.md" -requires-python = ">= 3.9" +requires-python = ">= 3.10" license = "Apache-2.0" classifiers = [ "Intended Audience :: Information Technology", @@ -19,7 +19,6 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -81,7 +80,7 @@ packages = ["src/cloudevents"] [tool.ruff] line-length = 88 -target-version = "py39" +target-version = "py310" exclude = [ ".bzr", @@ -122,7 +121,7 @@ testpaths = [ ] [tool.mypy] -python_version = 3.9 +python_version = "3.10" ignore_missing_imports = true namespace_packages = true From 37b0933640dd395d137ffe6ce8d7252afb6c88ca Mon Sep 17 00:00:00 2001 From: Tudor Plugaru Date: Fri, 14 Nov 2025 10:46:56 +0200 Subject: [PATCH 2/4] chore: run tests for 3.13 and 3.14 Signed-off-by: Tudor Plugaru --- .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 75478d7d..7686f710 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: test: strategy: matrix: - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: From fa7ef2b4b04b00d00c08ee5c15c5abf1a71edb3e Mon Sep 17 00:00:00 2001 From: Tudor Plugaru Date: Fri, 14 Nov 2025 10:48:36 +0200 Subject: [PATCH 3/4] chore: update docs Signed-off-by: Tudor Plugaru --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 65823009..5c8c6e9e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,8 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Typing :: Typed", ] keywords = [ From fc8b56ac14c91e45195e9f2858b18b2bbfdc35e3 Mon Sep 17 00:00:00 2001 From: Tudor Plugaru Date: Fri, 14 Nov 2025 11:06:54 +0200 Subject: [PATCH 4/4] chore: update actions to latest version Signed-off-by: Tudor Plugaru --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7686f710..291b7b3f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,9 +6,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install uv - uses: astral-sh/setup-uv@v2 + uses: astral-sh/setup-uv@v7 with: enable-cache: true cache-dependency-glob: "uv.lock"