Skip to content

Commit 6360f7a

Browse files
committed
Move development deps away from extras and into dependency groups
1 parent b4d2892 commit 6360f7a

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
@@ -161,7 +161,8 @@ jobs:
161161

162162
- name: Build docs
163163
run: |
164-
pip install -e .[docs]
164+
pip install --group docs
165+
pip install -e .
165166
make htmldocs
166167
167168
- name: Checkout gh-pages

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ jobs:
6666
run: |
6767
[ "$RUNNER_OS" = "Linux" ] && .github/workflows/install-krb5.sh
6868
python -m pip install -U pip setuptools wheel
69-
python -m pip install -e .[test]
69+
python -m pip install --group test
70+
python -m pip install -e .
7071
7172
- name: Test
7273
if: "!steps.release.outputs.is_release"
@@ -127,7 +128,8 @@ jobs:
127128
run: |
128129
[ "$RUNNER_OS" = "Linux" ] && .github/workflows/install-krb5.sh
129130
python -m pip install -U pip setuptools wheel
130-
python -m pip install -e .[test]
131+
python -m pip install --group test
132+
python -m pip install -e .
131133
132134
- name: Test
133135
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',
@@ -73,7 +75,7 @@ include = ["asyncpg", "asyncpg.*"]
7375

7476
[tool.cibuildwheel]
7577
build-frontend = "build"
76-
test-extras = "test"
78+
test-groups = "test"
7779

7880
[tool.cibuildwheel.macos]
7981
before-all = ".github/workflows/install-postgres.sh"

0 commit comments

Comments
 (0)