Skip to content

Commit d3346ea

Browse files
committed
back to venv, but try uv
1 parent 8001825 commit d3346ea

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
- name: Install dependencies
5454
# https://github.com/airspeed-velocity/asv/issues/1493
55-
run: pip install 'asv@git+https://github.com/airspeed-velocity/asv.git' py-rattler
55+
run: pip install 'asv@git+https://github.com/airspeed-velocity/asv.git' virtualenv
5656

5757
- name: Configure ASV
5858
working-directory: ${{ env.ASV_DIR }}

benchmarks/asv.conf.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
// Customizable commands for building, installing, and
2222
// uninstalling the project. See asv.conf.json documentation.
2323
//
24-
"install_command": ["python -m uv pip install {wheel_file}"],
25-
// "uninstall_command": ["return-code=any python -mpip uninstall -y {project}"],
2624
"build_command": [
27-
"python -m uv pip install build",
25+
"python -m pip install uv build",
2826
"python -m build --wheel -o {build_cache_dir} {build_dir}",
2927
],
28+
"install_command": ["python -m uv pip install {wheel_file}"],
29+
// "uninstall_command": ["return-code=any python -mpip uninstall -y {project}"],
3030

3131
// List of branches to benchmark. If not provided, defaults to "master"
3232
// (for git) or "default" (for mercurial).
@@ -43,7 +43,7 @@
4343
// If missing or the empty string, the tool will be automatically
4444
// determined by looking for tools on the PATH environment
4545
// variable.
46-
"environment_type": "rattler",
46+
"environment_type": "virtualenv",
4747

4848
// timeout in seconds for installing any dependencies in environment
4949
// defaults to 10 min

0 commit comments

Comments
 (0)