Skip to content

Conversation

@chrispetrou
Copy link
Owner

@chrispetrou chrispetrou commented Dec 9, 2025

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • requirements.txt
⚠️ Warning
equests 2.31.0 requires urllib3, which is not installed.

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Allocation of Resources Without Limits or Throttling


Note

Pins urllib3 to >=2.6.0 in requirements and retains requests[security].

  • Dependencies:
    • Pin urllib3>=2.6.0 in requirements.txt to address a vulnerability.
    • Keep requests[security] explicitly listed.

Written by Cursor Bugbot for commit b8a9967. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on January 15

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

fake_useragent
requests[security] No newline at end of file
requests[security]
urllib3>=2.6.0 # not directly required, pinned by Snyk to avoid a vulnerability No newline at end of file
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants