Skip to content

Relax dependency on typing-extensions#284

Merged
asvetlov merged 2 commits intopytest-dev:masterfrom
gazorby:master
Feb 7, 2022
Merged

Relax dependency on typing-extensions#284
asvetlov merged 2 commits intopytest-dev:masterfrom
gazorby:master

Conversation

@gazorby
Copy link
Copy Markdown
Contributor

@gazorby gazorby commented Feb 5, 2022

We only use typing_extensions for the Literal type, which is available starting from version 3.7.2, so we don't necessarily need typing_extensions>=4.0

Copy link
Copy Markdown
Contributor

@asvetlov asvetlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
I have a feeling that the PR doesn't make much value (while definitely doesn't harm).
Typing system involves fast, the fresh typing-extensions version is crucial for adopting such changes.
Say, I have a plan to use ParamSpec + Concatenate once is is fully supported by mypy.

@asvetlov asvetlov merged commit a92d894 into pytest-dev:master Feb 7, 2022
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