Skip to content

build(test-fastapi-background-tasks): Migrate to uv and pyproject.toml#21

Merged
ericapisani merged 1 commit into
mainfrom
PY-2448-test-fastapi-background-tasks
May 21, 2026
Merged

build(test-fastapi-background-tasks): Migrate to uv and pyproject.toml#21
ericapisani merged 1 commit into
mainfrom
PY-2448-test-fastapi-background-tasks

Conversation

@ericapisani

Copy link
Copy Markdown
Member

Summary

  • Replace pip/requirements.txt with uv/pyproject.toml for dependency management
  • Update run.sh to use uv run instead of manual venv creation and pip install
  • Remove legacy requirements.txt

Refs PY-2448

Test plan

  • Verify pyproject.toml includes all dependencies from the original requirements.txt
  • Verify run.sh uses uv run
  • Verify requirements.txt is removed

🤖 Generated with Claude Code

Replace pip/requirements.txt with uv/pyproject.toml for dependency
management. Update run.sh to use uv run instead of manual venv
creation and pip install.

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

linear-code Bot commented May 21, 2026

Copy link
Copy Markdown

PY-2448

@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 c99d423. Configure here.

fi

#nginx -c "$(pwd)/nginx.conf"
uv run uvicorn main:app --port 5000 --reload

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

uv not on PATH after install

Medium Severity

When uv is missing, run.sh installs it via the Astral installer then immediately runs uv run. The installer updates shell profiles for future sessions; it does not put uv on PATH in the current non-interactive subshell, so the script often exits with “command not found” on first run.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c99d423. Configure here.

@ericapisani ericapisani merged commit aa3483f 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