From e302f4699bed23db0f9a3a8ba7722eeb939325b4 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Fri, 16 Feb 2024 14:41:31 -0600 Subject: [PATCH] Add uv to pip uninstall --- .github/workflows/dependencies-head.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dependencies-head.yml b/.github/workflows/dependencies-head.yml index bc852eafff..e6117832e8 100644 --- a/.github/workflows/dependencies-head.yml +++ b/.github/workflows/dependencies-head.yml @@ -65,7 +65,7 @@ jobs: python -m pip install uv python -m uv pip install --upgrade pip setuptools wheel python -m uv pip --no-cache-dir --quiet install --upgrade ".[all,test]" - python -m pip uninstall --yes scipy + python -m uv pip uninstall --yes scipy python -m uv pip install --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 uv pip install --upgrade pip setuptools wheel python -m uv pip --no-cache-dir --quiet install --upgrade ".[all,test]" - python -m pip uninstall --yes iminuit + python -m uv pip uninstall --yes iminuit python -m uv pip install --upgrade cython python -m uv pip install --upgrade git+https://github.com/scikit-hep/iminuit.git python -m pip list @@ -117,7 +117,7 @@ jobs: run: | python -m uv pip install --upgrade pip setuptools wheel python -m uv pip --no-cache-dir --quiet install --upgrade ".[all,test]" - python -m pip uninstall --yes uproot + python -m uv pip uninstall --yes uproot python -m uv pip install --upgrade git+https://github.com/scikit-hep/uproot5.git python -m pip list - name: Test with pytest @@ -144,7 +144,7 @@ jobs: run: | python -m uv pip install --upgrade pip setuptools wheel python -m uv pip --no-cache-dir --quiet install --upgrade ".[all,test]" - python -m pip uninstall --yes matplotlib + 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. python -m uv pip install \ @@ -179,7 +179,7 @@ jobs: run: | python -m uv pip install --upgrade pip setuptools wheel python -m uv pip --no-cache-dir --quiet install --upgrade ".[all,test]" - python -m pip uninstall --yes pytest + python -m uv pip uninstall --yes pytest python -m uv pip install --upgrade git+https://github.com/pytest-dev/pytest.git python -m pip list - name: Test with pytest