Skip to content

Commit 8d17590

Browse files
committed
Move development deps away from extras and into dependency groups
1 parent 7a54816 commit 8d17590

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ jobs:
166166

167167
- name: Build docs
168168
run: |
169-
pip install -e .[docs]
169+
pip install --group docs
170+
pip install -e .
170171
make htmldocs
171172
172173
- name: Checkout gh-pages

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ jobs:
6969
run: |
7070
[ "$RUNNER_OS" = "Linux" ] && .github/workflows/install-krb5.sh
7171
python -m pip install -U pip setuptools wheel
72-
python -m pip install -e .[test]
72+
python -m pip install --group test
73+
python -m pip install -e .
7374
7475
- name: Test
7576
if: "!steps.release.outputs.is_release"
@@ -133,7 +134,8 @@ jobs:
133134
run: |
134135
[ "$RUNNER_OS" = "Linux" ] && .github/workflows/install-krb5.sh
135136
python -m pip install -U pip setuptools wheel
136-
python -m pip install -e .[test]
137+
python -m pip install --group test
138+
python -m pip install -e .
137139
138140
- name: Test
139141
if: "!steps.release.outputs.is_release"

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ gssauth = [
3939
'gssapi; platform_system != "Windows"',
4040
'sspilib; platform_system == "Windows"',
4141
]
42+
43+
[dependency-groups]
4244
test = [
4345
'flake8~=6.1',
4446
'flake8-pyi~=24.1.0',
@@ -72,7 +74,7 @@ include = ["asyncpg", "asyncpg.*"]
7274

7375
[tool.cibuildwheel]
7476
build-frontend = "build"
75-
test-extras = "test"
77+
test-groups = "test"
7678
skip = "cp38-*"
7779

7880
[tool.cibuildwheel.macos]

0 commit comments

Comments
 (0)