Skip to content

build(test-structlog-sentry): Migrate from pip to uv#51

Merged
ericapisani merged 1 commit into
mainfrom
PY-2478-test-structlog-sentry
May 21, 2026
Merged

build(test-structlog-sentry): Migrate from pip to uv#51
ericapisani merged 1 commit into
mainfrom
PY-2478-test-structlog-sentry

Conversation

@ericapisani

Copy link
Copy Markdown
Member

Summary

  • Replace requirements.txt with pyproject.toml for dependency management
  • Update run.sh to use uv run instead of manual venv/pip workflow
  • Part of PY-2428 migration effort

Test plan

  • Run ./run.sh and verify the app runs correctly

🤖 Generated with Claude Code

Replace requirements.txt with pyproject.toml and update run.sh to use
uv for dependency management and script execution.

Refs PY-2478
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@linear-code

linear-code Bot commented May 21, 2026

Copy link
Copy Markdown

PY-2478

PY-2428

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b331e33. Configure here.


# Run app
python main.py No newline at end of file
uv run python main.py

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Fresh uv install not on PATH

Medium Severity

When uv is missing, run.sh installs it then immediately runs uv run, but the installer only puts uv on PATH for future shells. In the same bash process, command -v uv can still fail and the script exits under set -euo pipefail.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit b331e33. Configure here.

@ericapisani ericapisani merged commit 4cdae05 into main May 21, 2026
11 checks passed
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.

1 participant