From 96eef8b54bdf5faafcad120b7309c87843c681c3 Mon Sep 17 00:00:00 2001 From: Svein Seldal Date: Sun, 16 Nov 2025 21:45:10 +0100 Subject: [PATCH 1/3] Bump version to v3.5.5 * Migrate to hatching build backend, which is pure python --- pyproject.toml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b9a1d1a..5eb6bd4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,14 +1,14 @@ [build-system] -requires = ["uv_build>=0.9.5,<0.10.0"] -build-backend = "uv_build" +requires = ["hatchling"] +build-backend = "hatchling.build" [project] name = "objdictgen" -version = "3.5.4" +version = "3.5.5" +description = "CanFestival Object Dictionary tool" authors = [ - {name = "Svein Seldal", email = "sveinse@laerdal.com"}, + {name = "Svein Seldal", email = "svein.seldal@laerdal.com"}, ] -description = "CanFestival Object Dictionary tool" readme = "README.md" license = "LGPL-2.1-or-later" requires-python = ">=3.10,<4" @@ -56,9 +56,17 @@ Repository = "https://github.com/Laerdal/python-objdictgen" [project.scripts] odg = "objdictgen.__main__:main" -[tool.uv.build-backend] -source-include = [ - "tests/**", +[tool.hatch.build.targets.wheel] +packages = ["src/objdictgen"] + +[tool.hatch.build.targets.sdist] +include = [ + "/packaging", + "/src/objdictgen", + "/tests", +] +exclude = [ + "/tests/od/extra-compare", ] [tool.pytest.ini_options] From c935526e71007c7087e1e28014f6b2f110235745 Mon Sep 17 00:00:00 2001 From: Svein Seldal Date: Sun, 16 Nov 2025 22:29:31 +0100 Subject: [PATCH 2/3] Fix missing schema --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 3341342..c14ba94 100644 --- a/.gitignore +++ b/.gitignore @@ -27,4 +27,5 @@ _tmp* tests/od/extra-compare* *.od *.json +!/src/objdictgen/schema/*.json *.jsonc From e8aafd873bd853d9cfc25a57bb7e3dbc7beacd1e Mon Sep 17 00:00:00 2001 From: Svein Seldal Date: Sun, 16 Nov 2025 22:50:45 +0100 Subject: [PATCH 3/3] Move dev to dependency group --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 5eb6bd4..be6b170 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,6 +36,8 @@ dependencies = [ ui = [ "wxPython", ] + +[dependency-groups] dev = [ "ruff", "mypy",