File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
actions/build-node-python Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,10 @@ runs:
196196 - name : Build node and python in parallel
197197 id : build
198198 run : |
199+ # https://github.com/astral-sh/uv/issues/8085#issuecomment-2406665798
200+ # In case uv sync is used, sync into the system python environment
201+ export UV_PROJECT_ENVIRONMENT="${pythonLocation}"
202+
199203 # Run node and python in parallel
200204
201205 # Define the node sequence of commands
@@ -280,7 +284,9 @@ runs:
280284 RUN_PYTHON_LINT : ${{ inputs.run_python_lint }}
281285 RUN_PYTHON_TEST : ${{ inputs.run_python_test }}
282286 RUN_PYTHON_BUILD : ${{ inputs.run_python_build }}
287+ UV_SYSTEM_PYTHON : 1 # https://docs.astral.sh/uv/guides/integration/github/#using-uv-pip
283288 UV_HTTP_TIMEOUT : 300 # https://docs.astral.sh/uv/reference/environment/#uv_http_timeout
289+
284290 # Node
285291 - name : Save yarn cache
286292 uses : actions/cache/save@v4
Original file line number Diff line number Diff line change 110110 required : false
111111
112112env :
113- WORKFLOW_BRANCH : " main "
113+ WORKFLOW_BRANCH : " mp/release_pyproject " # TODO: Revert
114114 POSTGRES_HOSTNAME : postgres_${{ github.job }}_${{ inputs.deduplication_id }}_${{ github.run_id }}_${{ github.run_attempt }}
115115
116116permissions :
You can’t perform that action at this time.
0 commit comments