From 7be26656517ca60708aed0593e173602f4179b68 Mon Sep 17 00:00:00 2001 From: Tokarzewski Date: Wed, 7 Oct 2026 15:01:11 +0200 Subject: [PATCH] Use dsbxml and db-process from PyPI Co-Authored-By: Claude Sonnet 5.5 --- README.md | 2 +- db_cli/cli.py | 2 +- db_cli/xml_utils.py | 2 +- pyproject.toml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 23a20c6..1a94dae 100644 --- a/README.md +++ b/README.md @@ -48,5 +48,5 @@ db-cli close ## Dependencies - [fire](https://github.com/google/python-fire) — CLI generation -- [db-schema](https://github.com/Tokarzewski/db-schema) — schema validation and conversion utilities +- [dsbxml](https://pypi.org/project/dsbxml/) — schema validation and conversion utilities - [db-process](https://github.com/DesignBuilderSoftware/db-process) — DesignBuilder process management diff --git a/db_cli/cli.py b/db_cli/cli.py index a9a8d04..bb40ed8 100644 --- a/db_cli/cli.py +++ b/db_cli/cli.py @@ -6,7 +6,7 @@ from fire import Fire -from db_schema.utils import load_model +from dsbxml import load_model from db_cli.xml_utils import file_to_dict, dict_to_file from db_cli.converter import dsb_to_xml as _dsb_to_xml from db_cli.converter import xml_to_dsb as _xml_to_dsb diff --git a/db_cli/xml_utils.py b/db_cli/xml_utils.py index 1661de9..b784e7e 100644 --- a/db_cli/xml_utils.py +++ b/db_cli/xml_utils.py @@ -4,7 +4,7 @@ Lightweight XML helpers for db_cli. These were originally imported from ``designbuilder_schema.utils`` but the -schema package (now ``db_schema``) no longer ships them, so db_cli carries +schema package (now published on PyPI as ``dsbxml``) no longer ships them, so db_cli carries its own ElementTree-based implementations. """ diff --git a/pyproject.toml b/pyproject.toml index 8cdbd07..42c4787 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,8 +8,8 @@ authors = [ ] dependencies = [ "fire", - "designbuilder_schema @ git+https://github.com/DesignBuilderSoftware/db-schema.git", - "db-process @ git+https://github.com/DesignBuilderSoftware/db-process.git", + "dsbxml>=1.3.0", + "db-process>=0.2.0", ] readme = "README.md"