From c1163ae57128cb398a70c3dce3bfd816fc3599f0 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Wed, 13 Sep 2023 11:59:51 -0400 Subject: [PATCH] change typing-extensions to be installed only with the [typing] extra (#276) --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a8f31d0..e0bb2c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,9 +38,6 @@ classifiers = [ dynamic = [ "version", ] -dependencies = [ - 'typing-extensions>=4.7.1; python_version < "3.11"', -] optional-dependencies.docs = [ "furo>=2023.7.26", "sphinx>=7.1.2", @@ -55,6 +52,9 @@ optional-dependencies.testing = [ "pytest-mock>=3.11.1", "pytest-timeout>=2.1", ] +optional-dependencies.typing = [ + 'typing-extensions>=4.7.1; python_version < "3.11"', +] urls.Documentation = "https://py-filelock.readthedocs.io" urls.Homepage = "https://github.com/tox-dev/py-filelock" urls.Source = "https://github.com/tox-dev/py-filelock"