Skip to content

Commit

Permalink
Avoid caching pip dependencies (#124)
Browse files Browse the repository at this point in the history
* ensure pip.conf install latest dependencies

* ensure dev install has latest dependencies
  • Loading branch information
alessandrofelder authored Aug 8, 2024
1 parent 9ad7474 commit dbec4e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmarks/asv.latest-github.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// See asv.conf.json documentation.
// overwrite dependencies from PyPi with latest `main` version from GitHub
"install_command": [
"in-dir={env_dir} python -mpip install --force-reinstall '{wheel_file}'",
"in-dir={env_dir} python -mpip install --force-reinstall --no-cache-dir '{wheel_file}'",
"in-dir={env_dir} python -mpip install -r {conf_dir}/latest-github-requirements.txt",
"in-dir={env_dir} python -mpip list" // print dependencies' versions if asv ran with -v
],
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/asv.pip.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// Customizable commands for installing and uninstalling the project.
// See asv.conf.json documentation.
"install_command": [
"in-dir={env_dir} python -mpip install --force-reinstall '{wheel_file}'",
"in-dir={env_dir} python -mpip install --force-reinstall --no-cache-dir '{wheel_file}'",
"in-dir={env_dir} python -mpip list" // print dependencies' versions if asv ran with -v
],
"uninstall_command": [
Expand Down

0 comments on commit dbec4e9

Please sign in to comment.