From dd22eb421c725e293317c70e9d71af9ae80fef01 Mon Sep 17 00:00:00 2001 From: Nikita Pastukhov Date: Fri, 7 Jun 2024 18:18:42 +0300 Subject: [PATCH] chore: limit typing-extensions version only for tests --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fce5418594..6d384fd3a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,8 +58,7 @@ dependencies = [ "anyio>=3.7.1,<5", "fast-depends>=2.4.0b0,<2.5.0", "typer>=0.9,!=0.12,<1", - "typing-extensions>=4.8.0,<4.12.1; python_version < '3.9'", - "typing-extensions>=4.8.0; python_version >= '3.9'", + "typing-extensions>=4.8.0", ] [project.optional-dependencies] @@ -123,6 +122,7 @@ test-core = [ "pytest==8.2.1", "pytest-asyncio==0.23.7", "dirty-equals==0.7.1.post0", + "typing-extensions>=4.8.0,<4.12.1; python_version < '3.9'", # to fix dirty-equals ] testing = [