Skip to content

Commit 96b80ec

Browse files
committed
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>
1 parent 6648eb5 commit 96b80ec

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.github/workflows/pypi-release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- 'tag/v**'
78

89
jobs:
910
build-and-publish:

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [1.6.3] — 2022-11-21
10+
### Fixed
11+
- Fixed Pydantic extras dependency constraint.
12+
913
## [1.6.2] — 2022-10-18
1014
### Added
1115
- Added `get_attributes` API to the `CloudEvent` API. The method returns a read-only

cloudevents/__init__.py

+1-1
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.6.2"
15+
__version__ = "1.6.3"

setup.py

+2-2
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)