Skip to content

Commit 983fb75

Browse files
ericapisaniclaude
andcommitted
build(test-multiprocessing): Migrate to uv and pyproject.toml
Replace pip/requirements.txt with uv/pyproject.toml for dependency management. Update run.sh to use uv run instead of manual venv creation and pip install. Refs PY-2465 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4344f7e commit 983fb75

3 files changed

Lines changed: 16 additions & 12 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[project]
2+
name = "test-multiprocessing"
3+
version = "0"
4+
requires-python = ">=3.12"
5+
6+
dependencies = [
7+
"ipdb>=0.13.13",
8+
"sentry-sdk",
9+
]
10+
11+
[tool.uv.sources]
12+
sentry-sdk = { path = "../../sentry-python", editable = true }

test-multiprocessing/requirements.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

test-multiprocessing/run.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
#!/usr/bin/env bash
2-
32
set -euo pipefail
4-
53
reset
64

7-
python -m venv .venv
8-
source .venv/bin/activate
9-
10-
pip install -r requirements.txt
5+
if ! command -v uv &> /dev/null; then
6+
curl -LsSf https://astral.sh/uv/install.sh | sh
7+
fi
118

12-
python main.py
9+
uv run python main.py

0 commit comments

Comments
 (0)