Skip to content

Commit bb8946b

Browse files
committed
hmmmmmm
1 parent 339242a commit bb8946b

File tree

3 files changed

+17
-18
lines changed

3 files changed

+17
-18
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,8 @@ jobs:
5555

5656
- name: Configure ASV
5757
working-directory: ${{ env.ASV_DIR }}
58-
run: asv machine --yes; cat "${{ env.ASV_DIR }}/constraints.txt"
58+
run: asv machine --yes
5959

6060
- name: Quick benchmark run
6161
working-directory: ${{ env.ASV_DIR }}
62-
env:
63-
PIP_CONSTRAINT: "${{ env.ASV_DIR }}/constraints.txt"
6462
run: asv run --dry-run --quick --show-stderr --verbose HEAD^!

benchmarks/asv.conf.json

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,23 @@
6060
// dependency packages in the specified order
6161
"conda_channels": ["conda-forge", "defaults"],
6262

63-
// The matrix of dependencies to test. Each key is the name of a
64-
// package (in PyPI) and the values are version numbers. An empty
65-
// list or empty string indicates to just test against the default
66-
// (latest) version. null indicates that the package is to not be
67-
// installed. If the package to be tested is only available from
68-
// PyPi, and the 'environment_type' is conda, then you can preface
69-
// the package name by 'pip+', and the package will be installed via
70-
// pip (with all the conda available packages installed first,
71-
// followed by the pip installed packages).
72-
//
7363
"matrix": {
74-
"numpy": [""],
75-
"scipy": [""]
64+
// The matrix of dependencies to test. Each key is the name of a
65+
// package (in PyPI) and the values are version numbers. An empty
66+
// list or empty string indicates to just test against the default
67+
// (latest) version. null indicates that the package is to not be
68+
// installed. If the package to be tested is only available from
69+
// PyPi, and the 'environment_type' is conda, then you can preface
70+
// the package name by 'pip+', and the package will be installed via
71+
// pip (with all the conda available packages installed first,
72+
// followed by the pip installed packages).
73+
"req": {
74+
"numpy": [">=2"],
75+
"scipy": [">=1.16"],
76+
"spatialdata": [">=0.4"],
77+
},
78+
// same for env variables
79+
"env": {},
7680
},
7781

7882
// Combinations of libraries/python versions can be excluded/included

benchmarks/constraints.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)