Skip to content

Commit 9590c4b

Browse files
committed
system
1 parent e853fbd commit 9590c4b

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/ci-tests-fabric.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
- name: basic setup
101101
run: |
102102
pip install uv
103-
uv pip install -q -r .actions/requirements.txt
103+
uv pip --system install -q -r .actions/requirements.txt
104104
105105
- name: Set min. dependencies
106106
if: ${{ matrix.requires == 'oldest' }}
@@ -109,7 +109,7 @@ jobs:
109109
- name: Adjust PyTorch versions in requirements files
110110
if: ${{ matrix.requires != 'oldest' }}
111111
run: |
112-
uv pip install -q -r requirements/ci.txt
112+
uv pip --system install -q -r requirements/ci.txt
113113
python -m wget https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/adjust-torch-versions.py
114114
for fpath in `ls requirements/**/*.txt`; do \
115115
python ./adjust-torch-versions.py $fpath ${{ matrix.pytorch-version }}; \
@@ -136,9 +136,9 @@ jobs:
136136
- name: Install package & dependencies
137137
timeout-minutes: 20
138138
run: |
139-
uv pip install -e ".[${EXTRA_PREFIX}test,${EXTRA_PREFIX}strategies]" -U --prefer-binary \
139+
uv pip --system install -e ".[${EXTRA_PREFIX}test,${EXTRA_PREFIX}strategies]" -U --prefer-binary \
140140
--find-links="${TORCH_URL}" --find-links="${PYPI_CACHE_DIR}"
141-
uv pip list
141+
uv pip --system list
142142
- name: Dump handy wheels
143143
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
144144
continue-on-error: true

.github/workflows/ci-tests-pytorch.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
- name: basic setup
106106
run: |
107107
pip install uv
108-
uv pip install -q -r .actions/requirements.txt
108+
uv pip --system install -q -r .actions/requirements.txt
109109
110110
- name: Set min. dependencies
111111
if: ${{ matrix.requires == 'oldest' }}
@@ -114,7 +114,7 @@ jobs:
114114
- name: Adjust PyTorch versions in requirements files
115115
if: ${{ matrix.requires != 'oldest' }}
116116
run: |
117-
uv pip install -q -r requirements/ci.txt
117+
uv pip --system install -q -r requirements/ci.txt
118118
python -m wget https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/adjust-torch-versions.py
119119
for fpath in `ls requirements/**/*.txt`; do \
120120
python ./adjust-torch-versions.py $fpath ${{ matrix.pytorch-version }}; \
@@ -142,17 +142,17 @@ jobs:
142142
- name: Install package & dependencies
143143
timeout-minutes: 20
144144
run: |
145-
uv pip install ".[${EXTRA_PREFIX}extra,${EXTRA_PREFIX}test,${EXTRA_PREFIX}strategies]" -U --prefer-binary \
145+
uv pip --system install ".[${EXTRA_PREFIX}extra,${EXTRA_PREFIX}test,${EXTRA_PREFIX}strategies]" -U --prefer-binary \
146146
-r requirements/_integrations/accelerators.txt \
147147
--find-links="${TORCH_URL}" --find-links="${PYPI_CACHE_DIR}"
148-
uv pip list
148+
uv pip --system list
149149
- name: Drop LAI from extensions
150150
if: ${{ matrix.pkg-name != 'lightning' }}
151151
# Lightning is dependency of Habana or other accelerators/integrations so in case we test PL we need to remove it
152-
run: uv pip uninstall -y lightning
152+
run: uv pip --system uninstall -y lightning
153153
- name: Drop PL for LAI
154154
if: ${{ matrix.pkg-name == 'lightning' }}
155-
run: uv pip uninstall -y pytorch-lightning
155+
run: uv pip --system uninstall -y pytorch-lightning
156156
- name: Dump handy wheels
157157
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
158158
continue-on-error: true

.github/workflows/docs-build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ jobs:
7676
- name: Pull sphinx template
7777
run: |
7878
pip install uv
79-
uv pip install -q -r requirements/ci.txt
79+
uv --system pip install -q -r requirements/ci.txt
8080
aws s3 sync --no-sign-request s3://sphinx-packages/ ${PYPI_LOCAL_DIR}
81-
uv pip install lai-sphinx-theme -U -f ${PYPI_LOCAL_DIR}
81+
uv --system pip install lai-sphinx-theme -U -f ${PYPI_LOCAL_DIR}
8282
8383
- name: pip wheels cache
8484
uses: actions/cache/restore@v4
@@ -97,13 +97,13 @@ jobs:
9797
run: |
9898
mkdir -p ${PYPI_CACHE_DIR} # in case cache was not hit
9999
ls -lh ${PYPI_CACHE_DIR}
100-
uv pip install .[all] -U -r requirements/${{ matrix.pkg-name }}/docs.txt \
100+
uv pip --system install .[all] -U -r requirements/${{ matrix.pkg-name }}/docs.txt \
101101
-f ${PYPI_LOCAL_DIR} -f ${PYPI_CACHE_DIR} -f ${TORCH_URL}
102-
uv pip list
102+
uv pip --system list
103103
- name: Install req. for Notebooks/tutorials
104104
if: matrix.pkg-name == 'pytorch'
105105
timeout-minutes: 10
106-
run: uv pip install -q -r _notebooks/.actions/requires.txt
106+
run: uv pip --system install -q -r _notebooks/.actions/requires.txt
107107

108108
- name: Full build for deployment
109109
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)