We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83f3c03 commit 4b13fa3Copy full SHA for 4b13fa3
3 files changed
test-streamlit/pyproject.toml
@@ -0,0 +1,14 @@
1
+[project]
2
+name = "test-streamlit"
3
+version = "0"
4
+requires-python = ">=3.12"
5
+
6
+dependencies = [
7
+ "ipdb>=0.13.13",
8
+ "numpy>=2.2.4",
9
+ "streamlit>=1.43.2",
10
+ "sentry-sdk",
11
+]
12
13
+[tool.uv.sources]
14
+sentry-sdk = { path = "../../sentry-python", editable = true }
test-streamlit/requirements.txt
test-streamlit/run.sh
@@ -1,14 +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
-# create and activate virtual environment
-python -m venv .venv
-source .venv/bin/activate
-
-# Install (or update) requirements
-python -m pip install -r requirements.txt
-streamlit run main.py
+uv run streamlit run main.py
0 commit comments