Skip to content

Commit 91e6a4a

Browse files
committed
Readthedocs sphinx downgrade fix
1 parent 8e92c42 commit 91e6a4a

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.readthedocs.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,17 @@ sphinx:
1010
formats: all
1111

1212
build:
13-
os: ubuntu-20.04
13+
os: ubuntu-24.04
14+
apt_packages:
15+
- pipx
1416
tools:
15-
python: "3.9"
17+
python: "3.12"
1618
jobs:
17-
post_create_environment:
19+
post_system_dependencies:
20+
- pipx ensurepath
21+
pre_create_environment:
1822
# Install poetry
19-
- pip install poetry
23+
- PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin PIPX_MAN_DIR=/usr/local/share/man pipx install poetry==1.7.1
2024
# Tell poetry to not use a virtual environment
2125
- poetry config virtualenvs.create false
2226
post_install:

0 commit comments

Comments
 (0)