diff --git a/test-long-running-transaction/pyproject.toml b/test-long-running-transaction/pyproject.toml new file mode 100644 index 0000000..b34f2fe --- /dev/null +++ b/test-long-running-transaction/pyproject.toml @@ -0,0 +1,13 @@ +[project] +name = "test-long-running-transaction" +version = "0" +requires-python = ">=3.12" + +dependencies = [ + "ipdb>=0.13.13", + "sentry-sdk", + "Werkzeug<2.1.0", +] + +[tool.uv.sources] +sentry-sdk = { path = "../../sentry-python", editable = true } diff --git a/test-long-running-transaction/requirements.txt b/test-long-running-transaction/requirements.txt deleted file mode 100644 index 4d5d894..0000000 --- a/test-long-running-transaction/requirements.txt +++ /dev/null @@ -1,6 +0,0 @@ - --e ../../../code/sentry-python - -Werkzeug<2.1.0 - -ipdb \ No newline at end of file diff --git a/test-long-running-transaction/run.sh b/test-long-running-transaction/run.sh index 8a207ef..a08057d 100755 --- a/test-long-running-transaction/run.sh +++ b/test-long-running-transaction/run.sh @@ -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 -python main.py \ No newline at end of file +uv run python main.py