Skip to content

[🐛 Bug]: Inconsistency between the code on github and on pypi #15982

@KanorUbu

Description

@KanorUbu

Description

Hello

I noticed that selenium does not accept version 2.5.0 of urllib3 even though the source code allows it
https://github.com/SeleniumHQ/selenium/blob/selenium-4.34.0/py/pyproject.toml#L28

Is this normal?

For your information, version 3.5 sets two cve CVE-2025-50181 & CVE-2025-50182

Reproducible Code

pip install urllib3==2.5.0  selenium==4.34.0

Debugging Logs

Requirement already satisfied: urllib3==2.5.0 in ./virtual_python/lib/python3.11/site-packages (2.5.0)
Requirement already satisfied: selenium==4.34.0 in ./virtual_python/lib/python3.11/site-packages (4.34.0)
INFO: pip is looking at multiple versions of selenium to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install selenium==4.34.0 and urllib3==2.5.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested urllib3==2.5.0
    selenium 4.34.0 depends on urllib3~=2.4.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict


[notice] A new release of pip is available: 25.0.1 -> 25.1.1
[notice] To update, run: pip install --upgrade pip
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!C-pyPython BindingsI-defectSomething is not working as intendedI-regressionSomething was working but we "fixed" itOS-linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions