Skip to content

Commit 54f479d

Browse files
committed
Clean up old requirements text files references in workflows and docs
* Removed references to `requirements.txt` in GitHub Actions workflows. * Updated `mkdocs-deploy.yml` and `main.yml` to install dependencies using `pyproject.toml`. * Cleaned up documentation to remove mentions of the `requirements` folder.
1 parent c847be5 commit 54f479d

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
python-version: ${{ matrix.python-version }}
2929
allow-prereleases: true
3030
cache: 'pip'
31-
cache-dependency-path: 'requirements/*.txt'
3231

3332
- name: Upgrade packaging tools
3433
run: python -m pip install --upgrade pip setuptools virtualenv wheel
@@ -60,7 +59,7 @@ jobs:
6059
python-version: '3.13'
6160

6261
- name: Install dependencies
63-
run: pip install . --group docs
62+
run: pip install --group docs
6463

6564
# Start mkdocs server and wait for it to be ready
6665
- run: mkdocs serve &

.github/workflows/mkdocs-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
paths:
88
- docs/**
99
- docs_theme/**
10-
- requirements/requirements-documentation.txt
10+
- pyproject.toml
1111
- mkdocs.yml
1212
- .github/workflows/mkdocs-deploy.yml
1313

@@ -25,5 +25,5 @@ jobs:
2525
- uses: actions/setup-python@v6
2626
with:
2727
python-version: 3.x
28-
- run: pip install -r requirements/requirements-documentation.txt
28+
- run: pip install --group docs
2929
- run: mkdocs gh-deploy

docs/community/project-management.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,6 @@ When pushing the release to PyPI ensure that your environment has been installed
8181

8282
---
8383

84-
## Project requirements
85-
86-
All our test requirements are pinned to exact versions, in order to ensure that our test runs are reproducible. We maintain the requirements in the `requirements` directory. The requirements files are referenced from the `tox.ini` configuration file, ensuring we have a single source of truth for package versions used in testing.
87-
88-
Package upgrades should generally be treated as isolated pull requests. You can check if there are any packages available at a newer version, by using the `pip list --outdated`.
89-
90-
---
91-
9284
## Project ownership
9385

9486
The PyPI package is owned by `@tomchristie`. As a backup `@j4mie` also has ownership of the package.

0 commit comments

Comments
 (0)