Skip to content
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

types-requests, types-influxdb-client: add note to the PyPI readme about the urllib3 pin #10839

Merged
merged 1 commit into from
Oct 5, 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
7 changes: 7 additions & 0 deletions stubs/influxdb-client/METADATA.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ upstream_repository = "https://github.com/influxdata/influxdb-client-python"
# requires a version of urllib3 with a py.typed file
requires = ["urllib3>=2"]

extra_description = """\
Note: `types-influxdb-client` has required `urllib3>=2` since v1.37.0.1. \
If you need to install `types-influxdb-client` into an environment \
that must also have `urllib3<2` installed into it, \
you will have to use `types-influxdb-client<1.37.0.1`.\
"""

[tool.stubtest]
extras = ["extra"]
stubtest_requirements = ["aiohttp"]
6 changes: 6 additions & 0 deletions stubs/requests/METADATA.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ version = "2.31.*"
upstream_repository = "https://github.com/psf/requests"
# requires a version of urllib3 with a py.typed file
requires = ["urllib3>=2"]
extra_description = """\
Note: `types-requests` has required `urllib3>=2` since v2.31.0.7. \
If you need to install `types-requests` into an environment \
that must also have `urllib3<2` installed into it, \
you will have to use `types-requests<2.31.0.7`.\
"""

[tool.stubtest]
extras = ["socks"]