dirigent-testing 0.27.0__tar.gz → 0.28.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dirigent-testing
3
- Version: 0.27.0
3
+ Version: 0.28.0
4
4
  Summary: Test doubles and pytest fixtures for writing and testing dirigent blocks.
5
5
  License-Expression: LicenseRef-Proprietary
6
6
  License-File: LICENSE
7
7
  Classifier: Programming Language :: Python :: 3
8
8
  Classifier: Programming Language :: Python :: 3.13
9
- Requires-Dist: dirigent-common==0.27.0
10
- Requires-Dist: dirigent-plugin==0.27.0
9
+ Requires-Dist: dirigent-common==0.28.0
10
+ Requires-Dist: dirigent-plugin==0.28.0
11
11
  Requires-Dist: httpx2>=2.12.0
12
12
  Requires-Dist: pydantic>=2.13.5
13
13
  Requires-Dist: pytest>=9.1.1
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dirigent-testing"
3
- version = "0.27.0"
3
+ version = "0.28.0"
4
4
  description = "Test doubles and pytest fixtures for writing and testing dirigent blocks."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
@@ -11,8 +11,8 @@ classifiers = [
11
11
  "Programming Language :: Python :: 3.13",
12
12
  ]
13
13
  dependencies = [
14
- "dirigent-common==0.27.0",
15
- "dirigent-plugin==0.27.0",
14
+ "dirigent-common==0.28.0",
15
+ "dirigent-plugin==0.28.0",
16
16
  "httpx2>=2.12.0",
17
17
  "pydantic>=2.13.5",
18
18
  "pytest>=9.1.1",
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dirigent-testing"
3
- version = "0.27.0"
3
+ version = "0.28.0"
4
4
  description = "Test doubles and pytest fixtures for writing and testing dirigent blocks."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
@@ -11,8 +11,8 @@ classifiers = [
11
11
  "Programming Language :: Python :: 3.13",
12
12
  ]
13
13
  dependencies = [
14
- "dirigent-common==0.27.0",
15
- "dirigent-plugin==0.27.0",
14
+ "dirigent-common==0.28.0",
15
+ "dirigent-plugin==0.28.0",
16
16
  "httpx2>=2.12.0",
17
17
  "pydantic>=2.13.5",
18
18
  "pytest>=9.1.1",
@@ -21,7 +21,7 @@ from jsonschema import ValidationError as SchemaValidationError
21
21
  from jsonschema.validators import extend as extend_validator # pyright: ignore[reportUnknownVariableType]
22
22
  from pydantic import BaseModel, JsonValue
23
23
 
24
- from dirigent_common import BlockModel, HumaneJsonSchema, JsonMap
24
+ from dirigent_common import LOCAL_REFERENCES, BlockModel, HumaneJsonSchema, JsonMap
25
25
  from dirigent_plugin import AnyOperator, AnySensor, Contribution, mark_refusal
26
26
 
27
27
  #: A ``${...}`` reference, matched the way the engine matches one.
@@ -175,7 +175,7 @@ def _check_step(
175
175
  def _config_issues(label: Path, name: str, config: JsonMap, schema: JsonMap) -> list[str]:
176
176
  """List the ways a step's config violates its block's schema, deferring every reference."""
177
177
  deferred = _defer_references(config)
178
- raised: Any = _ConfigValidator(schema).iter_errors(deferred) # pyright: ignore[reportUnknownMemberType]
178
+ raised: Any = _ConfigValidator(schema, registry=LOCAL_REFERENCES).iter_errors(deferred) # pyright: ignore[reportUnknownMemberType]
179
179
  found = cast("list[SchemaValidationError]", list(raised))
180
180
  issues: list[str] = []
181
181
  for error in sorted(found, key=lambda item: [str(part) for part in item.absolute_path]):