Skip to content

Commit 2320bd1

Browse files
committed
fix: Update readthedocs.yaml
1 parent 2026b18 commit 2320bd1

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.readthedocs.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@ build:
77
apt_packages:
88
- graphviz
99
jobs:
10-
post_install:
11-
- pip install poetry==2.0.1
12-
- poetry config virtualenvs.create false
10+
pre_install:
11+
- python -m pip install poetry==2.0.1
12+
- poetry config virtualenvs.create false --local
1313
- poetry install -E git -E s3 --with docs
14+
- poetry export -E git -E s3 --with docs -f requirements.txt --without-hashes --output docs/requirements.txt
15+
16+
python:
17+
install:
18+
- requirements: docs/requirements.txt
1419

1520
sphinx:
1621
builder: dirhtml

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ classifiers = [
1919
"Programming Language :: Python :: 3.12",
2020
]
2121

22+
[tool.poetry.requires-plugins]
23+
poetry-plugin-export = ">=1.8"
24+
2225
[tool.poetry.dependencies]
2326
python = ">=3.9,<3.13" # Airflow providers require this upper boundary
2427

0 commit comments

Comments
 (0)