Skip to content

Commit 97e6a39

Browse files
authored
Use optional-dependencies for third-party packages (#16089)
1 parent a6af071 commit 97e6a39

15 files changed

Lines changed: 18 additions & 17 deletions

File tree

stubs/Deprecated/METADATA.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
version = "~=1.3.1"
22
upstream-repository = "https://github.com/laurent-laporte-pro/deprecated"
3-
dependencies = []

stubs/Flask-SocketIO/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version = "5.6.*"
2-
dependencies = ["Flask>=0.9"]
32
upstream-repository = "https://github.com/miguelgrinberg/flask-socketio"
3+
dependencies = ["Flask>=0.9"]

stubs/Pygments/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version = "2.20.*"
22
upstream-repository = "https://github.com/pygments/pygments"
3-
dependencies = ["types-docutils"]
3+
optional-dependencies = ["types-docutils"]
44
partial-stub = true
55

66
[tool.stubtest]

stubs/bleach/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version = "6.4.*"
2-
dependencies = ["types-html5lib"]
32
upstream-repository = "https://github.com/mozilla/bleach"
3+
dependencies = ["types-html5lib"]
44

55
[tool.stubtest]
66
extras = ["css"]

stubs/click-log/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version = "0.4.*"
2-
dependencies = ["click>=8.0.0"]
32
upstream-repository = "https://github.com/click-contrib/click-log"
3+
dependencies = ["click>=8.0.0"]

stubs/click-web/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version = "0.8.*"
2-
dependencies = ["click>=8.0.0", "Flask>=2.3.2"]
32
upstream-repository = "https://github.com/fredrik-corneliusson/click-web"
3+
dependencies = ["click>=8.0.0", "Flask>=2.3.2"]

stubs/docker/METADATA.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
version = "7.2.*"
22
upstream-repository = "https://github.com/docker/docker-py"
3-
dependencies = ["types-paramiko", "types-requests", "urllib3>=2"]
3+
dependencies = ["types-requests", "urllib3>=2"]
4+
optional-dependencies = ["types-paramiko"]

stubs/geopandas/METADATA.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Requires a version of numpy with a `py.typed` file
21
version = "1.1.4"
3-
dependencies = ["numpy>=1.20", "pandas-stubs", "types-shapely", "pyproj"]
42
upstream-repository = "https://github.com/geopandas/geopandas"
3+
# Requires a version of numpy with a `py.typed` file
4+
dependencies = ["numpy>=1.20", "pandas-stubs", "types-shapely", "pyproj"]
55

66
[tool.stubtest]
77
# libproj-dev and proj-bin are required to build pyproj if wheels for the

stubs/gunicorn/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version = "26.0.0"
22
upstream-repository = "https://github.com/benoitc/gunicorn"
3-
dependencies = ["types-gevent"]
3+
optional-dependencies = ["types-gevent"]
44

55
[tool.stubtest]
66
supported-platforms = ["linux", "darwin"]

stubs/hnswlib/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
version = "0.8.*"
2+
upstream-repository = "https://github.com/nmslib/hnswlib"
23
# Requires a version of numpy with a `py.typed` file
34
dependencies = ["numpy>=1.21"]
4-
upstream-repository = "https://github.com/nmslib/hnswlib"

0 commit comments

Comments
 (0)