Skip to content

Commit 119264c

Browse files
authored
hotfix: Hotfix Pydantic dependency constraints. (#204)
* hotfix: Hotfix Pydantic dependency constraints. docs: Add mention of the constraints fix Signed-off-by: Yurii Serhiichuk <[email protected]> chore: bump version Signed-off-by: Yurii Serhiichuk <[email protected]> fix: PyPi constraints for Pydantic Signed-off-by: Yurii Serhiichuk <[email protected]> ci: add ability to release from tag branches. Signed-off-by: Yurii Serhiichuk <[email protected]> * docs: add missing links Signed-off-by: Yurii Serhiichuk <[email protected]> * docs: fix release 1.6.3 link Signed-off-by: Yurii Serhiichuk <[email protected]> Signed-off-by: Yurii Serhiichuk <[email protected]>
1 parent 81f07b6 commit 119264c

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

.github/workflows/pypi-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- main
8+
- 'tag/v**'
89

910
jobs:
1011
build_dist:

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [1.7.1] — 2022-11-21
10+
### Fixed
11+
- Fixed Pydantic extras dependency constraint (backport of v1.6.3, [#204])
12+
813
### Changed
914
- Refined build and publishing process. Added SDist to the released package ([#202])
1015

@@ -13,6 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1318
- Added [Kafka](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/bindings/kafka-protocol-binding.md)
1419
support ([#197], thanks [David Martines](https://github.com/davidwmartines))
1520

21+
## [1.6.3] — 2022-11-21
22+
### Fixed
23+
- Fixed Pydantic extras dependency constraint ([#204])
24+
1625
## [1.6.2] — 2022-10-18
1726
### Added
1827
- Added `get_attributes` API to the `CloudEvent` API. The method returns a read-only
@@ -159,7 +168,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
159168
### Added
160169
- Initial release
161170

171+
[1.7.1]: https://github.com/cloudevents/sdk-python/compare/1.7.0...1.7.1
162172
[1.7.0]: https://github.com/cloudevents/sdk-python/compare/1.6.0...1.7.0
173+
[1.6.3]: https://github.com/cloudevents/sdk-python/compare/1.6.2...1.6.3
163174
[1.6.2]: https://github.com/cloudevents/sdk-python/compare/1.6.1...1.6.2
164175
[1.6.1]: https://github.com/cloudevents/sdk-python/compare/1.6.0...1.6.1
165176
[1.6.0]: https://github.com/cloudevents/sdk-python/compare/1.5.0...1.6.0
@@ -228,3 +239,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
228239
[#195]: https://github.com/cloudevents/sdk-python/pull/195
229240
[#197]: https://github.com/cloudevents/sdk-python/pull/197
230241
[#202]: https://github.com/cloudevents/sdk-python/pull/202
242+
[#204]: https://github.com/cloudevents/sdk-python/pull/204

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__ = "1.7.0"
15+
__version__ = "1.7.1"

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ def get_version(rel_path):
7171
install_requires=["deprecation>=2.0,<3.0"],
7272
extras_require={
7373
"pydantic": [
74-
"pydantic>=1.0.0<1.9.0; python_version <= '3.6'",
75-
"pydantic>=1.0.0<2.0; python_version > '3.6'",
74+
"pydantic>=1.0.0,<1.9.0;python_version<'3.7'",
75+
"pydantic>=1.0.0,<2.0;python_version>='3.7'",
7676
],
7777
},
7878
)

0 commit comments

Comments
 (0)