Skip to content

[Snyk] Security upgrade urllib3 from 1.26.15 to 2.6.0#113

Open
bozza-man wants to merge 1 commit intomasterfrom
snyk-fix-993fcdcf1c3c9490e107e6572a13b7ee
Open

[Snyk] Security upgrade urllib3 from 1.26.15 to 2.6.0#113
bozza-man wants to merge 1 commit intomasterfrom
snyk-fix-993fcdcf1c3c9490e107e6572a13b7ee

Conversation

@bozza-man
Copy link
Member

@bozza-man bozza-man commented Dec 12, 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):

  • examples/langchain/langchainpy-localai-example/requirements.txt
⚠️ Warning
equests 2.29.0 requires urllib3, which is not installed.
numexpr 2.8.4 requires numpy, 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

Upgrade urllib3 from 1.26.15 to 2.6.0 in examples/langchain/langchainpy-localai-example/requirements.txt.

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

@coderabbitai
Copy link

coderabbitai bot commented Dec 12, 2025

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch snyk-fix-993fcdcf1c3c9490e107e6572a13b7ee

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

typing-inspect==0.8.0
typing_extensions==4.5.0
urllib3==1.26.15
urllib3==2.6.0
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.x incompatible with requests 2.29.0

Upgrading urllib3 to 2.6.0 creates a dependency conflict with requests==2.29.0, which only supports urllib3<2. The requests 2.29.0 release predates urllib3 2.x compatibility, which was added in requests 2.31.0. This incompatibility will cause import errors or installation failures at runtime. The PR warning itself notes this issue. Both requests and urllib3 need to be upgraded together.

Additional Locations (1)

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.

2 participants