aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2024-10-22 05:40:25 +0000
committerGitHub <noreply@github.com>2024-10-22 05:40:25 +0000
commit87884f15580910e4e0fe0e1db73508debc657471 (patch)
treec0c046dd173f2b25df5f754721ed541951431c7f
parent2a246749ec5ead2c6b485e702a1c54c79bd0e51a (diff)
[build] Move optional dependencies to the `default` group (#11255)
Closes #11221 Authored by: bashonly
-rw-r--r--pyproject.toml8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 5439db1df..ff5e38ff5 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -42,7 +42,10 @@ classifiers = [
"Operating System :: OS Independent",
]
dynamic = ["version"]
-dependencies = [
+dependencies = []
+
+[project.optional-dependencies]
+default = [
"brotli; implementation_name=='cpython'",
"brotlicffi; implementation_name!='cpython'",
"certifi",
@@ -52,9 +55,6 @@ dependencies = [
"urllib3>=1.26.17,<3",
"websockets>=13.0",
]
-
-[project.optional-dependencies]
-default = []
curl-cffi = [
"curl-cffi==0.5.10; os_name=='nt' and implementation_name=='cpython'",
"curl-cffi>=0.5.10,!=0.6.*,<0.7.2; os_name!='nt' and implementation_name=='cpython'",