Skip to content

Commit cc2b9b5

Browse files
authored
fix: Pin cloudevent sdk version to support python3.7. (#373)
* fix: Pin cloudevent sdk version to support python3.7. * Pin cloudevent version on examples. * Pin cloudevent versions.
1 parent 0ab5f03 commit cc2b9b5

File tree

7 files changed

+10
-7
lines changed

7 files changed

+10
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Optionally include additional dependencies here
2-
cloudevents>=1.2.0
2+
cloudevents==1.11.0 # Pin version - last version compatible w/ python3.7
33
requests
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
# Optionally include additional dependencies here
2+
cloudevents==1.11.0 # Pin version - last version compatible w/ python3.7
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
# Optionally include additional dependencies here
2+
cloudevents==1.11.0 # Pin version - last version compatible w/ python3.7
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
# Optionally include additional dependencies here
2+
cloudevents==1.11.0 # Pin version - last version compatible w/ python3.7
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
# Add any Python requirements here
2+
cloudevents==1.11.0 # Pin version - last version compatible w/ python3.7

examples/skaffold/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
# Add any Python requirements here
2+
cloudevents==1.11.0 # Pin version - last version compatible w/ python3.7

pyproject.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ readme = "README.md"
66
requires-python = ">=3.5, <4"
77
# Once we drop support for Python 3.7 and 3.8, this can become
88
# license = "Apache-2.0"
9-
license = {text = "Apache-2.0"}
10-
authors = [
11-
{ name = "Google LLC", email = "googleapis-packages@google.com" }
12-
]
9+
license = { text = "Apache-2.0" }
10+
authors = [{ name = "Google LLC", email = "googleapis-packages@google.com" }]
1311
maintainers = [
14-
{ name = "Google LLC", email = "googleapis-packages@google.com" }
12+
{ name = "Google LLC", email = "googleapis-packages@google.com" },
1513
]
1614
keywords = ["functions-framework"]
1715
classifiers = [
@@ -29,7 +27,7 @@ dependencies = [
2927
"click>=7.0,<9.0",
3028
"watchdog>=1.0.0",
3129
"gunicorn>=22.0.0; platform_system!='Windows'",
32-
"cloudevents>=1.2.0,<2.0.0",
30+
"cloudevents>=1.2.0,<=1.11.0", # Must support python 3.7
3331
"Werkzeug>=0.14,<4.0.0",
3432
]
3533

0 commit comments

Comments
 (0)