Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 6 additions & 12 deletions __templates__/driver/pyproject.toml.tmpl
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
[project]
name = "jumpstarter-driver-${DRIVER_NAME}"
dynamic = ["version", "urls"]
dynamic = ["version", "dependencies"]
description = "Add your description here"
readme = "README.md"
license = "Apache-2.0"
authors = [
{ name = "${AUTHOR_NAME}", email = "${AUTHOR_EMAIL}" }
]
requires-python = ">=3.11"

[tool.hatch.metadata.hooks.uv-dynamic-versioning]
dependencies = [
"anyio>=4.10.0",
"jumpstarter",
"jumpstarter=={{ version }}",
]

[tool.hatch.version]
source = "vcs"
raw-options = { 'root' = '../../'}

[tool.hatch.metadata.hooks.vcs.urls]
Homepage = "https://jumpstarter.dev"
source_archive = "https://github.com/jumpstarter-dev/repo/archive/{commit_hash}.zip"
source = "uv-dynamic-versioning"

[tool.pytest.ini_options]
addopts = "--cov --cov-report=html --cov-report=xml"
Expand All @@ -29,12 +26,9 @@ testpaths = ["jumpstarter_driver_${DRIVER_NAME}"]
asyncio_mode = "auto"

[build-system]
requires = ["hatchling", "hatch-vcs", "hatch-pin-jumpstarter"]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"

[tool.hatch.build.hooks.pin_jumpstarter]
name = "pin_jumpstarter"

[dependency-groups]
dev = [
"pytest-cov>=6.0.0",
Expand Down
Empty file.
28 changes: 0 additions & 28 deletions packages/hatch-pin-jumpstarter/pyproject.toml

This file was deleted.

This file was deleted.

Empty file.
79 changes: 37 additions & 42 deletions packages/jumpstarter-all/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,60 +1,55 @@
[project]
name = "jumpstarter-all"
dynamic = ["version", "urls"]
dynamic = ["version", "dependencies"]
description = "Jumpstarter meta-package which will install all packages"
authors = [{ name = "Miguel Angel Ajo", email = "[email protected]" }]
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.11"

[tool.hatch.metadata.hooks.uv-dynamic-versioning]
dependencies = [
"jumpstarter",
"jumpstarter-cli",
"jumpstarter-cli-admin",
"jumpstarter-cli-common",
"jumpstarter-cli-driver",
"jumpstarter-driver-can",
"jumpstarter-driver-composite",
"jumpstarter-driver-corellium",
"jumpstarter-driver-dutlink",
"jumpstarter-driver-flashers",
"jumpstarter-driver-http",
"jumpstarter-driver-network",
"jumpstarter-driver-opendal",
"jumpstarter-driver-power",
"jumpstarter-driver-probe-rs",
"jumpstarter-driver-pyserial",
"jumpstarter-driver-qemu",
"jumpstarter-driver-gpiod",
"jumpstarter-driver-ridesx",
"jumpstarter-driver-sdwire",
"jumpstarter-driver-shell",
"jumpstarter-driver-snmp",
"jumpstarter-driver-ssh",
"jumpstarter-driver-tftp",
"jumpstarter-driver-tmt",
"jumpstarter-driver-uboot",
"jumpstarter-driver-ustreamer",
"jumpstarter-driver-yepkit",
"jumpstarter-imagehash",
"jumpstarter-kubernetes",
"jumpstarter-protocol",
"jumpstarter-testing",
"jumpstarter=={{ version }}",
"jumpstarter-cli=={{ version }}",
"jumpstarter-cli-admin=={{ version }}",
"jumpstarter-cli-common=={{ version }}",
"jumpstarter-cli-driver=={{ version }}",
"jumpstarter-driver-can=={{ version }}",
"jumpstarter-driver-composite=={{ version }}",
"jumpstarter-driver-corellium=={{ version }}",
"jumpstarter-driver-dutlink=={{ version }}",
"jumpstarter-driver-flashers=={{ version }}",
"jumpstarter-driver-http=={{ version }}",
"jumpstarter-driver-network=={{ version }}",
"jumpstarter-driver-opendal=={{ version }}",
"jumpstarter-driver-power=={{ version }}",
"jumpstarter-driver-probe-rs=={{ version }}",
"jumpstarter-driver-pyserial=={{ version }}",
"jumpstarter-driver-qemu=={{ version }}",
"jumpstarter-driver-gpiod=={{ version }}",
"jumpstarter-driver-ridesx=={{ version }}",
"jumpstarter-driver-sdwire=={{ version }}",
"jumpstarter-driver-shell=={{ version }}",
"jumpstarter-driver-snmp=={{ version }}",
"jumpstarter-driver-ssh=={{ version }}",
"jumpstarter-driver-tftp=={{ version }}",
"jumpstarter-driver-tmt=={{ version }}",
"jumpstarter-driver-uboot=={{ version }}",
"jumpstarter-driver-ustreamer=={{ version }}",
"jumpstarter-driver-yepkit=={{ version }}",
"jumpstarter-imagehash=={{ version }}",
"jumpstarter-kubernetes=={{ version }}",
"jumpstarter-protocol=={{ version }}",
"jumpstarter-testing=={{ version }}",
]

[tool.hatch.build.targets.wheel]
packages = ["jumpstarter_all"]

[tool.hatch.metadata.hooks.vcs.urls]
Homepage = "https://jumpstarter.dev"
source_archive = "https://github.com/jumpstarter-dev/repo/archive/{commit_hash}.zip"

[tool.hatch.version]
source = "vcs"
raw-options = { 'root' = '../../' }
source = "uv-dynamic-versioning"

[build-system]
requires = ["hatchling", "hatch-vcs", "hatch-pin-jumpstarter"]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"

[tool.hatch.build.hooks.pin_jumpstarter]
name = "pin_jumpstarter"
19 changes: 7 additions & 12 deletions packages/jumpstarter-cli-admin/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
[project]
name = "jumpstarter-cli-admin"
dynamic = ["version", "urls"]
dynamic = ["version", "dependencies"]
description = ""
authors = [{ name = "Kirk Brauer", email = "[email protected]" }]
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.11"

[tool.hatch.metadata.hooks.uv-dynamic-versioning]
dependencies = [
"grpcio-reflection>=1.60.0",
"jumpstarter-cli-common",
"jumpstarter-kubernetes",
"jumpstarter-cli-common=={{ version }}",
"jumpstarter-kubernetes=={{ version }}",
]

[dependency-groups]
Expand All @@ -26,17 +28,10 @@ jmp-admin = "jumpstarter_cli_admin:admin"
[tool.hatch.build.targets.wheel]
packages = ["jumpstarter_cli_admin"]

[tool.hatch.metadata.hooks.vcs.urls]
Homepage = "https://jumpstarter.dev"
source_archive = "https://github.com/jumpstarter-dev/repo/archive/{commit_hash}.zip"

[tool.hatch.version]
source = "vcs"
raw-options = { 'root' = '../../' }
source = "uv-dynamic-versioning"

[build-system]
requires = ["hatchling", "hatch-vcs", "hatch-pin-jumpstarter"]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"

[tool.hatch.build.hooks.pin_jumpstarter]
name = "pin_jumpstarter"
17 changes: 6 additions & 11 deletions packages/jumpstarter-cli-common/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
[project]
name = "jumpstarter-cli-common"
dynamic = ["version", "urls"]
dynamic = ["version", "dependencies"]
description = ""
authors = [{ name = "Kirk Brauer", email = "[email protected]" }]
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.11"

[tool.hatch.metadata.hooks.uv-dynamic-versioning]
dependencies = [
"jumpstarter",
"jumpstarter=={{ version }}",
"pydantic>=2.8.2",
"click>=8.1.7.2",
"authlib>=1.4.1",
Expand All @@ -28,17 +30,10 @@ dev = [
[tool.hatch.build.targets.wheel]
packages = ["jumpstarter_cli_common"]

[tool.hatch.metadata.hooks.vcs.urls]
Homepage = "https://jumpstarter.dev"
source_archive = "https://github.com/jumpstarter-dev/repo/archive/{commit_hash}.zip"

[tool.hatch.version]
source = "vcs"
raw-options = { 'root' = '../../' }
source = "uv-dynamic-versioning"

[build-system]
requires = ["hatchling", "hatch-vcs", "hatch-pin-jumpstarter"]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"

[tool.hatch.build.hooks.pin_jumpstarter]
name = "pin_jumpstarter"
17 changes: 6 additions & 11 deletions packages/jumpstarter-cli-driver/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "jumpstarter-cli-driver"
dynamic = ["version", "urls"]
dynamic = ["version", "dependencies"]
description = ""
authors = [
{ name = "Nick Cao", email = "[email protected]" },
Expand All @@ -10,7 +10,9 @@ authors = [
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.11"
dependencies = ["jumpstarter-cli-common", "click>=8.1.7.2"]

[tool.hatch.metadata.hooks.uv-dynamic-versioning]
dependencies = ["jumpstarter-cli-common=={{ version }}", "click>=8.1.7.2"]

[dependency-groups]
dev = [
Expand All @@ -26,17 +28,10 @@ jmp-driver = "jumpstarter_cli_driver:driver"
[tool.hatch.build.targets.wheel]
packages = ["jumpstarter_cli_driver"]

[tool.hatch.metadata.hooks.vcs.urls]
Homepage = "https://jumpstarter.dev"
source_archive = "https://github.com/jumpstarter-dev/repo/archive/{commit_hash}.zip"

[tool.hatch.version]
source = "vcs"
raw-options = { 'root' = '../../' }
source = "uv-dynamic-versioning"

[build-system]
requires = ["hatchling", "hatch-vcs", "hatch-pin-jumpstarter"]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"

[tool.hatch.build.hooks.pin_jumpstarter]
name = "pin_jumpstarter"
19 changes: 7 additions & 12 deletions packages/jumpstarter-cli/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "jumpstarter-cli"
dynamic = ["version", "urls"]
dynamic = ["version", "dependencies"]
description = ""
authors = [
{ name = "Nick Cao", email = "[email protected]" },
Expand All @@ -10,9 +10,11 @@ authors = [
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.11"

[tool.hatch.metadata.hooks.uv-dynamic-versioning]
dependencies = [
"jumpstarter-cli-admin",
"jumpstarter-cli-driver",
"jumpstarter-cli-admin=={{ version }}",
"jumpstarter-cli-driver=={{ version }}",
]

[dependency-groups]
Expand All @@ -30,17 +32,10 @@ j = "jumpstarter_cli.j:j"
[tool.hatch.build.targets.wheel]
packages = ["jumpstarter_cli"]

[tool.hatch.metadata.hooks.vcs.urls]
Homepage = "https://jumpstarter.dev"
source_archive = "https://github.com/jumpstarter-dev/repo/archive/{commit_hash}.zip"

[tool.hatch.version]
source = "vcs"
raw-options = { 'root' = '../../' }
source = "uv-dynamic-versioning"

[build-system]
requires = ["hatchling", "hatch-vcs", "hatch-pin-jumpstarter"]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"

[tool.hatch.build.hooks.pin_jumpstarter]
name = "pin_jumpstarter"
Loading