Skip to content

Remove stubs for urllib3 #10812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion pyrightconfig.stricter.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"stubs/stripe",
"stubs/tqdm",
"stubs/ttkthemes",
"stubs/urllib3",
"stubs/vobject",
"stubs/WebOb",
"stubs/workalendar",
Expand Down
3 changes: 2 additions & 1 deletion stubs/influxdb-client/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version = "1.37.*"
upstream_repository = "https://github.com/influxdata/influxdb-client-python"
requires = ["types-urllib3"]
# requires a version of urllib3 with a py.typed file
requires = ["urllib3>=2"]

[tool.stubtest]
extras = ["extra"]
Expand Down
4 changes: 0 additions & 4 deletions stubs/requests/@tests/stubtest_allowlist.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# Re-exports from urllib3 (should be fixed in those stubs, not here)
requests\.adapters\.PoolManager\..*
requests\.adapters\.Retry\..*

# Loop variables that leak into the global scope
requests.packages.mod
requests.packages.package
Expand Down
3 changes: 2 additions & 1 deletion stubs/requests/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version = "2.31.*"
upstream_repository = "https://github.com/psf/requests"
requires = ["types-urllib3"]
# requires a version of urllib3 with a py.typed file
requires = ["urllib3>=2"]

[tool.stubtest]
extras = ["socks"]
31 changes: 0 additions & 31 deletions stubs/urllib3/@tests/stubtest_allowlist.txt

This file was deleted.

8 changes: 0 additions & 8 deletions stubs/urllib3/METADATA.toml

This file was deleted.

28 changes: 0 additions & 28 deletions stubs/urllib3/urllib3/__init__.pyi

This file was deleted.

55 changes: 0 additions & 55 deletions stubs/urllib3/urllib3/_collections.pyi

This file was deleted.

56 changes: 0 additions & 56 deletions stubs/urllib3/urllib3/connection.pyi

This file was deleted.

129 changes: 0 additions & 129 deletions stubs/urllib3/urllib3/connectionpool.pyi

This file was deleted.

Empty file.
45 changes: 0 additions & 45 deletions stubs/urllib3/urllib3/contrib/socks.pyi

This file was deleted.

Loading