Skip to content

Commit 2cbcd3a

Browse files
committed
add visualizer dependencies to 'dev' group too
Signed-off-by: Thijs Baaijen <[email protected]>
1 parent 92597c0 commit 2cbcd3a

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/build-test-and-sonar.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484

8585
- name: Install in develop mode
8686
run: |
87-
pip install -e .[dev,visualizer]
87+
pip install -e .[dev]
8888
8989
- name: Test and Coverage
9090
run: |
@@ -124,7 +124,7 @@ jobs:
124124
path: wheelhouse/
125125

126126
- name: Install built wheel file
127-
run: pip install power-grid-model-ds[dev,visualizer]==${{ needs.build-python.outputs.version }} --find-links=wheelhouse
127+
run: pip install power-grid-model-ds[dev]==${{ needs.build-python.outputs.version }} --find-links=wheelhouse
128128

129129
- name: Unit test and coverage
130130
run: pytest --verbose

.github/workflows/check-code-quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: pip install --upgrade pip
3838

3939
- name: Install dependencies
40-
run: pip install -e .[dev,visualizer]
40+
run: pip install -e .[dev]
4141

4242
- name: Run pre-commit on all files
4343
run: pre-commit run --all-files

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ doc = [
5353
"readthedocs-sphinx-search",
5454
"sphinx-hoverxref",
5555
"numpydoc",
56+
# Visualization (make sure these stay equalivalent to the 'visualizer' group)
57+
"dash>=3.0.0",
58+
"dash-bootstrap-components>=2.0.0",
59+
"dash-cytoscape>=1.0.2",
5660
]
5761

5862
visualizer = [

0 commit comments

Comments
 (0)