Skip to content
Draft
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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==3.1.3; python_version >= '3.9'
pyjwt==1.7.1; python_version < '3.0'
pyjwt==2.15.1; python_version >= '3.10'

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.

medium

Since Python versions below 3.10 are no longer supported, we should avoid specifying unnecessary environment markers like ; python_version >= '3.10'. We can simplify this by specifying pyjwt==2.15.1 directly, which is also consistent with how it is defined in iap/requirements.txt.

pyjwt==2.15.1
References
  1. Do not specify fallback dependency versions or environment markers for Python versions older than 3.10, as Python versions below 3.10 are no longer supported.

flask-cors==6.0.0
google-auth==2.17.3; python_version < '3.0'
google-auth==2.17.3; python_version > '3.0'
Expand Down
2 changes: 1 addition & 1 deletion iap/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ requests==2.34.2
requests-toolbelt==1.0.0
Werkzeug==3.1.8; python_version >= '3.9'
google-cloud-iam~=2.17.0
PyJWT~=2.10.1
PyJWT==2.15.1
Loading
Loading