File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
actions/build-node-python Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ inputs:
6969 default : " 3.10"
7070 required : true
7171 enable_python_cache :
72- description : " enables the pip cache download and upload "
72+ description : " deprecated and disabled as uv is usually faster anyways "
7373 required : false
74- default : true
74+ default : false
7575 run_python_lint :
7676 default : true
7777 required : false
@@ -105,13 +105,15 @@ runs:
105105 if : inputs.enable_python == 'true'
106106 with :
107107 python-version : ${{ inputs.python_version }}
108- cache : ${{ inputs.enable_python_cache == 'true' && 'pip' || null }}
108+ # cache: ${{ inputs.enable_python_cache == 'true' && 'pip' || null }} Disable cache as uv is probably faster anyways: https://github.com/actions/setup-python/issues/822
109109 - name : Install additional python requirements
110110 if : inputs.enable_python == 'true'
111111 run : |
112- pip install setuptools wheel
112+ python -m pip install --upgrade pip uv
113+ uv pip install setuptools wheel --system
113114 python --version
114115 pip --version
116+ uv --version
115117 shell : bash
116118 # General
117119 - name : Git config
Original file line number Diff line number Diff line change @@ -212,14 +212,14 @@ jobs:
212212 uses : actions/setup-python@v5
213213 with :
214214 python-version : ${{ secrets.PYTHON_VERSION || env.PYTHON_VERSION }}
215- cache : ' pip'
215+ # cache: 'pip' Disable cache as uv is probably faster anyways: https://github.com/actions/setup-python/issues/822
216216 - name : Build api
217217 if : ${{ steps.get-parameters.outputs.type == 'api' }}
218218 run : |
219219 cd "./tmp/$COMPONENT/$APP"
220220 ls -lah
221- python -m pip install --upgrade pip
222- pip install setuptools wheel
221+ python -m pip install --upgrade pip uv
222+ uv pip install setuptools wheel --system
223223 make install
224224 make build
225225 env :
Original file line number Diff line number Diff line change @@ -252,8 +252,8 @@ jobs:
252252 run : |
253253 cd "./tmp/$COMPONENT"
254254 ls -lah
255- python -m pip install --upgrade pip
256- pip install setuptools wheel
255+ python -m pip install --upgrade pip uv
256+ uv pip install setuptools wheel --system
257257 mkdir -p ./build/source
258258 mkdir -p ./dist_python/
259259 cd "$DEFAULT_APP"
You can’t perform that action at this time.
0 commit comments