Skip to content

Commit abc1985

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

File tree

3 files changed

+57
-54
lines changed

3 files changed

+57
-54
lines changed

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

uv.lock

Lines changed: 54 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)