From e0152fd79d691a668d3125b0da39e01d8b4328b7 Mon Sep 17 00:00:00 2001 From: Yurii Serhiichuk Date: Sun, 22 Mar 2026 22:19:35 +0100 Subject: [PATCH 1/3] chore(pre-commit): update mypy exclude to ignore test_v1_compat Signed-off-by: Yurii Serhiichuk --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 49ebaef0..0ab1da3a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: hooks: - id: mypy files: ^(src/cloudevents/|tests/) - exclude: ^(src/cloudevents/v1/) + exclude: ^(src/cloudevents/v1/|tests/test_v1_compat/) types: [python] args: ["--config-file=pyproject.toml"] additional_dependencies: From 35a133ad42f54f83ed1ca2dd732f7b69f9fa8988 Mon Sep 17 00:00:00 2001 From: Yurii Serhiichuk Date: Sun, 22 Mar 2026 22:23:41 +0100 Subject: [PATCH 2/3] chore(cloudevents): release stable v2.0.0 Signed-off-by: Yurii Serhiichuk --- CHANGELOG.md | 8 ++++++++ samples/http-image-cloudevents/requirements.txt | 2 +- samples/http-json-cloudevents/requirements.txt | 2 +- src/cloudevents/__init__.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b845d90c..3875afe5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.0] + +### Changed + +- Released stable v2.0.0. See [migration](./MIGRATION.md) for details and migration + guidelines. ([#279]) + ## [2.0.0.alpha6] ### Changed @@ -336,3 +343,4 @@ CloudEvents v2 is a rewrite with ongoing development ([#271]) [#275]: https://github.com/cloudevents/sdk-python/pull/275 [#276]: https://github.com/cloudevents/sdk-python/pull/276 [#278]: https://github.com/cloudevents/sdk-python/pull/278 +[#279]: https://github.com/cloudevents/sdk-python/pull/279 diff --git a/samples/http-image-cloudevents/requirements.txt b/samples/http-image-cloudevents/requirements.txt index 23ced6e3..6be23fd3 100644 --- a/samples/http-image-cloudevents/requirements.txt +++ b/samples/http-image-cloudevents/requirements.txt @@ -2,4 +2,4 @@ flask requests Pillow pytest -cloudevents==2.0.0a6 +cloudevents==2.0.0 diff --git a/samples/http-json-cloudevents/requirements.txt b/samples/http-json-cloudevents/requirements.txt index e3a236e2..8d348c9c 100644 --- a/samples/http-json-cloudevents/requirements.txt +++ b/samples/http-json-cloudevents/requirements.txt @@ -1,4 +1,4 @@ flask requests pytest -cloudevents==2.0.0a6 +cloudevents==2.0.0 diff --git a/src/cloudevents/__init__.py b/src/cloudevents/__init__.py index b3419d20..81921467 100644 --- a/src/cloudevents/__init__.py +++ b/src/cloudevents/__init__.py @@ -12,4 +12,4 @@ # License for the specific language governing permissions and limitations # under the License. -__version__ = "2.0.0-alpha6" +__version__ = "2.0.0" From 6b3223495920e31165c2e2c847152ccb1118faaa Mon Sep 17 00:00:00 2001 From: Yurii Serhiichuk Date: Sun, 22 Mar 2026 22:24:37 +0100 Subject: [PATCH 3/3] chore(workflow): remove deprecated branch 'v2' from PyPI release triggers Signed-off-by: Yurii Serhiichuk --- .github/workflows/pypi-release.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index ab18cd6e..4a414248 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -5,7 +5,6 @@ on: push: branches: - main - - v2 - 'tag/v**' jobs: