From aa58273f52afab52d3dd00b2c6cf3b472c6ee20d Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Thu, 21 Nov 2024 17:44:29 +0000 Subject: [PATCH] Don't require importlib_metadata on Python 3.10+ --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index de5da1e8..582ccaa9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,7 @@ dependencies = [ "requests >= 2.20", "requests-toolbelt >= 0.8.0, != 0.9.0", "urllib3 >= 1.26.0", - "importlib-metadata >= 3.6", + "importlib-metadata >= 3.6; python_version < '3.10'", # workaround for missing binaries on these platforms, see #1158 "keyring >= 15.1; platform_machine != 'ppc64le' and platform_machine != 's390x'", "rfc3986 >= 1.4.0",