diff options
author | Michal Vasilek <michal@vasilek.cz> | 2023-01-13 10:20:49 +0100 |
---|---|---|
committer | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2023-01-15 11:59:36 +0100 |
commit | 8581d9d26ae76ea3d5719bdd9a0e103bf79e1528 (patch) | |
tree | a8a42ea21bedbf9345b578d27ce79fec6e365d0e /pyproject.toml | |
parent | 9eb8c47ddb6b48e14dbdb87bb1b02fcb580cb20d (diff) | |
download | astroid-git-8581d9d26ae76ea3d5719bdd9a0e103bf79e1528.tar.gz |
Do not require typing_extensions on Python 3.11
19878a55e61ce8788db530240dba9570706a5aac added an unconditional
dependency on typing_extensions to fix tests with Python 3.10 3.11.
This commit fixes this issue by only requiring typing_extensions on
Python versions lower than 3.11 and using standard typing on Python 3.11
and newer.
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml index 537bca9a..3fac032e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,7 @@ dependencies = [ "wrapt>=1.14,<2;python_version>='3.11'", "wrapt>=1.11,<2;python_version<'3.11'", "typed-ast>=1.4.0,<2.0;implementation_name=='cpython' and python_version<'3.8'", - "typing-extensions>=4.0.0", + "typing-extensions>=4.0.0;python_version<'3.11'", ] dynamic = ["version"] |