Skip to content

Commit bb6b9cf

Browse files
authored
Merge pull request #619 from dajiaji/ajitomi-fix-post-install-on-readthedocs-config-3
Fix post_install to use virtual env.
2 parents 8de2a12 + 24bd51a commit bb6b9cf

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.readthedocs.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,11 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: "3.13"
6+
python: "3.12"
77
jobs:
8-
post_create_environment:
9-
# Install poetry
10-
- pip install poetry
11-
# Tell poetry to not use a virtual environment
12-
- poetry config virtualenvs.create false
138
post_install:
14-
# Install dependencies
15-
- poetry install --only main,docs
9+
- pip install poetry
10+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
1611

1712
sphinx:
1813
configuration: docs/conf.py

0 commit comments

Comments
 (0)