Skip to content

Commit b93b0ff

Browse files
committed
Add UV_SYSTEM_PYTHON and UV_PROJECT_ENVIRONMENT
1 parent aa00171 commit b93b0ff

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/actions/build-node-python/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ runs:
198198
run: |
199199
# Run node and python in parallel
200200
201+
# In case uv sync is used, sync into the system python environment
202+
# https://github.com/astral-sh/uv/issues/8085#issuecomment-2406665798
203+
export UV_PROJECT_ENVIRONMENT="${pythonLocation}"
204+
201205
# Define the node sequence of commands
202206
node_job() {
203207
set -e
@@ -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 # In case uv pip is used, install into the system python environment 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

.github/workflows/release-source.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ concurrency:
3333

3434
env:
3535
GITHUB_USER: "datavisyn-bot"
36-
WORKFLOW_BRANCH: "mp/release_pyproject" # TODO: Remove
36+
WORKFLOW_BRANCH: "main"
3737
GITHUB_TOKEN: ${{ secrets.DATAVISYN_BOT_REPO_TOKEN }}
3838
CHARTMUSEUM_USER: ${{ secrets.DV_CHARTMUSEUM_USER }}
3939
CHARTMUSEUM_PASSWORD: ${{ secrets.DV_CHARTMUSEUM_PASSWORD }}
@@ -97,7 +97,6 @@ jobs:
9797
fi
9898
9999
- name: Get release version from input
100-
if: ${{ inputs.skip_branch_check == false }}
101100
id: get-release-version-from-input
102101
run: |
103102
input_release_version="${{ inputs.release_version }}"

0 commit comments

Comments
 (0)