Skip to content

Commit a710156

Browse files
committed
Move dev/doc dependencies to dependency-groups instead of optional-dependencies
1 parent b80bcc4 commit a710156

File tree

4 files changed

+689
-566
lines changed

4 files changed

+689
-566
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Install dependencies
4242
run: |
4343
uv python install ${{ matrix.python-version }}
44-
uv sync --all-extras
44+
uv sync --all-extras --group test-server
4545
4646
# Start integration test databases
4747
- uses: supercharge/mongodb-github-action@1.12.0

CONTRIBUTING.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ To set up for local development (requires [uv](https://docs.astral.sh/uv/getting
77
```sh
88
$ git clone https://github.com/requests-cache/aiohttp-client-cache
99
$ cd aiohttp-client-cache
10-
$ uv sync --all-extras
10+
$ uv sync --frozen --all-extras --all-groups
1111
```
1212

1313
## Pre-commit hooks
@@ -91,15 +91,7 @@ No other changes are required, you can run related tests with e.g. `uv run pytes
9191

9292
## Documentation
9393

94-
[Sphinx](http://www.sphinx-doc.org/en/master/) is used to generate documentation.
95-
96-
First, install documentation dependencies:
97-
98-
```sh
99-
$ uv sync --all-extras
100-
```
101-
102-
To build the docs locally:
94+
[Sphinx](http://www.sphinx-doc.org/en/master/) is used to generate documentation. To build the docs locally:
10395

10496
```sh
10597
$ nox -e docs

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ mongodb = ["motor>=3.1"]
3333
redis = ["redis>=4.2"]
3434
sqlite = ["aiosqlite>=0.20"]
3535

36+
[dependency-groups]
3637
# Development dependencies
3738
dev = [
3839
# For unit + integration tests

0 commit comments

Comments
 (0)