runproof-engine 0.1.1__tar.gz → 0.1.2__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 (22) hide show
  1. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/PKG-INFO +1 -1
  2. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/pyproject.toml +1 -1
  3. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/src/runproof_engine/__init__.py +1 -1
  4. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/src/runproof_engine.egg-info/PKG-INFO +1 -1
  5. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/tests/test_core.py +9 -0
  6. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/LICENSE +0 -0
  7. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/README.md +0 -0
  8. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/setup.cfg +0 -0
  9. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/src/runproof_engine/cli.py +0 -0
  10. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/src/runproof_engine/core.py +0 -0
  11. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/src/runproof_engine/diff.py +0 -0
  12. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/src/runproof_engine/policy.py +0 -0
  13. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/src/runproof_engine/py.typed +0 -0
  14. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/src/runproof_engine/replay.py +0 -0
  15. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/src/runproof_engine/utils.py +0 -0
  16. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/src/runproof_engine.egg-info/SOURCES.txt +0 -0
  17. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/src/runproof_engine.egg-info/dependency_links.txt +0 -0
  18. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/src/runproof_engine.egg-info/entry_points.txt +0 -0
  19. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/src/runproof_engine.egg-info/requires.txt +0 -0
  20. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/src/runproof_engine.egg-info/top_level.txt +0 -0
  21. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/tests/test_cli.py +0 -0
  22. {runproof-engine-0.1.1 → runproof-engine-0.1.2}/tests/test_http.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: runproof-engine
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Evidence, replay, and explainable diffs for real Python runs
5
5
  Author: RunProof Contributors
6
6
  License: Apache-2.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "runproof-engine"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "Evidence, replay, and explainable diffs for real Python runs"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -30,4 +30,4 @@ __all__ = [
30
30
  "verified",
31
31
  ]
32
32
 
33
- __version__ = "0.1.0"
33
+ __version__ = "0.1.2"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: runproof-engine
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Evidence, replay, and explainable diffs for real Python runs
5
5
  Author: RunProof Contributors
6
6
  License: Apache-2.0
@@ -1,10 +1,12 @@
1
1
  from __future__ import annotations
2
2
 
3
3
  import json
4
+ import re
4
5
  from pathlib import Path
5
6
 
6
7
  import pytest
7
8
 
9
+ import runproof_engine
8
10
  from runproof_engine import PolicyDenied, RunProofError, load_run, verified
9
11
 
10
12
 
@@ -21,6 +23,13 @@ def make_run(root: Path, input_path: Path, value: int) -> Path:
21
23
  return run.result.artifact_dir
22
24
 
23
25
 
26
+ def test_package_version_matches_project_metadata() -> None:
27
+ project_text = (Path(__file__).parents[1] / "pyproject.toml").read_text(encoding="utf-8")
28
+ project_version = re.search(r'^version = "([^"]+)"$', project_text, re.MULTILINE)
29
+ assert project_version is not None
30
+ assert runproof_engine.__version__ == project_version.group(1)
31
+
32
+
24
33
  def test_run_records_real_input_steps_output_and_checks(tmp_path: Path) -> None:
25
34
  source = tmp_path / "source.txt"
26
35
  source.write_text("real input\n", encoding="utf-8")
File without changes