diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index e63bf7c940..71a14ea3e7 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -204,7 +204,7 @@ jobs: - name: Install Python dependencies run: | python -m pip install uv - uv pip install --system --upgrade pip setuptools wheel + uv pip install --system --upgrade pip wheel uv pip install --system tbump python -m pip list diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index 0dbef41600..3a75d9e3ab 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -33,7 +33,7 @@ jobs: - name: Install dependencies run: | python -m pip install uv - uv pip install --system --upgrade pip setuptools wheel + uv pip install --system --upgrade pip wheel uv pip install --system --upgrade '.[all,test]' - name: List installed Python packages diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c7f5dcdfe..5482e8a9d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,14 +50,14 @@ jobs: if: matrix.python-version != '3.8' run: | python -m pip install uv - uv pip install --system --upgrade pip setuptools wheel + uv pip install --system --upgrade pip wheel uv pip install --system --upgrade ".[all,test]" # c.f. https://github.com/astral-sh/uv/issues/2062 - name: Install dependencies (Python 3.8) if: matrix.python-version == '3.8' run: | - python -m pip install --upgrade pip setuptools wheel + python -m pip install --upgrade pip wheel python -m pip install --upgrade ".[all,test]" - name: List installed Python packages diff --git a/.github/workflows/dependencies-head.yml b/.github/workflows/dependencies-head.yml index feaf00a5ec..403695b65e 100644 --- a/.github/workflows/dependencies-head.yml +++ b/.github/workflows/dependencies-head.yml @@ -33,7 +33,7 @@ jobs: - name: Install dependencies run: | python -m pip install uv - uv pip install --system --upgrade pip setuptools wheel + uv pip install --system --upgrade pip wheel uv pip --no-cache --quiet install --system --upgrade --pre ".[all,test]" python -m pip list @@ -64,7 +64,7 @@ jobs: - name: Install dependencies run: | python -m pip install uv - uv pip install --system --upgrade pip setuptools wheel + uv pip install --system --upgrade pip wheel uv pip --no-cache --quiet install --system --upgrade ".[all,test]" uv pip uninstall --system scipy # uv wants to upgrade dependencies (numpy) to a dev release too, so don't --upgrade @@ -92,7 +92,7 @@ jobs: - name: Install dependencies run: | python -m pip install uv - uv pip install --system --upgrade pip setuptools wheel + uv pip install --system --upgrade pip wheel uv pip --no-cache --quiet install --system --upgrade ".[all,test]" uv pip uninstall --system iminuit uv pip install --system --upgrade cython @@ -119,7 +119,7 @@ jobs: - name: Install dependencies run: | python -m pip install uv - uv pip install --system --upgrade pip setuptools wheel + uv pip install --system --upgrade pip wheel uv pip --no-cache --quiet install --system --upgrade ".[all,test]" uv pip uninstall --system uproot uv pip install --system --upgrade git+https://github.com/scikit-hep/uproot5.git @@ -147,7 +147,7 @@ jobs: - name: Install dependencies run: | python -m pip install uv - uv pip install --system --upgrade pip setuptools wheel + uv pip install --system --upgrade pip wheel uv pip --no-cache --quiet install --system --upgrade ".[all,test]" uv pip uninstall --system matplotlib # Need to use --extra-index-url as all dependencies aren't on scientific-python-nightly-wheels package index. @@ -184,7 +184,7 @@ jobs: - name: Install dependencies run: | python -m pip install uv - uv pip install --system --upgrade pip setuptools wheel + uv pip install --system --upgrade pip wheel uv pip --no-cache --quiet install --system --upgrade ".[all,test]" uv pip uninstall --system pytest uv pip install --system --upgrade git+https://github.com/pytest-dev/pytest.git diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 81e9cd38e5..11251ae136 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -32,7 +32,7 @@ jobs: - name: Install Python dependencies run: | python -m pip install uv - uv pip install --system --upgrade pip setuptools wheel + uv pip install --system --upgrade pip wheel uv pip --quiet install --system --upgrade ".[docs,test]" uv pip install --system yq python -m pip list diff --git a/.github/workflows/notebooks.yml b/.github/workflows/notebooks.yml index 50580dfa86..91439d0f8f 100644 --- a/.github/workflows/notebooks.yml +++ b/.github/workflows/notebooks.yml @@ -32,7 +32,7 @@ jobs: - name: Install dependencies run: | python -m pip install uv - uv pip install --system --upgrade pip setuptools wheel + uv pip install --system --upgrade pip wheel # FIXME: c.f. https://github.com/scikit-hep/pyhf/issues/2104 uv pip install --system --upgrade ".[all,test]" 'jupyter-client<8.0.0' diff --git a/.github/workflows/release_tests.yml b/.github/workflows/release_tests.yml index 9a903f2aeb..f3312c8c9e 100644 --- a/.github/workflows/release_tests.yml +++ b/.github/workflows/release_tests.yml @@ -41,7 +41,7 @@ jobs: - name: Install from PyPI run: | python -m pip install uv - uv pip install --system --upgrade pip setuptools wheel + uv pip install --system --upgrade pip wheel uv pip install --system --pre 'pyhf[backends,xmlio]' uv pip install --system pytest python -m pip list diff --git a/docker/Dockerfile b/docker/Dockerfile index 47ff491ea6..ba7c8f5ab5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -17,7 +17,7 @@ RUN apt-get -qq -y update && \ . /usr/local/venv/bin/activate && \ cd /code && \ python -m pip --no-cache-dir install --upgrade uv && \ - uv pip install --no-cache --upgrade pip setuptools wheel && \ + uv pip install --no-cache --upgrade pip wheel && \ uv pip install --no-cache '.[xmlio,contrib]' && \ uv pip list diff --git a/docker/gpu/Dockerfile b/docker/gpu/Dockerfile index 0bc93597bc..7c4a3ab3ae 100644 --- a/docker/gpu/Dockerfile +++ b/docker/gpu/Dockerfile @@ -14,7 +14,7 @@ COPY . /code COPY ./docker/gpu/install_backend.sh /code/install_backend.sh WORKDIR /code ARG BACKEND=tensorflow -RUN python3 -m pip --no-cache-dir install --upgrade pip setuptools wheel && \ +RUN python3 -m pip --no-cache-dir install --upgrade pip wheel && \ /bin/bash install_backend.sh ${BACKEND} && \ python3 -m pip list