Skip to content
Open
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
1 change: 1 addition & 0 deletions examples/cloud_run_cloud_events/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Optionally include additional dependencies here
cloudevents>=1.2.0
requests
urllib3>=2.6.3 # not directly required, pinned by Snyk to avoid a vulnerability

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Avoid requiring urllib3>=2.6.3 on Python 3.7

examples/cloud_run_cloud_events/Dockerfile builds this sample on python:3.7-slim, but urllib3 2.6.3’s metadata requires a newer Python version, so pip install -r requirements.txt will fail for the example’s default image. If you need to keep Python 3.7 here, cap urllib3 to the newest version that still supports 3.7 or bump the example’s base image to a compatible Python version.

Useful? React with 👍 / 👎.