Skip to content

[🐛 Bug]: The latest version of Selenium does not support the latest version of urllib3 #11988

@mdmintz

Description

@mdmintz

What happened?

Can't install the latest version of urllib3 (2.0.1) because selenium 4.9.0 depends on urllib3[socks]~=1.26.

The latest version of urllib3 is 2.0.1.

Now that requests 2.30.0 has been released, which supports the latest urllib3, it's now selenium that's holding things back. urllib3[socks]~=1.26 should be changed to urllib3[socks]>=1.26 (or similar) to allow the latest version of requests.

How can we reproduce the issue?

``pip install selenium`` and then ``pip install urllib3==2.0.1``

Relevant log output

The conflict is caused by:
    <PACKAGE> depends on urllib3[socks]==2.0.1
    selenium 4.9.0 depends on urllib3[socks]~=1.26


### Operating System

All of them

### Selenium version

Python 4.9.0

### What are the browser(s) and version(s) where you see this issue?

Irrelevant 

### What are the browser driver(s) and version(s) where you see this issue?

Irrelevant 

### Are you using Selenium Grid?

Irrelevant 

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-pyPython BindingsI-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions