From ea662514d8b9566500016c95002961d28e90f62d Mon Sep 17 00:00:00 2001 From: Jorge Martinez Date: Wed, 3 Dec 2025 16:01:23 +0100 Subject: [PATCH 1/3] fix(code-style): use uv sync if lock file is present --- code-style/action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code-style/action.yml b/code-style/action.yml index 98d8da7ff..24091507c 100644 --- a/code-style/action.yml +++ b/code-style/action.yml @@ -250,7 +250,11 @@ runs: if [[ "${BUILD_BACKEND}" == 'poetry' ]]; then poetry install elif [[ "${BUILD_BACKEND}" == 'uv' ]]; then - uv pip install . + if [ -f "uv.lock" ]; then + uv sync + else + uv pip install . + fi else python -m pip install . fi From 2b15273d7711bae5f998c22fbfa3f21623130101 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Wed, 3 Dec 2025 15:12:19 +0000 Subject: [PATCH 2/3] chore: adding changelog file 1088.fixed.md [dependabot-skip] --- doc/source/changelog/1088.fixed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/source/changelog/1088.fixed.md diff --git a/doc/source/changelog/1088.fixed.md b/doc/source/changelog/1088.fixed.md new file mode 100644 index 000000000..0b442a993 --- /dev/null +++ b/doc/source/changelog/1088.fixed.md @@ -0,0 +1 @@ +Use uv sync if lock file is present From 4e45d4ccbc7de1ce8f7fac2d3160d7fbf0baa465 Mon Sep 17 00:00:00 2001 From: Jorge Martinez Date: Mon, 12 Jan 2026 14:45:19 +0100 Subject: [PATCH 3/3] fix: check-vulnerabilities --- check-vulnerabilities/action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/check-vulnerabilities/action.yml b/check-vulnerabilities/action.yml index c0c9e366c..1104f5b07 100644 --- a/check-vulnerabilities/action.yml +++ b/check-vulnerabilities/action.yml @@ -377,7 +377,11 @@ runs: if [[ "${BUILD_BACKEND}" == 'poetry' ]]; then poetry install --extras "${extra_targets}" elif [[ "${BUILD_BACKEND}" == 'uv' ]]; then - uv pip install ."${extra_targets}" + if [ -f "uv.lock" ]; then + uv sync --extra "${extra_targets}" + else + uv pip install ."${extra_targets}" + fi else python -m pip install ."${extra_targets}" fi