Skip to content

fix:Compatible with Python 3.7.x#1783

Merged
r0x0r merged 1 commit intor0x0r:masterfrom
vchenpeng:fix_3.7.x
Mar 5, 2026
Merged

fix:Compatible with Python 3.7.x#1783
r0x0r merged 1 commit intor0x0r:masterfrom
vchenpeng:fix_3.7.x

Conversation

@vchenpeng
Copy link
Copy Markdown
Contributor

@vchenpeng vchenpeng commented Mar 5, 2026

Before 5.x and 6.0 can run normally in python 3.7 environment, but pywebview v6.1 starts because it uses python 3.8 version specific syntax. The original code is as follows. In python 3.8 environment below, the error is reported.

The minimum requirement for the get_args package is Python 3.8+.

from typing import Any, Callable, cast, get_args

from typing_extensions import Literal, TypeAlias

to

from typing import Any, Callable, cast

from typing_extensions import Literal, TypeAlias, get_args

@r0x0r r0x0r merged commit 345596c into r0x0r:master Mar 5, 2026
7 checks passed
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