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-gunicorn-gevent-otel/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[project]
name = "test-gunicorn-gevent-otel"
version = "0"
requires-python = ">=3.12"

dependencies = [
"gevent>=24.11.1",
"gunicorn>=23.0.0",
"ipdb>=0.13.13",
"opentelemetry-distro>=0.52b0",
"opentelemetry-exporter-otlp-proto-http>=1.31.0",
"sentry-sdk",
]

[tool.uv.sources]
sentry-sdk = { path = "../../sentry-python", editable = true }
12 changes: 0 additions & 12 deletions test-gunicorn-gevent-otel/requirements.txt

This file was deleted.

12 changes: 4 additions & 8 deletions test-gunicorn-gevent-otel/run.sh
Original file line number Diff line number Diff line change
@@ -1,13 +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

gunicorn -c gunicorn.conf.py
uv run gunicorn -c gunicorn.conf.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.

uv not on PATH after install

Medium Severity

When uv is missing, run.sh installs it then immediately runs uv run. The installer does not put uv on the current shell’s PATH, so the script can exit with “command not found” on a fresh machine even though install succeeded.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 75ac776. Configure here.

Loading