Skip to content

Commit 2fd406f

Browse files
committed
backwards_ecal,ecal_gaps: install python dependencies to venv
1 parent f04a369 commit 2fd406f

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

benchmarks/backwards_ecal/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ bench:backwards_ecal:
2424
needs:
2525
- ["sim:backwards_ecal"]
2626
script:
27-
- export PYTHONUSERBASE=$LOCAL_DATA_PATH/deps
27+
- unset PYTHONPATH
28+
- python -m venv .venv; source .venv/bin/activate
2829
- pip install -r benchmarks/backwards_ecal/requirements.txt
2930
- snakemake --cores 1 backwards_ecal
3031

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
awkward >= 2.4.0
2+
matplotlib
3+
numpy
24
scikit-learn
3-
uproot >= 5.2.0
5+
uproot
46
vector

benchmarks/ecal_gaps/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ bench:ecal_gaps:
1313
- ["sim:ecal_gaps"]
1414
script:
1515
- ln -s $LOCAL_DATA_PATH/input input
16-
- export PYTHONUSERBASE=$LOCAL_DATA_PATH/deps
16+
- unset PYTHONPATH
17+
- python -m venv .venv; source .venv/bin/activate
1718
- pip install -r benchmarks/ecal_gaps/requirements.txt
1819
- snakemake --cores 8 ecal_gaps
1920

benchmarks/ecal_gaps/requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ dask >= 2023
33
dask_awkward
44
dask_histogram
55
distributed >= 2023
6+
matplotlib
7+
numpy
68
pyhepmc
7-
uproot ~= 5.2.0
9+
uproot

0 commit comments

Comments
 (0)