Skip to content

Commit 4da308a

Browse files
committed
Restructure optional dependencies into dependency-groups
1 parent 28cb190 commit 4da308a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Install
4444
run: |
4545
python -m pip install --upgrade pip
46-
pip install -e ./[testing]
46+
pip install -e . --group testing
4747
4848
- name: Test
4949
if: always()

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ homepage = "https://jugit.fz-juelich.de/IBG-1/ModSim/cadet/CADET-Python-Simulato
3636
"Bug Tracker" = "https://jugit.fz-juelich.de/IBG-1/ModSim/cadet/CADET-Python-Simulator/Issues"
3737

3838

39-
[project.optional-dependencies]
39+
[dependency-groups]
4040
testing = [
4141
"setuptools",
4242
"pytest",
@@ -56,8 +56,8 @@ docs = [
5656
"myst-nb>=0.17.1",
5757
]
5858
dev = [
59-
"CADET-Python-Simulator.testing",
60-
"CADET-Python-Simulator.docs",
59+
{include-group = "testing"},
60+
{include-group = "docs"},
6161
"ruff",
6262
]
6363

0 commit comments

Comments
 (0)