diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 6c772c1d..7b7bf753 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -16,8 +16,7 @@ build: - pip install poetry==1.8.4 # Tell poetry to not use a virtual environment - poetry config virtualenvs.create false - post_install: - - poetry install -E "all" --with docs + # - poetry export --with docs -E all -f requirements.txt --output docs/requirements.txt # Build documentation in the "docs/" directory with Sphinx sphinx: @@ -35,7 +34,10 @@ sphinx: # to build your documentation # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html # python: -# install: +# install: # - method: pip # path: . # - requirements: docs/requirements.txt +python: + install: + - method: poetry diff --git a/poetry.lock b/poetry.lock index 288e29af..d7cf7b64 100644 --- a/poetry.lock +++ b/poetry.lock @@ -4101,23 +4101,6 @@ brotli = ["brotli (==1.0.9)", "brotli (>=1.0.9)", "brotlicffi (>=0.8.0)", "brotl secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "ipaddress", "pyOpenSSL (>=0.14)", "urllib3-secure-extra"] socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] -[[package]] -name = "urllib3" -version = "2.2.3" -description = "HTTP library with thread-safe connection pooling, file post, and more." -optional = false -python-versions = ">=3.8" -files = [ - {file = "urllib3-2.2.3-py3-none-any.whl", hash = "sha256:ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac"}, - {file = "urllib3-2.2.3.tar.gz", hash = "sha256:e7d814a81dad81e6caf2ec9fdedb284ecc9c73076b62654547cc64ccdcae26e9"}, -] - -[package.extras] -brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] -h2 = ["h2 (>=4,<5)"] -socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] -zstd = ["zstandard (>=0.18.0)"] - [[package]] name = "uvicorn" version = "0.34.0" @@ -4584,4 +4567,4 @@ sqs = ["boto3", "botocore", "urllib3"] [metadata] lock-version = "2.0" python-versions = ">=3.8,<4.0" -content-hash = "40da38628f67951229fc295f5e925f83674a5222a18d0f4c525d1122bedf3302" +content-hash = "a5cbca97a1a13d4a8fccdea15a97d41f9db72cc35c40340e6eb533042386abf9" diff --git a/pyproject.toml b/pyproject.toml index c415504b..041457d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,7 +82,7 @@ redis = { version = "*", optional = true } python-memcached = { version = "*", optional = true } boto3 = { version = "*", optional = true } botocore = { version = "*", optional = true } -urllib3 = { version = "*", optional = true } +urllib3 = { version = ">=1.26.16,<2.0", optional = true } tenacity = ">=9.0.0" pytest-docker-tools = ">=3.1.3" docker = "^7.1.0"