diff --git a/test-tracing-twp-dsc/pyproject.toml b/test-tracing-twp-dsc/pyproject.toml new file mode 100644 index 0000000..f3010cc --- /dev/null +++ b/test-tracing-twp-dsc/pyproject.toml @@ -0,0 +1,16 @@ +[project] +name = "test-tracing-twp-dsc" +version = "0" +requires-python = ">=3.12" + +dependencies = [ + "aiohttp>=3.11.14", + "fastapi>=0.115.11", + "honcho>=2.0.0", + "ipdb>=0.13.13", + "uvicorn>=0.34.0", + "sentry-sdk[fastapi]", +] + +[tool.uv.sources] +sentry-sdk = { path = "../../sentry-python", editable = true } diff --git a/test-tracing-twp-dsc/requirements.txt b/test-tracing-twp-dsc/requirements.txt deleted file mode 100644 index cea59d0..0000000 --- a/test-tracing-twp-dsc/requirements.txt +++ /dev/null @@ -1,9 +0,0 @@ -fastapi -uvicorn - -aiohttp - -ipdb -honcho - --e ../../../code/sentry-python diff --git a/test-tracing-twp-dsc/run.sh b/test-tracing-twp-dsc/run.sh index a7a6364..4d49c3d 100755 --- a/test-tracing-twp-dsc/run.sh +++ b/test-tracing-twp-dsc/run.sh @@ -1,11 +1,8 @@ #!/usr/bin/env bash - set -euo pipefail -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 -# see Procfile for the commands that are run -honcho start +uv run honcho start