Skip to content

Conversation

@albestro
Copy link
Contributor

This PR fixes a bug where a user specifying a relative folder as argument, resulted in a path relative to the project folder instead of relative to the user working directory.

Changes:

  • move from --directory to --project, hence we don't alter user working directory when using this script (resulting in wrong behavior from the user point of view), but we just point uv run so that it is in "project mode"
  • move from a simple installation to an "editable installation" using --with-editable, so that changes in the project folder are directly reflected
  • took the chance to document the various parts of the script for future reference.

@albestro albestro requested a review from msimberg December 22, 2025 11:42
Copy link
Collaborator

@msimberg msimberg left a comment

Choose a reason for hiding this comment

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

Just a question for my understanding. This looks good to me otherwise.

uv run in "package mode" already installs the project in the venv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants