Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
16 changes: 16 additions & 0 deletions test-fastapi-streaming-response/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[project]
name = "test-fastapi-streaming-response"
version = "0"
requires-python = ">=3.12"

dependencies = [
"black>=25.1.0",
"fastapi>=0.115.11",
"ipdb>=0.13.13",
"requests>=2.32.3",
"sentry-sdk[fastapi]",
"uvicorn>=0.34.0",
]

[tool.uv.sources]
sentry-sdk = { path = "../../sentry-python", editable = true }
10 changes: 0 additions & 10 deletions test-fastapi-streaming-response/requirements.txt

This file was deleted.

11 changes: 4 additions & 7 deletions test-fastapi-streaming-response/run.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
#!/usr/bin/env bash

set -euo pipefail

reset

python -m venv .venv
source .venv/bin/activate

pip install -r requirements.txt
if ! command -v uv &> /dev/null; then
curl -LsSf https://astral.sh/uv/install.sh | sh
fi

uvicorn main:app --port 5000 --reload
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 missing after installer runs

Medium Severity

The uv installer places the binary in ~/.local/bin, but the current shell's PATH isn't updated. This causes the immediate uv run command to fail with a "command not found" error, even though uv was successfully installed.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 6493af9. Configure here.

Loading