From 4c778ed1aed4353489b9ff305762c98f6f3013b3 Mon Sep 17 00:00:00 2001 From: Alessandro Felder Date: Wed, 7 Aug 2024 14:31:02 +0100 Subject: [PATCH 1/2] ensure pip.conf install latest dependencies --- benchmarks/asv.pip.conf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/asv.pip.conf.json b/benchmarks/asv.pip.conf.json index ab7dbbc..12d7d38 100644 --- a/benchmarks/asv.pip.conf.json +++ b/benchmarks/asv.pip.conf.json @@ -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": [ From 5b6ec052867dd6467e5d4bf1ee7c6b8de0a2ea61 Mon Sep 17 00:00:00 2001 From: Alessandro Felder Date: Wed, 7 Aug 2024 14:32:40 +0100 Subject: [PATCH 2/2] ensure dev install has latest dependencies --- benchmarks/asv.latest-github.conf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/asv.latest-github.conf.json b/benchmarks/asv.latest-github.conf.json index 85e700c..30c5fd9 100644 --- a/benchmarks/asv.latest-github.conf.json +++ b/benchmarks/asv.latest-github.conf.json @@ -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 ],