diff --git a/test-asyncio/pyproject.toml b/test-asyncio/pyproject.toml new file mode 100644 index 0000000..ae6e949 --- /dev/null +++ b/test-asyncio/pyproject.toml @@ -0,0 +1,12 @@ +[project] +name = "test-asyncio" +version = "0" +requires-python = ">=3.12" + +dependencies = [ + "ipdb>=0.13.13", + "sentry-sdk", +] + +[tool.uv.sources] +sentry-sdk = { path = "../../sentry-python", editable = true } diff --git a/test-asyncio/requirements.txt b/test-asyncio/requirements.txt deleted file mode 100644 index 4284b7b..0000000 --- a/test-asyncio/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ - --e ../../../code/sentry-python - -ipdb \ No newline at end of file diff --git a/test-asyncio/run.sh b/test-asyncio/run.sh index 8a207ef..f283b88 100755 --- a/test-asyncio/run.sh +++ b/test-asyncio/run.sh @@ -1,12 +1,8 @@ #!/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