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
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ tabulate
validators
ConfigParser
fake_useragent
requests[security]
requests[security]
urllib3>=2.6.0 # not directly required, pinned by Snyk to avoid a vulnerability
Copy link

Choose a reason for hiding this comment

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

Bug: urllib3 2.6.0 incompatible with Python 2 codebase

The pinned urllib3>=2.6.0 dependency is incompatible with this codebase. The application in wp/utils.py uses Python 2 syntax (reload(sys), from urlparse import, except ImportError, error:, print statements without parentheses). urllib3 2.x dropped Python 2 support entirely and requires Python 3.7+. Installing this version will break the application as the dependency cannot be imported in a Python 2 environment.

Fix in Cursor Fix in Web