We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4309f1c commit 4cdae05Copy full SHA for 4cdae05
3 files changed
test-structlog-sentry/pyproject.toml
@@ -0,0 +1,13 @@
1
+[project]
2
+name = "test-structlog-sentry"
3
+version = "0"
4
+requires-python = ">=3.12"
5
+
6
+dependencies = [
7
+ "ipdb>=0.13.13",
8
+ "structlog-sentry>=2.2.1",
9
+ "sentry-sdk",
10
+]
11
12
+[tool.uv.sources]
13
+sentry-sdk = { path = "../../sentry-python", editable = true }
test-structlog-sentry/requirements.txt
test-structlog-sentry/run.sh
@@ -1,16 +1,8 @@
#!/usr/bin/env bash
+set -euo pipefail
-# exit on first error
-set -xe
+if ! command -v uv &> /dev/null; then
+ curl -LsSf https://astral.sh/uv/install.sh | sh
+fi
-reset
-
-# create and activate virtual environment
-python -m venv .venv
-source .venv/bin/activate
-# Install (or update) requirements
-python -m pip install -r requirements.txt
14
15
-# Run app
16
-python main.py
+uv run python main.py
0 commit comments