From 08554b243e27f9c4514c1e958381aec2baefd2f5 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Wed, 28 Feb 2024 16:56:26 -0600 Subject: [PATCH] Use '--no-cache' as '--no-cache-dir' is for normal pip only --- .github/workflows/dependencies-head.yml | 12 ++++++------ .github/workflows/lower-bound-requirements.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dependencies-head.yml b/.github/workflows/dependencies-head.yml index 41d2fff728..3744a1d3bb 100644 --- a/.github/workflows/dependencies-head.yml +++ b/.github/workflows/dependencies-head.yml @@ -31,7 +31,7 @@ jobs: run: | python -m pip install uv python -m uv pip install --system --upgrade pip setuptools wheel - python -m uv pip --no-cache-dir --quiet install --system --upgrade --pre ".[all,test]" + python -m uv pip --no-cache --quiet install --system --upgrade --pre ".[all,test]" python -m pip list - name: List release candidates, alpha, and beta releases @@ -64,7 +64,7 @@ jobs: run: | python -m pip install uv python -m uv pip install --system --upgrade pip setuptools wheel - python -m uv pip --no-cache-dir --quiet install --system --upgrade ".[all,test]" + python -m uv pip --no-cache --quiet install --system --upgrade ".[all,test]" python -m uv pip uninstall --yes scipy python -m uv pip install --system --upgrade --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple scipy python -m pip list @@ -91,7 +91,7 @@ jobs: run: | python -m pip install uv python -m uv pip install --system --upgrade pip setuptools wheel - python -m uv pip --no-cache-dir --quiet install --system --upgrade ".[all,test]" + python -m uv pip --no-cache --quiet install --system --upgrade ".[all,test]" python -m uv pip uninstall --yes iminuit python -m uv pip install --system --upgrade cython python -m uv pip install --system --upgrade git+https://github.com/scikit-hep/iminuit.git @@ -118,7 +118,7 @@ jobs: run: | python -m pip install uv python -m uv pip install --system --upgrade pip setuptools wheel - python -m uv pip --no-cache-dir --quiet install --system --upgrade ".[all,test]" + python -m uv pip --no-cache --quiet install --system --upgrade ".[all,test]" python -m uv pip uninstall --yes uproot python -m uv pip install --system --upgrade git+https://github.com/scikit-hep/uproot5.git python -m pip list @@ -146,7 +146,7 @@ jobs: run: | python -m pip install uv python -m uv pip install --system --upgrade pip setuptools wheel - python -m uv pip --no-cache-dir --quiet install --system --upgrade ".[all,test]" + python -m uv pip --no-cache --quiet install --system --upgrade ".[all,test]" python -m uv pip uninstall --yes matplotlib # Need to use --extra-index-url as dependencies aren't on scientific-python-nightly-wheels package index. # Need to use --pre as dev releases will need priority over stable releases. @@ -182,7 +182,7 @@ jobs: run: | python -m pip install uv python -m uv pip install --system --upgrade pip setuptools wheel - python -m uv pip --no-cache-dir --quiet install --system --upgrade ".[all,test]" + python -m uv pip --no-cache --quiet install --system --upgrade ".[all,test]" python -m uv pip uninstall --yes pytest python -m uv pip install --system --upgrade git+https://github.com/pytest-dev/pytest.git python -m pip list diff --git a/.github/workflows/lower-bound-requirements.yml b/.github/workflows/lower-bound-requirements.yml index be902710a1..fa304dc718 100644 --- a/.github/workflows/lower-bound-requirements.yml +++ b/.github/workflows/lower-bound-requirements.yml @@ -28,7 +28,7 @@ jobs: run: | python -m pip install uv python -m uv pip install --system --upgrade pip setuptools wheel - python -m uv pip --no-cache-dir install --system --constraint tests/constraints.txt ".[all,test]" + python -m uv pip --no-cache install --system --constraint tests/constraints.txt ".[all,test]" - name: List installed Python packages run: python -m pip list