changeset 52326:d24731850b2e

branching: merge stable into default
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 27 Nov 2024 22:09:37 -0500
parents 599b6ce304a7 (current diff) a782fb584b29 (diff)
children f2fc0a91faca
files tests/run-tests.py
diffstat 3 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pyproject.toml	Thu Oct 24 00:47:20 2024 +0200
+++ b/pyproject.toml	Wed Nov 27 22:09:37 2024 -0500
@@ -52,3 +52,9 @@
 '''
 skip-string-normalization = true
 quiet = true
+
+
+[tool.cibuildwheel]
+# Don't stockpile wheels in the pip cache directory when they get built, since
+# there's no mechanism to age old ones out.
+build-frontend = { name = "pip", args = ["--no-cache-dir"] }
--- a/tests/run-tests.py	Thu Oct 24 00:47:20 2024 +0200
+++ b/tests/run-tests.py	Wed Nov 27 22:09:37 2024 -0500
@@ -3902,6 +3902,7 @@
             b"pip",
             b"install",
             wheel_path,
+            b"--no-cache-dir",
             b"--force",
             b"--ignore-installed",
             b"--prefix",
--- a/tests/test-install.t	Thu Oct 24 00:47:20 2024 +0200
+++ b/tests/test-install.t	Wed Nov 27 22:09:37 2024 -0500
@@ -214,7 +214,7 @@
 
 Note: we use this weird path to run pip and hg to avoid platform differences,
 since it's bin on most platforms but Scripts on Windows.
-  $ (syshgenv; ./installenv/*/pip install $TESTDIR/.. >> pip.log)
+  $ (syshgenv; ./installenv/*/pip --no-cache-dir install $TESTDIR/.. >> pip.log)
     Failed building wheel for mercurial (?)
   WARNING: You are using pip version *; however, version * is available. (glob) (?)
   You should consider upgrading via the '$TESTTMP/installenv/bin/python* -m pip install --upgrade pip' command. (glob) (?)