Skip to content

Commit 042bf5f

Browse files
committed
Use dependency-groups for development dependencies
This is now supported by both Dependabot and Read the Docs.
1 parent ac88870 commit 042bf5f

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
pip install -e .[dev]
29+
pip install -e . --group dev
3030
- name: Lint
3131
run: |
3232
ruff check --output-format=github

.readthedocs.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@ build:
55
os: "ubuntu-lts-latest"
66
tools:
77
python: "3.13"
8+
jobs:
9+
install:
10+
- pip install --upgrade pip
11+
- pip install -e . --group docs
812

913
sphinx:
1014
configuration: docs/conf.py
11-
12-
python:
13-
install:
14-
- method: pip
15-
path: .
16-
extra_requirements:
17-
- docs

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dependencies = [
2828
"httpx>=0.23.1",
2929
]
3030

31-
[project.optional-dependencies]
31+
[dependency-groups]
3232
docs = [
3333
"Sphinx==8.2.0",
3434
"furo==2025.7.19",

0 commit comments

Comments
 (0)