Skip to content

[🐛 Bug]: 4.1.4 Released but only working with Python 3.8+ #10612

@fofiedelly

Description

@fofiedelly

What happened?

The new release 4.1.4 is out and is only usable for Python 3.8+
because it relies on version 'Literal' from 'typing' which is only available on version 3.8+ of Python.

cannot import name 'Literal' from 'typing' (/usr/local/lib/python3.7/typing.py)

How can we reproduce the issue?

Just run a python script using selenium with python < 3.8

Relevant log output

'Literal' from 'typing'

Operating System

MacOS,Linux

Selenium version

4.1.4

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

Chrome

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

Chrome

Are you using Selenium Grid?

No response

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