|
38 | 38 | Invoke-WebRequest https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1_12_2.tar.gz -OutFile hdf5-1_12_2.tar.gz |
39 | 39 | 7z.exe x -r hdf5-1_12_2.tar.gz |
40 | 40 | 7z.exe x -r hdf5-1_12_2.tar |
| 41 | +
|
| 42 | + powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" |
41 | 43 | - name: Install Dependencies |
42 | 44 | env: |
43 | 45 | # Work-around for windows-latest GH runner issue, see |
@@ -80,13 +82,14 @@ jobs: |
80 | 82 | $env:HDF5_DIR = "C:/Program Files/HDF_Group/HDF5/1.12.2/cmake/" |
81 | 83 | $env:HDF5_USE_STATIC_LIBRARIES = "ON" |
82 | 84 |
|
83 | | - python3 -m pip install -U pip |
84 | | - python3 -m pip install -U build packaging setuptools[core] wheel |
85 | | - python3 -m pip install -U -r requirements.txt |
86 | | - python3 -m pip install -U -r src/python/impactx/dashboard/requirements.txt |
87 | | - python3 -m pip install -U -r examples/requirements.txt |
88 | | - python3 -m pip install -U -r tests/python/requirements.txt |
89 | | - python3 -m pip install -U openPMD-validator |
| 85 | + uv venv |
| 86 | + uv pip install --system -U pip |
| 87 | + uv pip install --system -U build packaging setuptools[core] wheel |
| 88 | + uv pip install --system -U -r requirements.txt |
| 89 | + uv pip install --system -U -r src/python/impactx/dashboard/requirements.txt |
| 90 | + uv pip install --system -U -r examples/requirements.txt |
| 91 | + uv pip install --system -U -r tests/python/requirements.txt |
| 92 | + uv pip install --system -U openPMD-validator |
90 | 93 | - name: Build |
91 | 94 | env: |
92 | 95 | # Work-around for windows-latest GH runner issue, see |
@@ -157,6 +160,8 @@ jobs: |
157 | 160 | Invoke-WebRequest https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1_12_2.tar.gz -OutFile hdf5-1_12_2.tar.gz |
158 | 161 | 7z.exe x -r hdf5-1_12_2.tar.gz |
159 | 162 | 7z.exe x -r hdf5-1_12_2.tar |
| 163 | +
|
| 164 | + powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" |
160 | 165 | - name: Install Dependencies |
161 | 166 | shell: cmd |
162 | 167 | run: | |
@@ -201,13 +206,13 @@ jobs: |
201 | 206 | set "HDF5_DIR=C:/Program Files/HDF_Group/HDF5/1.12.2/cmake/" |
202 | 207 | set "HDF5_USE_STATIC_LIBRARIES=ON" |
203 | 208 |
|
204 | | - python3 -m pip install -U pip |
205 | | - python3 -m pip install -U build packaging setuptools[core] wheel |
206 | | - python3 -m pip install -U -r requirements.txt |
207 | | - python3 -m pip install -U -r src/python/impactx/dashboard/requirements.txt |
208 | | - python3 -m pip install -U -r examples/requirements.txt |
209 | | - python3 -m pip install -U -r tests/python/requirements.txt |
210 | | - python3 -m pip install -U openPMD-validator |
| 209 | + uv pip install --system -U pip |
| 210 | + uv pip install --system -U build packaging setuptools[core] wheel |
| 211 | + uv pip install --system -U -r requirements.txt |
| 212 | + uv pip install --system -U -r src/python/impactx/dashboard/requirements.txt |
| 213 | + uv pip install --system -U -r examples/requirements.txt |
| 214 | + uv pip install --system -U -r tests/python/requirements.txt |
| 215 | + uv pip install --system -U openPMD-validator |
211 | 216 | - name: Build |
212 | 217 | shell: cmd |
213 | 218 | env: |
|
0 commit comments