Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit 30b7e63

Browse files
authored
Merge pull request #178 from jumpstarter-dev/dep-group
Use PEP 735 Dependency Groups instead of uv specific dev-dependencies…
2 parents 7e757f2 + 2cce29d commit 30b7e63

10 files changed

Lines changed: 417 additions & 422 deletions

File tree

contrib/drivers/can/pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,12 @@ dependencies = [
1515
"can-isotp>=2.0.6",
1616
]
1717

18-
[tool.uv]
19-
dev-dependencies = [
18+
[dependency-groups]
19+
dev = [
2020
"pytest>=8.3.2",
2121
"pytest-cov>=5.0.0",
2222
]
2323

24-
[tool.uv.sources]
25-
jumpstarter = { workspace = true }
26-
2724
[tool.hatch.metadata.hooks.vcs.urls]
2825
Homepage = "https://jumpstarter.dev"
2926
source_archive = "https://github.com/jumpstarter-dev/repo/archive/{commit_hash}.zip"

contrib/drivers/dutlink/pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,12 @@ dependencies = [
1515
"pyusb>=1.2.1",
1616
]
1717

18-
[tool.uv]
19-
dev-dependencies = [
18+
[dependency-groups]
19+
dev = [
2020
"pytest>=8.3.2",
2121
"pytest-cov>=5.0.0",
2222
]
2323

24-
[tool.uv.sources]
25-
jumpstarter = { workspace = true }
26-
2724
[tool.hatch.metadata.hooks.vcs.urls]
2825
Homepage = "https://jumpstarter.dev"
2926
source_archive = "https://github.com/jumpstarter-dev/repo/archive/{commit_hash}.zip"

contrib/drivers/raspberrypi/pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,12 @@ dependencies = [
1414
"gpiozero>=2.0.1",
1515
]
1616

17-
[tool.uv]
18-
dev-dependencies = [
17+
[dependency-groups]
18+
dev = [
1919
"pytest>=8.3.2",
2020
"pytest-cov>=5.0.0",
2121
]
2222

23-
[tool.uv.sources]
24-
jumpstarter = { workspace = true }
25-
2623
[tool.hatch.metadata.hooks.vcs.urls]
2724
Homepage = "https://jumpstarter.dev"
2825
source_archive = "https://github.com/jumpstarter-dev/repo/archive/{commit_hash}.zip"

contrib/drivers/sdwire/pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,12 @@ dependencies = [
1313
"pyudev>=0.24.3",
1414
]
1515

16-
[tool.uv]
17-
dev-dependencies = [
16+
[dependency-groups]
17+
dev = [
1818
"pytest>=8.3.2",
1919
"pytest-cov>=5.0.0",
2020
]
2121

22-
[tool.uv.sources]
23-
jumpstarter = { workspace = true }
24-
2522
[tool.hatch.metadata.hooks.vcs.urls]
2623
Homepage = "https://jumpstarter.dev"
2724
source_archive = "https://github.com/jumpstarter-dev/repo/archive/{commit_hash}.zip"

contrib/drivers/ustreamer/pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,12 @@ dependencies = [
1414
"pillow>=10.4.0",
1515
]
1616

17-
[tool.uv]
18-
dev-dependencies = [
17+
[dependency-groups]
18+
dev = [
1919
"pytest>=8.3.2",
2020
"pytest-cov>=5.0.0",
2121
]
2222

23-
[tool.uv.sources]
24-
jumpstarter = { workspace = true }
25-
2623
[tool.hatch.metadata.hooks.vcs.urls]
2724
Homepage = "https://jumpstarter.dev"
2825
source_archive = "https://github.com/jumpstarter-dev/repo/archive/{commit_hash}.zip"

contrib/libs/imagehash/pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,12 @@ dependencies = [
1414
"jumpstarter",
1515
]
1616

17-
[tool.uv]
18-
dev-dependencies = [
17+
[dependency-groups]
18+
dev = [
1919
"pytest>=8.3.2",
2020
"pytest-cov>=5.0.0",
2121
]
2222

23-
[tool.uv.sources]
24-
jumpstarter = { workspace = true }
25-
2623
[tool.hatch.metadata.hooks.vcs.urls]
2724
Homepage = "https://jumpstarter.dev"
2825
source_archive = "https://github.com/jumpstarter-dev/repo/archive/{commit_hash}.zip"

examples/automotive/pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,3 @@ requires-python = ">=3.11"
1212
dependencies = [
1313
"jumpstarter"
1414
]
15-
16-
[tool.uv.sources]
17-
jumpstarter = { workspace = true }

examples/soc-pytest/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ dependencies = [
1717
]
1818

1919
[tool.uv.sources]
20-
jumpstarter = { workspace = true }
2120
jumpstarter-imagehash = { workspace = true }
2221
jumpstarter-driver-dutlink = { workspace = true }
2322

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ dependencies = [
2626
"protobuf>=5.28.0",
2727
]
2828

29-
[project.optional-dependencies]
30-
pytest = [
31-
"pytest>=8.3.2",
32-
]
33-
3429
[dependency-groups]
3530
docs = [
3631
"sphinx<8.1.0",
@@ -70,6 +65,9 @@ source_archive = "https://github.com/jumpstarter-dev/repo/archive/{commit_hash}.
7065
[tool.uv.workspace]
7166
members = ["contrib/drivers/*", "contrib/libs/*", "examples/*"]
7267

68+
[tool.uv.sources]
69+
jumpstarter = { workspace = true }
70+
7371
[tool.ruff]
7472
exclude = ["jumpstarter/v1"]
7573
line-length = 120

uv.lock

Lines changed: 402 additions & 383 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)