hotfix: Hotfix Pydantic dependency constraints. (#204)

* hotfix: Hotfix Pydantic dependency constraints.

docs: Add mention of the constraints fix

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>

chore: bump version

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>

fix: PyPi constraints for Pydantic

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>

ci: add ability to release from tag branches.

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>

* docs: add missing links

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>

* docs: fix release 1.6.3 link

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
This commit is contained in:
Yurii Serhiichuk 2022-11-22 17:03:03 +02:00 committed by GitHub
parent 81f07b6d9f
commit 119264cdfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 3 deletions

View File

@ -5,6 +5,7 @@ on:
push: push:
branches: branches:
- main - main
- 'tag/v**'
jobs: jobs:
build_dist: build_dist:

View File

@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [Unreleased]
## [1.7.1] — 2022-11-21
### Fixed
- Fixed Pydantic extras dependency constraint (backport of v1.6.3, [#204])
### Changed ### Changed
- Refined build and publishing process. Added SDist to the released package ([#202]) - Refined build and publishing process. Added SDist to the released package ([#202])
@ -13,6 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added [Kafka](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/bindings/kafka-protocol-binding.md) - Added [Kafka](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/bindings/kafka-protocol-binding.md)
support ([#197], thanks [David Martines](https://github.com/davidwmartines)) support ([#197], thanks [David Martines](https://github.com/davidwmartines))
## [1.6.3] — 2022-11-21
### Fixed
- Fixed Pydantic extras dependency constraint ([#204])
## [1.6.2] — 2022-10-18 ## [1.6.2] — 2022-10-18
### Added ### Added
- Added `get_attributes` API to the `CloudEvent` API. The method returns a read-only - 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
### Added ### Added
- Initial release - Initial release
[1.7.1]: https://github.com/cloudevents/sdk-python/compare/1.7.0...1.7.1
[1.7.0]: https://github.com/cloudevents/sdk-python/compare/1.6.0...1.7.0 [1.7.0]: https://github.com/cloudevents/sdk-python/compare/1.6.0...1.7.0
[1.6.3]: https://github.com/cloudevents/sdk-python/compare/1.6.2...1.6.3
[1.6.2]: https://github.com/cloudevents/sdk-python/compare/1.6.1...1.6.2 [1.6.2]: https://github.com/cloudevents/sdk-python/compare/1.6.1...1.6.2
[1.6.1]: https://github.com/cloudevents/sdk-python/compare/1.6.0...1.6.1 [1.6.1]: https://github.com/cloudevents/sdk-python/compare/1.6.0...1.6.1
[1.6.0]: https://github.com/cloudevents/sdk-python/compare/1.5.0...1.6.0 [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
[#195]: https://github.com/cloudevents/sdk-python/pull/195 [#195]: https://github.com/cloudevents/sdk-python/pull/195
[#197]: https://github.com/cloudevents/sdk-python/pull/197 [#197]: https://github.com/cloudevents/sdk-python/pull/197
[#202]: https://github.com/cloudevents/sdk-python/pull/202 [#202]: https://github.com/cloudevents/sdk-python/pull/202
[#204]: https://github.com/cloudevents/sdk-python/pull/204

View File

@ -12,4 +12,4 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
__version__ = "1.7.0" __version__ = "1.7.1"

View File

@ -71,8 +71,8 @@ if __name__ == "__main__":
install_requires=["deprecation>=2.0,<3.0"], install_requires=["deprecation>=2.0,<3.0"],
extras_require={ extras_require={
"pydantic": [ "pydantic": [
"pydantic>=1.0.0<1.9.0; python_version <= '3.6'", "pydantic>=1.0.0,<1.9.0;python_version<'3.7'",
"pydantic>=1.0.0<2.0; python_version > '3.6'", "pydantic>=1.0.0,<2.0;python_version>='3.7'",
], ],
}, },
) )