Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion code-style/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
uv sync
uv sync --frozen

else
uv pip install .
fi
Comment on lines +253 to +257

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jorgepiloto I was wondering if we could extend this to _doc-build-linux, _doc-build-windows, build-wheelhouse, check-vulnerabilities, and tests-pytest. Those are the actions I have noted where something similar to this might be needed (I am not sure if I am missing some others).

Or we could address those in a separate PR if that is what you prefer.

else
python -m pip install .
fi
Expand Down
1 change: 1 addition & 0 deletions doc/source/changelog/1088.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use uv sync if lock file is present
Loading