Skip to content

Commit 0a75bd5

Browse files
committed
Fix RTD
1 parent b61f66c commit 0a75bd5

File tree

3 files changed

+8
-26
lines changed

3 files changed

+8
-26
lines changed

.readthedocs.yaml

+6-7
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ build:
1616
- pip install poetry==1.8.4
1717
# Tell poetry to not use a virtual environment
1818
- poetry config virtualenvs.create false
19-
post_install:
20-
- poetry install -E "all" --with docs
19+
- poetry export --with docs -E all -f requirements.txt --output docs/requirements.txt
2120

2221
# Build documentation in the "docs/" directory with Sphinx
2322
sphinx:
@@ -34,8 +33,8 @@ sphinx:
3433
# Optional but recommended, declare the Python requirements required
3534
# to build your documentation
3635
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
37-
# python:
38-
# install:
39-
# - method: pip
40-
# path: .
41-
# - requirements: docs/requirements.txt
36+
python:
37+
install:
38+
- method: pip
39+
path: .
40+
- requirements: docs/requirements.txt

poetry.lock

+1-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ redis = { version = "*", optional = true }
8282
python-memcached = { version = "*", optional = true }
8383
boto3 = { version = "*", optional = true }
8484
botocore = { version = "*", optional = true }
85-
urllib3 = { version = "*", optional = true }
85+
urllib3 = { version = ">=1.26.16,<2.0", optional = true }
8686
tenacity = ">=9.0.0"
8787
pytest-docker-tools = ">=3.1.3"
8888
docker = "^7.1.0"

0 commit comments

Comments
 (0)