Skip to content

[🐛 Bug]: python selenium breaks mypy checking #16943

@kasium

Description

@kasium

Description

The python build of selenium includes types-urllib3 which breaks the checking of normal urllib3 code.

  1. this should be a dev dependency. Now I'm forced to consume this version and package when I consume selenium
  2. types-urllib3 is deprecated and had no updates since 2023 as urllib3 has type hints inline. However, in mypy types-urllib3 takes precedence and so I'm forced to consume outdated type hints for my urllib3 code.

Reproducible Code

n/a

ℹ️ Last known working version: 4.39.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    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