Skip to content

Commit 5c254e0

Browse files
authored
Sandbox hotfix (#448)
* fixes for prime-sandboxes, disabling python3.14 * post0 release notes * post0 release notes * math-python version bump
1 parent d925eec commit 5c254e0

File tree

5 files changed

+25
-9
lines changed

5 files changed

+25
-9
lines changed

environments/math_python/pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
name = "math-python"
33
description = "Solve math problems using Python in a sandbox environment"
44
tags = ["tool-use", "math", "sandbox", "train"]
5-
version = "0.1.3"
5+
version = "0.1.4"
66
requires-python = ">=3.11"
77
dependencies = [
8-
"verifiers>=0.1.5",
8+
"verifiers>=0.1.5.post0",
99
"math-verify>=0.8.0",
10-
"prime>=0.3.34",
1110
]
1211

1312
[build-system]

notes/RELEASE_v0.1.5.post0.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Verifiers v0.1.5 Release Notes
2+
3+
*Date:* 10/8/25
4+
5+
***Update***: 10/9/25
6+
- Update SandboxEnv to use prime-sandboxes instead of prime-cli, disable Python 3.14 as `datasets` is not compatible (blocked by `arrow`).
7+
8+
Verifiers v0.1.5 adds a new SandboxEnv environment for running code in a sandboxed environment, along with a number of bug fixes and QoL improvements.
9+
10+
## Highlights
11+
12+
- New SandboxEnv environment for running code in a sandboxed environment. This environment is configured for use with Prime Intellect's sandboxes, but can be adapted for other sandbox providers.
13+
- Improvements to `StatefulToolEnv` and `ToolEnv` for handling stateful tools and tools with arguments that should not be passed to the model, and managing active tools + schemas (`add_tool` and `remove_tool`).
14+
- Bug fixes and improvements (`vf-tui`, tool call serialization, documentation, examples).
15+
16+
17+
**Full Changelog**: https://github.com/willccbb/verifiers/compare/v0.1.4...v0.1.5

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dynamic = ["version"] # load from verifiers/__init__.py
1111
description = "Verifiers: Environments for LLM Reinforcement Learning"
1212
readme = "README.md"
1313
license = "MIT"
14-
requires-python = ">=3.10"
14+
requires-python = ">=3.10,<3.14"
1515
keywords = ["reinforcement-learning", "llm", "rl", "grpo", "environments", "multi-turn", "agents", "agentic-rl", "tool-use", "train", "eval", "harness", "verifiers", "rlvr"]
1616
classifiers = [
1717
"Development Status :: 4 - Beta",
@@ -37,6 +37,7 @@ dependencies = [
3737
"rich",
3838
"textual",
3939
"pydantic>=2.11.9",
40+
"prime-sandboxes>=0.1.0",
4041
]
4142

4243
[dependency-groups]
@@ -71,7 +72,6 @@ envs = [
7172
"brave-search",
7273
"nltk",
7374
"textarena",
74-
"prime"
7575
]
7676
all = [
7777
"torch>=2.7.0",

verifiers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.1.5"
1+
__version__ = "0.1.5.post0"
22

33
import importlib
44
import logging

verifiers/envs/sandbox_env.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
import verifiers as vf
77

88
try:
9-
from prime_cli.api.client import APIClient
10-
from prime_cli.api.sandbox import ( # type: ignore[import-untyped]
9+
from prime_sandboxes import (
1110
AdvancedConfigs,
11+
APIClient,
1212
AsyncSandboxClient,
1313
CreateSandboxRequest,
1414
SandboxClient,
1515
)
1616
except ImportError:
1717
raise ImportError(
18-
"prime-cli is not installed. Please install it with `uv pip install prime`."
18+
"prime-sandboxes is not installed. Please install it with `uv pip install prime-sandboxes`."
1919
)
2020

2121

0 commit comments

Comments
 (0)