Skip to content

Commit

Permalink
ci(.readthedocs.yaml): update poetry using pre-release 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
huynguyengl99 committed Jun 3, 2024
1 parent 7ce4b77 commit 7e11664
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ build:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
- pip install poetry@git+https://github.com/radoering/poetry.git@pep621-support
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
# VIRTUAL_ENV needs to be set manually for now.
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --only docs
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install

sphinx:
configuration: docs/conf.py
6 changes: 3 additions & 3 deletions tests/test_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@
"default": {
"ENGINE": "psqlextra.backend",
"HOST": env.str("POSTGRES_HOST", "localhost"),
"NAME": env.str("POSTGRES_DB"),
"USER": env.str("POSTGRES_USER"),
"PASSWORD": env.str("POSTGRES_PASSWORD"),
"NAME": env.str("POSTGRES_DB", "POSTGRES_DB"),
"USER": env.str("POSTGRES_USER", "POSTGRES_USER"),
"PASSWORD": env.str("POSTGRES_PASSWORD", "POSTGRES_PASSWORD"),
"PORT": env.int("POSTGRES_PORT", 5432),
},
}
Expand Down

0 comments on commit 7e11664

Please sign in to comment.