Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eventarc/audit-storage/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==3.0.3
gunicorn==23.0.0
cloudevents==1.11.0
cloudevents==2.0.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

Upgrading cloudevents to v2.0.0 is a major version change and a complete rewrite of the library, as indicated in its release notes. This update introduces significant breaking API changes (e.g., how CloudEvent attributes and data are accessed, and potentially the CloudEvent constructor). The Python source files that utilize cloudevents (e.g., eventarc/audit-storage/main.py, eventarc/audit_iam/main.py, functions/v2/audit_log/main.py, etc.) have not been updated to reflect these changes. This will likely lead to runtime errors. Please consult the cloudevents v2.0.0 migration guide for details on necessary code modifications.

2 changes: 1 addition & 1 deletion eventarc/audit_iam/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.0.3
gunicorn==23.0.0
google-events==0.14.0
cloudevents==1.11.0
cloudevents==2.0.0
googleapis-common-protos==1.66.0
2 changes: 1 addition & 1 deletion eventarc/storage_handler/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==3.0.3
gunicorn==23.0.0
google-events==0.14.0
cloudevents==1.11.0
cloudevents==2.0.0
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.3.5
cloudevents==1.11.0
cloudevents==2.0.0
2 changes: 1 addition & 1 deletion functions/v2/audit_log/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.2.0
cloudevents==1.11.0
cloudevents==2.0.0
2 changes: 1 addition & 1 deletion functions/v2/datastore/hello-datastore/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ google-events==0.14.0
google-cloud-datastore==2.20.2
google-api-core==2.17.1
protobuf==4.25.8
cloudevents==1.11.0
cloudevents==2.0.0
2 changes: 1 addition & 1 deletion functions/v2/firebase/hello-firestore/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ functions-framework==3.9.2
google-events==0.14.0
google-api-core==2.17.1
protobuf==4.25.6
cloudevents==1.11.0
cloudevents==2.0.0
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
functions-framework==3.9.2
cloudevents==1.11.0
cloudevents==2.0.0
2 changes: 1 addition & 1 deletion functions/v2/firebase/hello-rtdb/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
functions-framework==3.9.2
cloudevents==1.11.0
cloudevents==2.0.0
2 changes: 1 addition & 1 deletion functions/v2/firebase/upper-firestore/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ google-events==0.14.0
google-api-core==2.17.1
protobuf==4.25.6
google-cloud-firestore==2.19.0
cloudevents==1.11.0
cloudevents==2.0.0
2 changes: 1 addition & 1 deletion functions/v2/label_gce_instance/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest==8.2.0
backoff==2.2.1; python_version < "3.7"
backoff==2.2.1; python_version >= "3.7"
cloudevents==1.11.0
cloudevents==2.0.0
2 changes: 1 addition & 1 deletion functions/v2/ocr/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cloudevents==1.11.0
cloudevents==2.0.0
pytest==8.2.0
2 changes: 1 addition & 1 deletion functions/v2/storage/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==8.2.0
cloudevents==1.11.0
cloudevents==2.0.0
2 changes: 1 addition & 1 deletion functions/v2/storage/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
functions-framework==3.9.2
cloudevents==1.11.0
cloudevents==2.0.0