diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c0e1b45..47c7a76 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,4 +6,4 @@ updates: interval: daily allow: - dependency-name: hotdata - - dependency-name: hotdata-runtime + - dependency-name: hotdata-framework diff --git a/pyproject.toml b/pyproject.toml index a63034a..7a8151e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "hotdata-ibis" version = "0.1.5" -description = "Ibis backend for Hotdata federated SQL API (depends on the hotdata SDK only; not hotdata-runtime)" +description = "Ibis backend for Hotdata federated SQL API (depends on the hotdata SDK only; not hotdata-framework)" readme = "README.md" requires-python = ">=3.10" license = { text = "Apache-2.0" } diff --git a/scripts/publish-workflow.sh b/scripts/publish-workflow.sh index 88c9db9..713f872 100755 --- a/scripts/publish-workflow.sh +++ b/scripts/publish-workflow.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Generate publish.yml for a package. Usage: publish-workflow.sh hotdata-runtime +# Generate publish.yml for a package. Usage: publish-workflow.sh hotdata-framework set -euo pipefail pkg="${1:?package name}" cat < None: +def test_pyproject_dependencies_do_not_include_hotdata_framework() -> None: pyproject_text = (REPO_ROOT / "pyproject.toml").read_text(encoding="utf-8") match = re.search(r"(?ms)^dependencies\s*=\s*\[(.*?)\]", pyproject_text) assert match is not None dependencies_block = match.group(1) - assert "hotdata-runtime" not in dependencies_block - assert "hotdata_runtime" not in dependencies_block + assert "hotdata-framework" not in dependencies_block + assert "hotdata_framework" not in dependencies_block -def test_source_tree_does_not_import_hotdata_runtime() -> None: +def test_source_tree_does_not_import_hotdata_framework() -> None: violations: list[str] = [] import_patterns = ( - re.compile(r"(?m)^\s*from\s+hotdata_runtime(?:\.|\s+import)"), - re.compile(r"(?m)^\s*import\s+hotdata_runtime(?:\s|$|,)"), + re.compile(r"(?m)^\s*from\s+hotdata_framework(?:\.|\s+import)"), + re.compile(r"(?m)^\s*import\s+hotdata_framework(?:\s|$|,)"), ) for folder in ("src", "tests", "examples"): @@ -29,6 +29,6 @@ def test_source_tree_does_not_import_hotdata_runtime() -> None: violations.append(str(path.relative_to(REPO_ROOT))) assert not violations, ( - "hotdata-ibis must remain independent from hotdata-runtime; " + "hotdata-ibis must remain independent from hotdata-framework; " f"found forbidden imports in: {', '.join(violations)}" ) diff --git a/uv.lock b/uv.lock index d13ab8b..ece991d 100644 --- a/uv.lock +++ b/uv.lock @@ -142,7 +142,7 @@ wheels = [ [[package]] name = "hotdata-ibis" -version = "0.1.4" +version = "0.1.5" source = { editable = "." } dependencies = [ { name = "hotdata" },