verifiers 0.3.2.dev148__py3-none-any.whl → 0.3.2.dev149__py3-none-any.whl
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.
- verifiers/v1/harnesses/node.py +44 -2
- {verifiers-0.3.2.dev148.dist-info → verifiers-0.3.2.dev149.dist-info}/METADATA +1 -1
- {verifiers-0.3.2.dev148.dist-info → verifiers-0.3.2.dev149.dist-info}/RECORD +6 -6
- {verifiers-0.3.2.dev148.dist-info → verifiers-0.3.2.dev149.dist-info}/WHEEL +0 -0
- {verifiers-0.3.2.dev148.dist-info → verifiers-0.3.2.dev149.dist-info}/entry_points.txt +0 -0
- {verifiers-0.3.2.dev148.dist-info → verifiers-0.3.2.dev149.dist-info}/licenses/LICENSE +0 -0
verifiers/v1/harnesses/node.py
CHANGED
|
@@ -21,8 +21,50 @@ if [ -f /etc/alpine-release ]; then
|
|
|
21
21
|
ln -sf "$(command -v node)" "$node/bin/node"
|
|
22
22
|
ln -sf "$(command -v npm)" "$node/bin/npm"
|
|
23
23
|
else
|
|
24
|
-
command -v curl >/dev/null 2>&1 \
|
|
25
|
-
|
|
24
|
+
if ! command -v curl >/dev/null 2>&1 \
|
|
25
|
+
&& ! (apt-get update -qq && apt-get install -y -qq curl ca-certificates >/dev/null); then
|
|
26
|
+
(
|
|
27
|
+
# Task images can have source-only repositories. Bootstrap from signed
|
|
28
|
+
# distro repositories with temporary sources and indexes, leaving the task's intact.
|
|
29
|
+
. /etc/os-release
|
|
30
|
+
case "$ID" in
|
|
31
|
+
debian)
|
|
32
|
+
mirror=http://deb.debian.org/debian
|
|
33
|
+
security_mirror=http://security.debian.org/debian-security ;;
|
|
34
|
+
ubuntu)
|
|
35
|
+
case "$(dpkg --print-architecture)" in
|
|
36
|
+
amd64|i386)
|
|
37
|
+
mirror=http://archive.ubuntu.com/ubuntu
|
|
38
|
+
security_mirror=http://security.ubuntu.com/ubuntu ;;
|
|
39
|
+
*)
|
|
40
|
+
mirror=http://ports.ubuntu.com/ubuntu-ports
|
|
41
|
+
security_mirror=$mirror ;;
|
|
42
|
+
esac ;;
|
|
43
|
+
*) echo "cannot bootstrap curl on $ID" >&2; exit 1 ;;
|
|
44
|
+
esac
|
|
45
|
+
apt_dir=$(mktemp -d)
|
|
46
|
+
trap 'rm -rf "$apt_dir"' EXIT
|
|
47
|
+
chmod 755 "$apt_dir"
|
|
48
|
+
mkdir -p "$apt_dir/lists/partial"
|
|
49
|
+
set -- -o "Dir::Etc::sourcelist=$apt_dir/sources.list" -o Dir::Etc::sourceparts=- \
|
|
50
|
+
-o "Dir::State::lists=$apt_dir/lists" -o Dir::Cache::pkgcache= -o Dir::Cache::srcpkgcache=
|
|
51
|
+
suites=${VERSION_CODENAME:?}
|
|
52
|
+
# Testing and unstable share os-release; sid may be needed to match installed libcurl.
|
|
53
|
+
if [ "$ID" = debian ] && [ -z "${VERSION_ID:-}" ]; then suites="$suites sid"; fi
|
|
54
|
+
for suite in $suites; do
|
|
55
|
+
printf 'deb %s %s main\n' "$mirror" "$suite" > "$apt_dir/sources.list"
|
|
56
|
+
# Release images can already have libcurl from updates/security.
|
|
57
|
+
if [ -n "${VERSION_ID:-}" ]; then
|
|
58
|
+
printf 'deb %s %s main\n' "$mirror" "$suite-updates" \
|
|
59
|
+
"$security_mirror" "$suite-security" >> "$apt_dir/sources.list"
|
|
60
|
+
fi
|
|
61
|
+
apt-get "$@" update -qq \
|
|
62
|
+
&& apt-get "$@" install -y -qq --no-install-recommends curl ca-certificates >/dev/null \
|
|
63
|
+
&& exit 0
|
|
64
|
+
done
|
|
65
|
+
exit 1
|
|
66
|
+
)
|
|
67
|
+
fi
|
|
26
68
|
case "$(uname -s)" in Linux) node_os=linux ;; Darwin) node_os=darwin ;; *) echo "unsupported os: $(uname -s)" >&2; exit 1 ;; esac
|
|
27
69
|
if [ ! -x "$node/bin/node" ] || [ "$("$node/bin/node" --version 2>/dev/null)" != "v$VF_NODE_VERSION" ]; then
|
|
28
70
|
case "$(uname -m)" in aarch64|arm64) node_arch=arm64 ;; *) node_arch=x64 ;; esac
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: verifiers
|
|
3
|
-
Version: 0.3.2.
|
|
3
|
+
Version: 0.3.2.dev149
|
|
4
4
|
Summary: Verifiers: Environments for LLM Reinforcement Learning
|
|
5
5
|
Project-URL: Homepage, https://github.com/primeintellect-ai/verifiers
|
|
6
6
|
Project-URL: Documentation, https://github.com/primeintellect-ai/verifiers
|
|
@@ -83,7 +83,7 @@ verifiers/v1/gepa/dataset.py,sha256=SPGG55BVbJ9HtCEvm-xyl52QSbldFwGqWvRIcaLelsM,
|
|
|
83
83
|
verifiers/v1/gepa/reflection.py,sha256=ptHhx0lcDLcWhWhXuslh9T8gPVNpnX5XLPtXoneW1yA,1054
|
|
84
84
|
verifiers/v1/gepa/runner.py,sha256=s2eUV0T0mUGy-7XxupoX757z9kZoKAR73NN5M6rUi6E,6096
|
|
85
85
|
verifiers/v1/harnesses/__init__.py,sha256=2JPwrRoYoigH-HfBtiFnatRdFEVHLv4rwlKfsFEibyE,1803
|
|
86
|
-
verifiers/v1/harnesses/node.py,sha256
|
|
86
|
+
verifiers/v1/harnesses/node.py,sha256=Cci-zCNiVRCtLkJuNOt9iKr7ZIb3ik_YugefXtRyt78,4349
|
|
87
87
|
verifiers/v1/harnesses/bash/__init__.py,sha256=IAV4eMMqDHSl-9ANb0Q3kxmBZ22SeHZFBM448X4gQio,140
|
|
88
88
|
verifiers/v1/harnesses/bash/harness.py,sha256=nsjLKFMGFSya4s9fMHiNVrO92RRCTS3VHqTK3rv3AFA,5233
|
|
89
89
|
verifiers/v1/harnesses/browser_use/__init__.py,sha256=yxm2IG5TDLadxZEkX8SL26XWbcPcODXcrJfPfm1GqwU,171
|
|
@@ -192,8 +192,8 @@ verifiers/v1/utils/scope.py,sha256=bzUEiWDOVdbj7dXOwGOlzsQ_-Xu0j9NR5TalQB-8TS8,8
|
|
|
192
192
|
verifiers/v1/utils/score.py,sha256=493yJVMw8teCu9JxapxMFPFzI0hNUqdo0Y2nGW4kckk,6200
|
|
193
193
|
verifiers/v1/utils/trace_store.py,sha256=RsCDonGR-bs-tvEstcppiJm3jFmAdIiG83fA5KtCbAw,2801
|
|
194
194
|
verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
|
|
195
|
-
verifiers-0.3.2.
|
|
196
|
-
verifiers-0.3.2.
|
|
197
|
-
verifiers-0.3.2.
|
|
198
|
-
verifiers-0.3.2.
|
|
199
|
-
verifiers-0.3.2.
|
|
195
|
+
verifiers-0.3.2.dev149.dist-info/METADATA,sha256=Pkec0unD3c-vy5nESbIyVvndtWR2NyXBST7fVC700AI,4161
|
|
196
|
+
verifiers-0.3.2.dev149.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
197
|
+
verifiers-0.3.2.dev149.dist-info/entry_points.txt,sha256=iugElcdWPKbQM7uFF0lZ8iUpHsNr17-BwEAAjJWxV3U,259
|
|
198
|
+
verifiers-0.3.2.dev149.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
|
|
199
|
+
verifiers-0.3.2.dev149.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|