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
7 changes: 2 additions & 5 deletions packages/openstef-beam/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: MPL-2.0
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling" ]
build-backend = "uv_build"
requires = [ "uv_build<0.12" ]

[project]
name = "openstef-beam"
Expand Down Expand Up @@ -43,9 +43,6 @@ urls.Homepage = "https://lfenergy.org/projects/openstef/"
urls.Issues = "https://github.com/OpenSTEF/openstef/issues"
urls.Repository = "https://github.com/OpenSTEF/openstef"

[tool.hatch]
build.targets.wheel.packages = [ "src/openstef_beam" ]

[tool.uv]
sources.openstef-core = { workspace = true }
sources.openstef-meta = { workspace = true }
Expand Down
7 changes: 2 additions & 5 deletions packages/openstef-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: MPL-2.0
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling" ]
build-backend = "uv_build"
requires = [ "uv_build<0.12" ]

[project]
name = "openstef-core"
Expand Down Expand Up @@ -40,6 +40,3 @@ urls.Documentation = "https://openstef.github.io/openstef/index.html"
urls.Homepage = "https://lfenergy.org/projects/openstef/"
urls.Issues = "https://github.com/OpenSTEF/openstef/issues"
urls.Repository = "https://github.com/OpenSTEF/openstef"

[tool.hatch]
build.targets.wheel.packages = [ "src/openstef_core" ]
7 changes: 2 additions & 5 deletions packages/openstef-foundation-models/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: MPL-2.0
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling" ]
build-backend = "uv_build"
requires = [ "uv_build<0.12" ]

[project]
name = "openstef-foundation-models"
Expand Down Expand Up @@ -60,9 +60,6 @@ urls.Homepage = "https://lfenergy.org/projects/openstef/"
urls.Issues = "https://github.com/OpenSTEF/openstef/issues"
urls.Repository = "https://github.com/OpenSTEF/openstef"

[tool.hatch]
build.targets.wheel.packages = [ "src/openstef_foundation_models" ]

[tool.uv]
sources.openstef-beam = { workspace = true }
sources.openstef-core = { workspace = true }
Expand Down
7 changes: 2 additions & 5 deletions packages/openstef-meta/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: MPL-2.0
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling" ]
build-backend = "uv_build"
requires = [ "uv_build<0.12" ]

[project]
name = "openstef-meta"
Expand Down Expand Up @@ -33,6 +33,3 @@ urls.Documentation = "https://openstef.github.io/openstef/index.html"
urls.Homepage = "https://lfenergy.org/projects/openstef/"
urls.Issues = "https://github.com/OpenSTEF/openstef/issues"
urls.Repository = "https://github.com/OpenSTEF/openstef"

[tool.hatch]
build.targets.wheel.packages = [ "src/openstef_meta" ]
7 changes: 2 additions & 5 deletions packages/openstef-models/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# SPDX-License-Identifier: MPL-2.0
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling" ]
build-backend = "uv_build"
requires = [ "uv_build<0.12" ]

[project]
name = "openstef-models"
Expand Down Expand Up @@ -48,9 +48,6 @@ urls.Homepage = "https://lfenergy.org/projects/openstef/"
urls.Issues = "https://github.com/OpenSTEF/openstef/issues"
urls.Repository = "https://github.com/OpenSTEF/openstef"

[tool.hatch]
build.targets.wheel.packages = [ "src/openstef_models" ]

[tool.uv]
# xgb-cpu installs xgboost-cpu (Linux/Windows) and xgb-gpu installs the full
# xgboost; both provide the same import, so exactly one may be installed.
Expand Down
14 changes: 9 additions & 5 deletions poe_tasks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,17 @@ args = [
# Builds only the publishable distributions. `openstef-deployment-examples` is a workspace
# member (so `uv run --package openstef-deployment-examples ...` works) but must NOT be
# published to PyPI, so it is deliberately excluded here rather than using `--all-packages`.
# The five real packages use the uv_build backend so they build under --require-hashes. The root
# meta-package ships no module, so it stays on hatchling (uv_build requires a module); hatchling
# can't build under --require-hashes (its isolated build deps aren't hash-pinned in uv.lock), so
# the root is built without it — it contains only metadata, no code.
help = "Build all publishable packages (excludes openstef-deployment-examples)"
sequence = [
{ cmd = "uv build --package openstef-core" },
{ cmd = "uv build --package openstef-models" },
{ cmd = "uv build --package openstef-beam" },
{ cmd = "uv build --package openstef-foundation-models" },
{ cmd = "uv build --package openstef-meta" },
{ cmd = "uv build --package openstef-core --require-hashes" },
{ cmd = "uv build --package openstef-models --require-hashes" },
{ cmd = "uv build --package openstef-beam --require-hashes" },
{ cmd = "uv build --package openstef-foundation-models --require-hashes" },
{ cmd = "uv build --package openstef-meta --require-hashes" },
{ cmd = "uv build .", help = "Build root meta package separately (not a workspace member)" },
]

Expand Down
Loading