diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 6640b0e917..93650f2f71 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -204,6 +204,7 @@ jobs: - name: Install Python dependencies run: | + python -m pip install uv python -m uv pip install --upgrade pip setuptools wheel python -m uv pip install tbump python -m pip list diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index 542cfdfe3a..9822ca86b8 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -29,6 +29,7 @@ jobs: - name: Install dependencies run: | + python -m pip install uv python -m uv pip install --upgrade pip setuptools wheel python -m uv pip install --upgrade '.[all,test]' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19b51b8c33..bb3c686b28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,7 @@ jobs: - name: Install dependencies run: | + python -m pip install uv python -m uv pip install --upgrade pip setuptools wheel python -m uv pip install --upgrade ".[all,test]" diff --git a/.github/workflows/dependencies-head.yml b/.github/workflows/dependencies-head.yml index e6117832e8..4a07a89c42 100644 --- a/.github/workflows/dependencies-head.yml +++ b/.github/workflows/dependencies-head.yml @@ -89,6 +89,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | + 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 uv pip uninstall --yes iminuit @@ -115,6 +116,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | + 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 uv pip uninstall --yes uproot @@ -142,6 +144,7 @@ jobs: - name: Install dependencies run: | + 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 uv pip uninstall --yes matplotlib @@ -177,6 +180,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | + 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 uv pip uninstall --yes pytest diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 24b92bd26f..ba7f5caff6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,8 +28,9 @@ jobs: - name: Install Python dependencies run: | + python -m pip install uv python -m uv pip install --upgrade pip setuptools wheel - python -m pip --quiet install --upgrade .[docs,test] + python -m uv pip --quiet install --upgrade .[docs,test] python -m uv pip install yq python -m pip list diff --git a/.github/workflows/lower-bound-requirements.yml b/.github/workflows/lower-bound-requirements.yml index 1166fb2647..6b557b4020 100644 --- a/.github/workflows/lower-bound-requirements.yml +++ b/.github/workflows/lower-bound-requirements.yml @@ -26,8 +26,9 @@ jobs: - name: Install dependencies and force lowest bound run: | + python -m pip install uv python -m uv pip install --upgrade pip setuptools wheel - python -m pip --no-cache-dir install --constraint tests/constraints.txt ".[all,test]" + python -m uv pip --no-cache-dir install --constraint tests/constraints.txt ".[all,test]" - name: List installed Python packages run: python -m pip list diff --git a/.github/workflows/notebooks.yml b/.github/workflows/notebooks.yml index f98e27f387..432a4dfdf5 100644 --- a/.github/workflows/notebooks.yml +++ b/.github/workflows/notebooks.yml @@ -28,6 +28,7 @@ jobs: - name: Install dependencies run: | + python -m pip install uv python -m uv pip install --upgrade pip setuptools wheel # FIXME: c.f. https://github.com/scikit-hep/pyhf/issues/2104 python -m uv pip install --upgrade ".[all,test]" 'jupyter-client<8.0.0' diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 90652a1c73..3e5b72e686 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -43,6 +43,7 @@ jobs: - name: Install python-build and twine run: | + python -m pip install uv python -m uv pip install --upgrade pip python -m uv pip install build twine python -m pip list diff --git a/.github/workflows/release_tests.yml b/.github/workflows/release_tests.yml index f351690053..0cdbce7b73 100644 --- a/.github/workflows/release_tests.yml +++ b/.github/workflows/release_tests.yml @@ -33,6 +33,7 @@ jobs: - name: Install from PyPI run: | + python -m pip install uv python -m uv pip install --upgrade pip setuptools wheel python -m uv pip install --pre pyhf[backends,xmlio] python -m uv pip install pytest