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

This commit is contained in:
Alex Waygood
2023-10-05 12:12:47 +01:00
committed by GitHub
parent 863423fbfe
commit 011f24794d
2 changed files with 13 additions and 0 deletions

View File

@@ -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"]

View File

@@ -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"]