validibot-shared 0.5.0__tar.gz → 0.6.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.
Files changed (26) hide show
  1. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/PKG-INFO +2 -2
  2. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/pyproject.toml +2 -2
  3. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/validibot_shared/evidence/manifest.py +8 -1
  4. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/.gitignore +0 -0
  5. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/LICENSE +0 -0
  6. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/NOTICE +0 -0
  7. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/README.md +0 -0
  8. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/tests/__init__.py +0 -0
  9. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/tests/test_energyplus_envelopes.py +0 -0
  10. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/tests/test_energyplus_models.py +0 -0
  11. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/tests/test_evidence_manifest.py +0 -0
  12. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/tests/test_fmu_envelopes.py +0 -0
  13. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/tests/test_fmu_models.py +0 -0
  14. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/tests/test_package_init.py +0 -0
  15. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/tests/test_validations_envelopes.py +0 -0
  16. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/validibot_shared/__init__.py +0 -0
  17. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/validibot_shared/energyplus/__init__.py +0 -0
  18. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/validibot_shared/energyplus/envelopes.py +0 -0
  19. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/validibot_shared/energyplus/models.py +0 -0
  20. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/validibot_shared/evidence/__init__.py +0 -0
  21. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/validibot_shared/fmu/__init__.py +0 -0
  22. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/validibot_shared/fmu/envelopes.py +0 -0
  23. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/validibot_shared/fmu/models.py +0 -0
  24. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/validibot_shared/py.typed +0 -0
  25. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/validibot_shared/validations/__init__.py +0 -0
  26. {validibot_shared-0.5.0 → validibot_shared-0.6.0}/validibot_shared/validations/envelopes.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: validibot-shared
3
- Version: 0.5.0
3
+ Version: 0.6.0
4
4
  Summary: Shared library for data interchange between Validibot and validator containers
5
5
  Project-URL: Homepage, https://validibot.com
6
6
  Project-URL: Documentation, https://docs.validibot.com
@@ -24,7 +24,7 @@ Classifier: Programming Language :: Python :: 3.13
24
24
  Classifier: Topic :: Scientific/Engineering
25
25
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
26
26
  Requires-Python: >=3.10
27
- Requires-Dist: pydantic==2.13.3
27
+ Requires-Dist: pydantic<3.0,>=2.13
28
28
  Provides-Extra: dev
29
29
  Requires-Dist: pytest==9.0.3; extra == 'dev'
30
30
  Requires-Dist: ruff==0.15.12; extra == 'dev'
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "validibot-shared"
7
- version = "0.5.0"
7
+ version = "0.6.0"
8
8
  description = "Shared library for data interchange between Validibot and validator containers"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -32,7 +32,7 @@ classifiers = [
32
32
  "Topic :: Software Development :: Libraries :: Python Modules",
33
33
  "Topic :: Scientific/Engineering",
34
34
  ]
35
- dependencies = ["pydantic==2.13.3"]
35
+ dependencies = ["pydantic>=2.13,<3.0"]
36
36
 
37
37
  [project.optional-dependencies]
38
38
  dev = ["pytest==9.0.3", "ruff==0.15.12"]
@@ -105,7 +105,14 @@ class WorkflowContractSnapshot(BaseModel):
105
105
  model_config = ConfigDict(frozen=True)
106
106
 
107
107
  allowed_file_types: list[str] = Field(default_factory=list)
108
- data_retention: str = ""
108
+ # ``input_retention`` was named ``data_retention`` in shared
109
+ # 0.5.x. The rename (shared 0.6.0+) makes the parallel with
110
+ # ``output_retention`` obvious — both fields carry the workflow
111
+ # author's retention choices, one for the user's input bytes and
112
+ # one for the validator's output bytes. The schema-version
113
+ # string stays ``validibot.evidence.v1`` because the field's
114
+ # semantics are unchanged; only the name is clearer.
115
+ input_retention: str = ""
109
116
  output_retention: str = ""
110
117
  agent_billing_mode: str = ""
111
118
  agent_price_cents: int | None = None