Skip to content

Fix dev scripts to use uv properly#182

Merged
maximmaxim345 merged 2 commits intomainfrom
fix/dev-scripts
Mar 12, 2026
Merged

Fix dev scripts to use uv properly#182
maximmaxim345 merged 2 commits intomainfrom
fix/dev-scripts

Conversation

@maximmaxim345
Copy link
Member

Fix scripts/setup.sh by using uv sync to match the aiosendspin setup script.

Also fixes scripts/sendspin that ran python -m sendspin.cli via run-in-env.sh, which could pick up a globally installed version instead of the local dev checkout.

Replace manual venv creation and pip installs with `uv sync --extra test`.
Remove reference to nonexistent `[cli]` extra.
@maximmaxim345 maximmaxim345 added the bugfix Fixes a bug label Mar 12, 2026
Copilot AI review requested due to automatic review settings March 12, 2026 14:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates developer helper scripts to use uv consistently, aligning local setup/execution with the project’s uv-based workflow and avoiding accidental use of globally installed sendspin.

Changes:

  • Replace manual venv/pip install flow in scripts/setup.sh with uv sync --extra test.
  • Update scripts/sendspin to run the project via uv run from the repo root.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
scripts/setup.sh Switches dev dependency setup to uv sync and installs pre-commit hooks via uv run.
scripts/sendspin Runs sendspin through uv run from the git toplevel instead of python -m ... via run-in-env.sh.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@maximmaxim345 maximmaxim345 merged commit 4c2afc5 into main Mar 12, 2026
5 checks passed
@maximmaxim345 maximmaxim345 deleted the fix/dev-scripts branch March 12, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants