Skip to content

Commit

Permalink
install uv
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Feb 16, 2024
1 parent e302f46 commit ae12a27
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dependencies-head.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lower-bound-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae12a27

Please sign in to comment.