Skip to content

Commit d12a986

Browse files
committed
Move back numpy and scipy to test dependencies
1 parent fa9112d commit d12a986

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
install:
2-
python3 -m pip install -e '.[default]'
32
python3 -m pip install -e '.[test]'
43
python -m pip install git+https://github.com/networkx/networkx.git@main
54
python -m pip install git+https://github.com/joblib/joblib.git@main

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ developer = [
5050
'pre-commit==3.8.0',
5151
'ruff==0.6.7',
5252
]
53-
default = [
54-
'numpy>=1.23',
55-
'scipy>=1.9,!=1.11.0,!=1.11.1',
53+
heatmap = [
5654
'matplotlib>=3.8',
5755
'seaborn>=0.13.2',
5856
'pandas>=2.0',
5957
]
6058
test = [
6159
'pytest>=7.2',
6260
'pytest-order>=1.3.0',
61+
'numpy>=1.23',
62+
'scipy>=1.9,!=1.11.0,!=1.11.1',
6363
]
6464

6565
[tool.pytest.ini_options]

timing/timing_individual_function.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
"""
2-
Performance analysis of parallel and NetworkX implementations of the input function
2+
Performance analysis of parallel and NetworkX implementations of the input function.
3+
4+
To generate heatmaps for performance visualization, make sure to run:
5+
python3 -m pip install -e '.[heatmap]'
36
"""
47

58
from time import perf_counter

0 commit comments

Comments
 (0)