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: 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: 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"