From f8a2114ae0b58a11fd33570d8ada163b5c5df0eb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Dec 2026 13:44:01 +0000 Subject: [PATCH 1/2] chore(deps-dev): bump infrahub-testcontainers from 1.12.3 to 1.12.4 Bumps [infrahub-testcontainers](https://github.com/opsmill/infrahub) from 1.12.3 to 1.12.4. - [Release notes](https://github.com/opsmill/infrahub/releases) - [Changelog](https://github.com/opsmill/infrahub/blob/stable/CHANGELOG.md) - [Commits](https://github.com/opsmill/infrahub/compare/infrahub-v1.12.3...infrahub-v1.12.4) --- updated-dependencies: - dependency-name: infrahub-testcontainers dependency-version: 1.12.4 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- uv.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uv.lock b/uv.lock index a94d776ad..01f7121a1 100644 --- a/uv.lock +++ b/uv.lock @@ -930,7 +930,7 @@ types = [ [[package]] name = "infrahub-testcontainers" -version = "1.12.3" +version = "1.12.4" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "httpx" }, @@ -940,9 +940,9 @@ dependencies = [ { name = "pytest" }, { name = "testcontainers" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/d3/9d/29cec33a742575b087c878af381a32c76c4f2c012c700afcadef79b66756/infrahub_testcontainers-1.12.3.tar.gz", hash = "sha256:c40e8bd842cd0c5733b8952899d4f802b7608564e09957d00dbe1a0722ea31d4", size = 23343, upload-time = "2026-11-25T08:48:47.839Z" } +sdist = { url = "https://files.pythonhosted.org/packages/58/b9/8d6891441757570c833572ea8ac33bd7cb469c55e3242749d8eef7f1102b/infrahub_testcontainers-1.12.4.tar.gz", hash = "sha256:2e11d66cee4955e9f7da11943494bb29707b3369b295a98c58d6a4007577eabf", size = 23340, upload-time = "2026-11-27T17:44:41.206Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/cc/ff/6e7222400aff65dbf750b4795cf3863bcd6f3dc7567980ae8a0d4795cafb/infrahub_testcontainers-1.12.3-py3-none-any.whl", hash = "sha256:bb8fcbdc6430396a2897c4b1d546fcf8d39fc8f2d73c6d07205d3907db688ade", size = 30066, upload-time = "2026-11-25T08:48:46.536Z" }, + { url = "https://files.pythonhosted.org/packages/b6/57/ba92cd5c818076c2fd5627ba595dc54ae928332da0c1ac10a4b70d06485e/infrahub_testcontainers-1.12.4-py3-none-any.whl", hash = "sha256:25bede5343242675ac5f99a7e71cf028b74340aa00232c338c279e17523dcd4a", size = 30065, upload-time = "2026-11-27T17:44:40.463Z" }, ] [[package]] From e67f84e703d39164d665a3e2587c70c147b6ef32 Mon Sep 17 00:00:00 2001 From: Pol Michel Date: Tue, 1 Dec 2026 15:17:29 +0100 Subject: [PATCH 2/2] test(schema): extend test-defined kinds instead of BuiltinTag Infrahub 1.12.4 rejects a schema whose extension targets a kind in a restricted namespace such as Builtin, so the two fixtures of test_schema_load_many failed to load. Each fixture now extends the node that the other fixture defines, and the test checks that both extension relationships are present after the load. Co-Authored-By: Claude Fable 5.2 --- tests/integration/conftest.py | 4 ++-- tests/integration/test_schema.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 25347480f..2ab11ea84 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -41,7 +41,7 @@ def schema_extension_01() -> dict[str, Any]: "extensions": { "nodes": [ { - "kind": "BuiltinTag", + "kind": "ProcurementContract", "relationships": [ { "name": "racks", @@ -92,7 +92,7 @@ def schema_extension_02() -> dict[str, Any]: "extensions": { "nodes": [ { - "kind": "BuiltinTag", + "kind": "InfraRack", "relationships": [ { "name": "contracts", diff --git a/tests/integration/test_schema.py b/tests/integration/test_schema.py index 42307e3f2..bdbf19562 100644 --- a/tests/integration/test_schema.py +++ b/tests/integration/test_schema.py @@ -47,6 +47,8 @@ async def test_schema_load_many( schema_nodes = await client.schema.all(refresh=True) assert "InfraRack" in schema_nodes assert "ProcurementContract" in schema_nodes + assert "contracts" in schema_nodes["InfraRack"].relationship_names + assert "racks" in schema_nodes["ProcurementContract"].relationship_names class TestInfrahubSchemaLoadErrorRendering(TestInfrahubDockerClient):