-
Notifications
You must be signed in to change notification settings - Fork 6.7k
chore(multiple samples) Updating all instances of requests dependency. #14202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| google-api-python-client==2.131.0 | ||
| google-auth-httplib2==0.2.0 | ||
| google-auth==2.38.0 | ||
| requests==2.32.4 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,4 +3,4 @@ Flask==2.3.3; python_version < '3.7' | |
| Werkzeug==3.0.3; python_version > '3.6' | ||
| Werkzeug==2.3.8; python_version < '3.7' | ||
| gunicorn==23.0.0 | ||
| requests[security]==2.31.0 | ||
| requests[security]==2.34.2; python_version >= '3.10' | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| Flask==3.0.3 | ||
| gunicorn==23.0.0 | ||
| requests[security]==2.31.0 | ||
| requests[security]==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| Flask==3.0.3 | ||
| gunicorn==23.0.0 | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| Flask==3.0.3 | ||
| gunicorn==23.0.0 | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| Flask==1.1.4 # it seems like Flask-sockets doesn't play well with 2.0+ | ||
| Flask-Sockets==0.2.1 | ||
| gunicorn==23.0.0 | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| markupsafe==2.0.1 | ||
| Werkzeug==1.0.1; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| Flask==1.1.4; python_version < '3.0' | ||
| Flask==3.0.0; python_version > '3.0' | ||
| requests==2.27.1 | ||
| requests-toolbelt==0.10.1 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| requests-toolbelt==1.0.0 | ||
| Werkzeug==1.0.1; python_version < '3.0' | ||
| Werkzeug==3.0.3; python_version > '3.0' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| google-auth==2.17.3 | ||
| requests==2.27.1 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| Flask==1.1.4; python_version < '3.0' | ||
| Flask==3.0.0; python_version > '3.0' | ||
| requests==2.27.1 | ||
| requests-futures==1.0.0 | ||
| requests-toolbelt==0.10.1 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| requests-futures==1.0.2 | ||
| requests-toolbelt==1.0.0 | ||
| Werkzeug==1.0.1; python_version < '3.0' | ||
| Werkzeug==3.0.3; python_version > '3.0' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| Flask==1.1.4; python_version < '3.0' | ||
| Flask==3.0.0; python_version > '3.0' | ||
| requests==2.27.1 | ||
| requests-toolbelt==0.10.1 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| requests-toolbelt==1.0.0 | ||
| Werkzeug==1.0.1; python_version < '3.0' | ||
| Werkzeug==3.0.3; python_version > '3.0' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| Flask==1.1.4; python_version < '3.0' | ||
| Flask==3.0.0; python_version > '3.0' | ||
| requests==2.27.1 | ||
| requests-toolbelt==0.10.1 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| requests-toolbelt==1.0.0 | ||
| Werkzeug==1.0.1; python_version < '3.0' | ||
| Werkzeug==3.0.3; python_version > '3.0' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| Flask==3.0.0 | ||
| google-cloud-datastore==2.15.1 | ||
| google-auth==2.17.3 | ||
| requests==2.28.2 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| Flask==3.0.0 | ||
| google-cloud-datastore==2.15.1 | ||
| google-auth==2.17.3 | ||
| requests==2.28.2 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| backoff==2.2.1 | ||
| pytest==7.1.2 | ||
| requests==2.28.2 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| backoff==2.2.1 | ||
| pytest==7.1.2 | ||
| requests==2.28.2 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| backoff==2.2.1 | ||
| pytest==7.1.2 | ||
| requests==2.28.2 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| backoff==2.2.1 | ||
| pytest==7.1.2 | ||
| requests==2.28.2 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| backoff==2.2.1 | ||
| pytest==7.1.2 | ||
| requests==2.28.2 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| backoff==2.2.1 | ||
| pytest==7.1.2 | ||
| requests==2.28.2 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| backoff==2.2.1 | ||
| pytest==7.1.2 | ||
| requests==2.28.2 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| backoff==2.2.1 | ||
| pytest==7.1.2 | ||
| requests==2.28.2 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| backoff==2.2.1 | ||
| pytest==7.1.2 | ||
| requests==2.28.2 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| requests==2.28.2 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| Flask==3.0.0 | ||
| google-auth==2.17.3 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| requests==2.32.3 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| google-cloud-storage==2.19.0 | ||
| google-auth==2.43.0 | ||
| python-dotenv==1.2.2 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| google-auth==2.19.1 | ||
| requests==2.32.4 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| pytest==8.3.5 | ||
| google-auth==2.38.0 | ||
| requests==2.32.4 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| functions-framework==3.9.2 | ||
| google-cloud-bigquery==3.30.0 | ||
| google-auth==2.38.0 | ||
| requests==2.32.4 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| google-cloud-tasks==2.18.0 | ||
| requests==2.32.4 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| pytest==8.2.0 | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| google-api-core==2.17.1 | ||
| google-resumable-media==2.7.2 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| pytest==8.2.0 | ||
| requests==2.32.2 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| google-auth==2.38.0 | ||
| requests==2.32.2 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| google-auth==2.38.0 | ||
| requests==2.32.4 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| six==1.16.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| requests==2.32.4 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| google-auth==2.38.0 | ||
| google-auth-httplib2==0.2.0 | ||
| google-cloud-storage==2.9.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| cryptography==45.0.1 | ||
| requests==2.32.4 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| google-api-python-client==2.131.0 | ||
| google-auth==2.38.0 | ||
| google-auth-httplib2==0.2.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| Flask==3.0.3 | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| Werkzeug==3.0.3 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| requests==2.32.4 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| google-auth==2.38.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -275,7 +275,7 @@ referencing==0.33.0 | |
| # jsonschema-specifications | ||
| regex==2023.12.25 | ||
| # via apache-beam | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file is autogenerated by |
||
| # via | ||
| # apache-beam | ||
| # google-api-core | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| flask==3.0.3 | ||
| pytest==8.2.0 | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| responses==0.17.0; python_version < '3.7' | ||
| responses==0.23.1; python_version > '3.6' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| functions-framework==3.9.2 | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| flask==3.0.3 | ||
| pytest==8.2.0 | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| responses==0.17.0; python_version < '3.7' | ||
| responses==0.23.1; python_version > '3.6' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| functions-framework==3.9.2 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| cryptography==45.0.1 | ||
| pem==21.2.0; python_version < '3.8' | ||
| pem==23.1.0; python_version > '3.7' | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| backoff==2.2.1 | ||
| pytest==8.2.0 | ||
| pytest-django==4.9.0 | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| pytest==8.2.0 | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| Flask==3.0.3 | ||
| gunicorn==23.0.0 | ||
| google-auth==2.38.0 | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| Werkzeug==3.0.3 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| google-auth==2.40.1 | ||
| google-cloud-run==0.10.18 | ||
| requests==2.32.3 | ||
| requests==2.34.2; python_version >= '3.10' | ||
| Flask==3.1.1 | ||
| gunicorn==23.0.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| pytest==8.2.0 | ||
| requests==2.31.0 | ||
| requests==2.34.2; python_version >= '3.10' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The addition of the
; python_version >= '3.10'environment marker without a corresponding entry for older Python versions will cause therequestslibrary to be completely omitted when installing dependencies on Python < 3.10. This will lead to anImportErrorat runtime for any environment using an older Python version. Since many samples in this repository still support Python versions as old as 3.7 or even 2.7 (as seen in otherrequirements.txtfiles), please provide a fallback version for those environments.