Skip to content

Commit 6cf9fbb

Browse files
authored
Prepare v2 (#279)
* chore(pre-commit): update mypy exclude to ignore test_v1_compat Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * chore(cloudevents): release stable v2.0.0 Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * chore(workflow): remove deprecated branch 'v2' from PyPI release triggers Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> --------- Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
1 parent b3b66fc commit 6cf9fbb

6 files changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/pypi-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
push:
66
branches:
77
- main
8-
- v2
98
- 'tag/v**'
109

1110
jobs:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
hooks:
1818
- id: mypy
1919
files: ^(src/cloudevents/|tests/)
20-
exclude: ^(src/cloudevents/v1/)
20+
exclude: ^(src/cloudevents/v1/|tests/test_v1_compat/)
2121
types: [python]
2222
args: ["--config-file=pyproject.toml"]
2323
additional_dependencies:

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [2.0.0]
10+
11+
### Changed
12+
13+
- Released stable v2.0.0. See [migration](./MIGRATION.md) for details and migration
14+
guidelines. ([#279])
15+
916
## [2.0.0.alpha6]
1017

1118
### Changed
@@ -336,3 +343,4 @@ CloudEvents v2 is a rewrite with ongoing development ([#271])
336343
[#275]: https://github.com/cloudevents/sdk-python/pull/275
337344
[#276]: https://github.com/cloudevents/sdk-python/pull/276
338345
[#278]: https://github.com/cloudevents/sdk-python/pull/278
346+
[#279]: https://github.com/cloudevents/sdk-python/pull/279

samples/http-image-cloudevents/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ flask
22
requests
33
Pillow
44
pytest
5-
cloudevents==2.0.0a6
5+
cloudevents==2.0.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
flask
22
requests
33
pytest
4-
cloudevents==2.0.0a6
4+
cloudevents==2.0.0

src/cloudevents/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
1414

15-
__version__ = "2.0.0-alpha6"
15+
__version__ = "2.0.0"

0 commit comments

Comments
 (0)