Skip to content

Commit b0b84a7

Browse files
authored
Merge pull request #407 from softwarepub/feature/347-update-build_backend
Fix #347: Rebuild `pyproject.toml` to adhere to PEP 621 & update poetry version
2 parents 14e2fb7 + 4fd43a9 commit b0b84a7

File tree

6 files changed

+865
-682
lines changed

6 files changed

+865
-682
lines changed

.readthedocs.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@ build:
99
tools:
1010
python: "3.10"
1111
jobs:
12+
post_create_environment:
13+
# Install poetry
14+
# https://python-poetry.org/docs/#installing-manually
15+
- pip install "poetry>=2.1.3,<3.0.0"
1216
post_install:
13-
- pip install "poetry>=1.2.0,<1.3.0"
14-
- poetry config virtualenvs.create false
15-
- poetry install --with docs
17+
# Install dependencies with 'docs' dependency group
18+
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
19+
# VIRTUAL_ENV needs to be set manually for now, see #11150
20+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
1621

1722
# Build documentation in the docs/source directory with Sphinx
1823
sphinx:

GOVERNANCE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,5 @@ If no successor is named,
8080
the Steering Group seeks a successor.
8181
One member of the Steering Group steps in as interim maintainer until a successor is found.
8282

83-
In addition, all contributors with write access to repositories and regular activities should be added as "authors" to project and build system metadata in alphabetical order.
84-
They may also qualify for scholarly authorship, which is managed in citation metadata as necessary and may be ordered by other criteria.
83+
Authorship is defined by the [steering group](#hermes-steering-group) and declared in
84+
[`CITATION.cff`](https://github.com/softwarepub/hermes/blob/main/CITATION.cff).

0 commit comments

Comments
 (0)