Skip to content

Commit 8d84299

Browse files
authored
build: reorganize Python requirements files (#253)
1 parent 9a6a1da commit 8d84299

9 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/docs-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
python-version: 3.13
4848

4949
- name: Install MkDocs Material
50-
run: pip install --require-hashes --requirement docs/user-guide/requirements.txt
50+
run: pip install --require-hashes --requirement docs/user-guide/requirements/requirements.txt
5151

5252
- name: Copy License
5353
run: cp LICENSE.md docs/user-guide/src/license.md

.github/workflows/docs-validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
python-version: 3.13
4848

4949
- name: Install MkDocs Material
50-
run: pip install --require-hashes --requirement docs/user-guide/requirements.txt
50+
run: pip install --require-hashes --requirement docs/user-guide/requirements/requirements.txt
5151

5252
- name: Copy License
5353
run: cp LICENSE.md docs/user-guide/src/license.md

docs/user-guide/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FROM docker.io/python:3.13.14-alpine@sha256:c610e4a94a0e8b888b4b225bfc0e6b59dee6
66

77
WORKDIR /run
88

9-
COPY requirements.txt .
9+
COPY requirements/requirements.txt .
1010

1111
RUN \
1212
## Install MkDocs and its dependencies

docs/user-guide/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,6 @@ To update the local environment, open the `Dockerfile` and modify the `RUN pip i
5757

5858
### 🤖 In CI
5959

60-
Dependencies for the CI environment are declared in `requirements.in`. After editing this file to include the new packages, run the `requirements.sh` script.
61-
This will regenerate `requirements.txt`, which is the file actually used by the CI to install dependencies in a consistent and reproducible way.
60+
Dependencies for the CI environment are declared in `requirements/requirements.in`.
61+
After editing this file to include the new packages, run the `requirements/requirements.sh` script.
62+
This will regenerate `requirements/requirements.txt`, which is the file actually used by the CI to install dependencies in a consistent and reproducible way.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)