reeval-python 0.21.0__tar.gz → 0.22.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 (86) hide show
  1. {reeval_python-0.21.0 → reeval_python-0.22.0}/PKG-INFO +1 -1
  2. {reeval_python-0.21.0 → reeval_python-0.22.0}/pyproject.toml +1 -1
  3. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/_wire.py +12 -1
  4. reeval_python-0.22.0/src/reeval_python/binaries.json +55 -0
  5. {reeval_python-0.21.0 → reeval_python-0.22.0}/uv.lock +1 -1
  6. reeval_python-0.21.0/src/reeval_python/binaries.json +0 -55
  7. {reeval_python-0.21.0 → reeval_python-0.22.0}/.gitignore +0 -0
  8. {reeval_python-0.21.0 → reeval_python-0.22.0}/CHANGELOG.md +0 -0
  9. {reeval_python-0.21.0 → reeval_python-0.22.0}/LICENSE +0 -0
  10. {reeval_python-0.21.0 → reeval_python-0.22.0}/README.md +0 -0
  11. {reeval_python-0.21.0 → reeval_python-0.22.0}/package.json +0 -0
  12. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/__init__.py +0 -0
  13. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/__main__.py +0 -0
  14. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/aio.py +0 -0
  15. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/checks.py +0 -0
  16. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/cli.py +0 -0
  17. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/context.py +0 -0
  18. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/declare.py +0 -0
  19. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/environment.py +0 -0
  20. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/errors.py +0 -0
  21. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/expect.py +0 -0
  22. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/options.py +0 -0
  23. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/py.typed +0 -0
  24. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/runner.py +0 -0
  25. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/types.py +0 -0
  26. {reeval_python-0.21.0 → reeval_python-0.22.0}/src/reeval_python/wire.py +0 -0
  27. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/abort.eval.py +0 -0
  28. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/abort.sync.eval.py +0 -0
  29. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/exec-env.eval.py +0 -0
  30. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/exec-env.sync.eval.py +0 -0
  31. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/exec-retries.eval.py +0 -0
  32. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/exec-retries.sync.eval.py +0 -0
  33. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/exec.eval.py +0 -0
  34. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/exec.sync.eval.py +0 -0
  35. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/expect-fail.eval.py +0 -0
  36. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/expect-fail.sync.eval.py +0 -0
  37. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/expect.eval.py +0 -0
  38. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/expect.sync.eval.py +0 -0
  39. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/files.eval.py +0 -0
  40. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/files.sync.eval.py +0 -0
  41. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/judge.eval.py +0 -0
  42. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/judge.sync.eval.py +0 -0
  43. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/observe.eval.py +0 -0
  44. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/observe.sync.eval.py +0 -0
  45. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/record.async.eval.py +0 -0
  46. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/record.eval.py +0 -0
  47. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/send.eval.py +0 -0
  48. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/send.sync.eval.py +0 -0
  49. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/stay-within.eval.py +0 -0
  50. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/sync-async.async.eval.py +0 -0
  51. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/context/sync-async.eval.py +0 -0
  52. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/best-of.eval.py +0 -0
  53. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/cases.eval.py +0 -0
  54. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/compare-questions.eval.py +0 -0
  55. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/compare-variants.eval.py +0 -0
  56. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/egress-cascade.eval.py +0 -0
  57. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/environment-extend.eval.py +0 -0
  58. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/environment-plugin-marketplace.eval.py +0 -0
  59. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/environment-plugins.eval.py +0 -0
  60. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/environment-traits.eval.py +0 -0
  61. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/groups-skip-todo.eval.py +0 -0
  62. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/observe.eval.py +0 -0
  63. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/questions-attempts.eval.py +0 -0
  64. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/questions-group.eval.py +0 -0
  65. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/questions-state.eval.py +0 -0
  66. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/revision.eval.py +0 -0
  67. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/declare/tags.eval.py +0 -0
  68. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/runner_process.py +0 -0
  69. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/stdio_host.py +0 -0
  70. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_api.py +0 -0
  71. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_checks.py +0 -0
  72. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_cli.py +0 -0
  73. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_conformance_context.py +0 -0
  74. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_conformance_declare.py +0 -0
  75. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_load.py +0 -0
  76. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_patterns.py +0 -0
  77. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_python_wheels.py +0 -0
  78. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_runner_attempts.py +0 -0
  79. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_runner_checks.py +0 -0
  80. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_runner_isolation.py +0 -0
  81. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_runner_json.py +0 -0
  82. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_runner_misuse.py +0 -0
  83. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_runner_sdk.py +0 -0
  84. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_runner_stdio.py +0 -0
  85. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_source.py +0 -0
  86. {reeval_python-0.21.0 → reeval_python-0.22.0}/tests/test_types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: reeval-python
3
- Version: 0.21.0
3
+ Version: 0.22.0
4
4
  Summary: Python authoring SDK for reeval (*.eval.py eval files)
5
5
  Project-URL: Homepage, https://reeval.ai
6
6
  Project-URL: Repository, https://github.com/invertase/reeval
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "reeval-python"
3
- version = "0.21.0"
3
+ version = "0.22.0"
4
4
  description = "Python authoring SDK for reeval (*.eval.py eval files)"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -430,14 +430,24 @@ BoatSandboxDescriptorApiKey = TypedDict(
430
430
  class BoatSandboxDescriptor(TypedDict):
431
431
  # The host variable with the Boat API key, read on the host only.
432
432
  apiKey: BoatSandboxDescriptorApiKey
433
+ # The attempts one machine runs at once, each as a user of its own with its own home (which
434
+ # each sees at `/home/reeval`), workspace and egress gateway. The harness installs once per
435
+ # machine, and every other slot's home gets its own copy of the install. Default 1. A
436
+ # harness whose bridge takes a fixed port in the machine (Claude Code, OpenCode, Goose, fx,
437
+ # Grok Build) runs one per machine.
438
+ attemptsPerMachine: NotRequired[int]
433
439
  # Cell id; defaults to `boat`, or `boat:<type>` with a `type`.
434
440
  id: NotRequired[str]
435
441
  kind: Literal["boat"]
436
- # The most Boat sandboxes at once, across the run.
442
+ # The most attempts on Boat at once, across the run: machines times `attemptsPerMachine`.
437
443
  maxConcurrent: NotRequired[float]
438
444
  # The start of every sandbox name reeval gives Boat, so a run's cleanup finds only its own:
439
445
  # lowercase letters, digits and dashes.
440
446
  prefix: str
447
+ # A machine takes another of the run's attempts once one ends, instead of being deleted: its
448
+ # user's processes, cron jobs and files are removed and its home put back as it was after
449
+ # the harness installed, which isn't installed again. Default false, one attempt per slot.
450
+ reuse: NotRequired[bool]
441
451
  # The machine size. Default `small`.
442
452
  type: NotRequired[Literal["small", "default", "large", "xlarge"]]
443
453
 
@@ -2163,6 +2173,7 @@ CAMEL_KEYS: frozenset[str] = frozenset(
2163
2173
  {
2164
2174
  "apiKey",
2165
2175
  "atMs",
2176
+ "attemptsPerMachine",
2166
2177
  "bestOf",
2167
2178
  "cacheRead",
2168
2179
  "cacheWrite",
@@ -0,0 +1,55 @@
1
+ {
2
+ "version": "0.22.0",
3
+ "binaries": {
4
+ "linux-x64": {
5
+ "name": "reeval-0.22.0-linux-x64",
6
+ "sha256": "ab1bf102e34a20eeab7a478fae6eeff5f856a48a87ceb0ea01d7771395db2cf2",
7
+ "size": 88720864
8
+ },
9
+ "linux-arm64": {
10
+ "name": "reeval-0.22.0-linux-arm64",
11
+ "sha256": "95adb99a1bed10abf6ebb48810aa1306121225a0f283470c9e53049a3f385ddd",
12
+ "size": 88721704
13
+ },
14
+ "linux-x64-musl": {
15
+ "name": "reeval-0.22.0-linux-x64-musl",
16
+ "sha256": "d8a062765dd0f4551b36c1fdd7d8f93c4edbd49f76a1027be546e59811bc7d28",
17
+ "size": 82691632
18
+ },
19
+ "linux-arm64-musl": {
20
+ "name": "reeval-0.22.0-linux-arm64-musl",
21
+ "sha256": "9663ccea1de09dd0e0d010158b5ff79e6e452e4f7dced0c5d56d1a44b1b222d3",
22
+ "size": 81857744
23
+ },
24
+ "darwin-x64": {
25
+ "name": "reeval-0.22.0-darwin-x64",
26
+ "sha256": "fe3fca95a7876674e3f853870e5f68c182ea9bb2a8a6206f58d28ff68c383361",
27
+ "size": 76738832
28
+ },
29
+ "darwin-arm64": {
30
+ "name": "reeval-0.22.0-darwin-arm64",
31
+ "sha256": "476629a99eb60d3f3852cb0de7a6e5023282e47bcf6f14e882174c35f119ae15",
32
+ "size": 69690354
33
+ },
34
+ "windows-x64": {
35
+ "name": "reeval-0.22.0-windows-x64.exe",
36
+ "sha256": "349b31f6966206ad780c8294fd6c8475d65c08215aef6a38833955cf6f232d03",
37
+ "size": 93495296
38
+ },
39
+ "linux-x64-baseline": {
40
+ "name": "reeval-0.22.0-linux-x64-baseline",
41
+ "sha256": "c7d0b693639103a647b0b2d349f9bbe9e61723805a65d2e7a34923d0e2b65bd7",
42
+ "size": 88720864
43
+ },
44
+ "linux-x64-musl-baseline": {
45
+ "name": "reeval-0.22.0-linux-x64-musl-baseline",
46
+ "sha256": "05cdd1aa36d826ba2884b551b800ffd454452ab40c4c3394f240f6e82ba06da6",
47
+ "size": 82691632
48
+ },
49
+ "windows-x64-baseline": {
50
+ "name": "reeval-0.22.0-windows-x64-baseline.exe",
51
+ "sha256": "1345745fb9798c04c03a6c85f1fdea9a6f3cefb27dbcf119b61d957f3f8772f0",
52
+ "size": 93495296
53
+ }
54
+ }
55
+ }
@@ -87,7 +87,7 @@ wheels = [
87
87
 
88
88
  [[package]]
89
89
  name = "reeval-python"
90
- version = "0.21.0"
90
+ version = "0.22.0"
91
91
  source = { editable = "." }
92
92
 
93
93
  [package.dev-dependencies]
@@ -1,55 +0,0 @@
1
- {
2
- "version": "0.21.0",
3
- "binaries": {
4
- "linux-x64": {
5
- "name": "reeval-0.21.0-linux-x64",
6
- "sha256": "7158242c4ceff60de608724d2bbb5122e498f83f2a5b4383bf668101675e6134",
7
- "size": 88602080
8
- },
9
- "linux-arm64": {
10
- "name": "reeval-0.21.0-linux-arm64",
11
- "sha256": "5269396c1fd086a271466e6d8ad5241d21f6f6d10e7fa2f5620094db6dc813c7",
12
- "size": 88590632
13
- },
14
- "linux-x64-musl": {
15
- "name": "reeval-0.21.0-linux-x64-musl",
16
- "sha256": "db73b9d1aa525d5fe65e8bcdede983c017c378d39229f31b9699398bfdb62af5",
17
- "size": 82572848
18
- },
19
- "linux-arm64-musl": {
20
- "name": "reeval-0.21.0-linux-arm64-musl",
21
- "sha256": "670d26f762ba936020ac20ccf19b5f8a9fa63ec36cf5edb974a3adc6c51240a9",
22
- "size": 81726672
23
- },
24
- "darwin-x64": {
25
- "name": "reeval-0.21.0-darwin-x64",
26
- "sha256": "5284f2530bd1bc9baf148b17cdbb0b0de281a4ceab2fdc5a48d7cb99c3f5d4a0",
27
- "size": 76607760
28
- },
29
- "darwin-arm64": {
30
- "name": "reeval-0.21.0-darwin-arm64",
31
- "sha256": "d7c7b39687b277cbf4af307b7b058d66ff434774f72271e7c1c154b1e988baee",
32
- "size": 69558258
33
- },
34
- "windows-x64": {
35
- "name": "reeval-0.21.0-windows-x64.exe",
36
- "sha256": "8c45aaa695b4c421389f0bd9e03f9205069a27981815076bc068209fe62858e4",
37
- "size": 93378560
38
- },
39
- "linux-x64-baseline": {
40
- "name": "reeval-0.21.0-linux-x64-baseline",
41
- "sha256": "6420a663d6036bd46ef0c2d30e4eb263bd1773fa475c7414c1081a63096917ab",
42
- "size": 88602080
43
- },
44
- "linux-x64-musl-baseline": {
45
- "name": "reeval-0.21.0-linux-x64-musl-baseline",
46
- "sha256": "c9cea461f397d82cf778873700e3f3b43fc622b78a0c17a3d2454cf509227c46",
47
- "size": 82572848
48
- },
49
- "windows-x64-baseline": {
50
- "name": "reeval-0.21.0-windows-x64-baseline.exe",
51
- "sha256": "9506e9327498754ce060bd6254887e127c17e2f1738851578ce90d0a9ebd5370",
52
- "size": 93378560
53
- }
54
- }
55
- }
File without changes
File without changes