Skip to content

chore(deps): update PyJWT to 2.15.1 across samples - #14639

Merged
XrossFox merged 2 commits into
GoogleCloudPlatform:mainfrom
XrossFox:dependabot-alerts-pyjwt
Oct 14, 2026
Merged

XrossFox merged 2 commits into
GoogleCloudPlatform:mainfrom
XrossFox:dependabot-alerts-pyjwt

Conversation

@XrossFox

@XrossFox XrossFox commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Description

Bump PyJWT to 2.15.1 and update related dependencies to resolve Dependabot security alerts:

  • appengine/standard/firebase/firenotes/backend/requirements.txt: update pyjwt from 1.7.1 to 2.15.1 (python_version >= '3.10')
  • iap/requirements.txt: pin PyJWT to 2.15.1, update google-auth from 2.38.0 to 2.62.0, gunicorn from 23.0.0 to 26.2.0, and google-cloud-iam from ~=2.17.0 to ~=2.26.0
  • iap/requirements-test.txt: update pytest from 9.0.3 to 9.1.1 (python_version >= "3.10")
  • run/mcp-server/pyproject.toml: update google-auth from 2.49.1 to 2.62.0 and add requests==2.34.2
  • run/mcp-server/uv.lock: upgrade transitive pyjwt lock from 2.13.0 to 2.15.1, upgrade google-auth to 2.62.0, and lock requests==2.34.2 with its transitive dependencies (charset-normalizer==3.5.2, urllib3==2.8.0)

Testing & sample status notes:

  • appengine/standard/firebase/firenotes: Sample is broken and no longer in use; it will be removed in b/573257151.
  • iap: Sample cannot be tested as it was specifically designed to work with a custom GCP service and the deleted Kokoro CI. Unused samples in /iap will be addressed in b/573259646.
  • run/mcp-server: Sample has no pytest suite.

Fixes b/572892896

Checklist

Testing

  • I have tested this change on a live environment and verified it works as intended.

Compliance & Style


Post-Approval Actions

  • Please merge this PR for me once it is approved

@product-auto-label product-auto-label Bot added samples Issues that are directly related to samples. api: appengine Issues related to the App Engine Admin API API. api: iap Issues related to the Identity-Aware Proxy API. api: run Issues related to the Cloud Run API. labels Oct 12, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request updates the pyjwt dependency to version 2.15.1 across multiple requirements files. Feedback suggests simplifying the dependency specification in appengine/standard/firebase/firenotes/backend/requirements.txt by removing the unnecessary ; python_version >= '3.10' environment marker, since Python versions below 3.10 are no longer supported.

Comment thread appengine/standard/firebase/firenotes/backend/requirements.txt

@amcolin amcolin left a comment

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.

LGTM

@XrossFox
XrossFox force-pushed the dependabot-alerts-pyjwt branch from 1fdde1b to ae754dd Compare October 14, 2026 17:51
Bump PyJWT to 2.15.1 and update related dependencies to resolve Dependabot security alerts:
- appengine/standard/firebase/firenotes/backend/requirements.txt: update pyjwt from 1.7.1 to 2.15.1 (python_version >= '3.10')
- iap/requirements.txt: pin PyJWT to 2.15.1, update google-auth from 2.38.0 to 2.62.0, gunicorn from 23.0.0 to 26.2.0, and google-cloud-iam from ~=2.17.0 to ~=2.26.0
- iap/requirements-test.txt: update pytest from 9.0.3 to 9.1.1 (python_version >= "3.10")
- run/mcp-server/pyproject.toml: update google-auth from 2.49.1 to 2.62.0 and add requests==2.34.2
- run/mcp-server/uv.lock: upgrade transitive pyjwt lock from 2.13.0 to 2.15.1, upgrade google-auth to 2.62.0, and lock requests==2.34.2 with its transitive dependencies (charset-normalizer==3.5.2, urllib3==2.8.0)

Testing & sample status notes:
- appengine/standard/firebase/firenotes: Sample is broken and no longer in use; it will be removed in b/573257151.
- iap: Sample cannot be tested as it was specifically designed to work with a custom GCP service and the deleted Kokoro CI. Unused samples in /iap will be addressed in b/573259646.
- run/mcp-server: Sample has no pytest suite.
@XrossFox
XrossFox force-pushed the dependabot-alerts-pyjwt branch from ae754dd to fd40201 Compare October 14, 2026 17:55
@XrossFox
XrossFox marked this pull request as ready for review October 14, 2026 17:57
@XrossFox
XrossFox requested review from a team as code owners October 14, 2026 17:57
@XrossFox
XrossFox merged commit 08e010a into GoogleCloudPlatform:main Oct 14, 2026
10 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: appengine Issues related to the App Engine Admin API API. api: iap Issues related to the Identity-Aware Proxy API. api: run Issues related to the Cloud Run API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants