Skip to content

Commit 87d987a

Browse files
build(deps): Update simpleeval requirement from <1.0,>=0.9.13 to >=0.9.13,<2.0 (foundation-model-stack#369)
* build(deps): Update simpleeval requirement Updates the requirements on [simpleeval](https://github.com/danthedeckie/simpleeval) to permit the latest version. - [Release notes](https://github.com/danthedeckie/simpleeval/releases) - [Commits](danthedeckie/simpleeval@0.9.13...1.0.0) --- updated-dependencies: - dependency-name: simpleeval dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * fix error message Signed-off-by: Anh Uong <anh.uong@ibm.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Anh Uong <anh.uong@ibm.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Anh Uong <anh.uong@ibm.com>
1 parent fb3ace8 commit 87d987a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies = [
3838
"peft>=0.8.0,<0.14",
3939
"protobuf>=5.28.0,<6.0.0",
4040
"datasets>=2.15.0,<3.0",
41-
"simpleeval>=0.9.13,<1.0",
41+
"simpleeval>=0.9.13,<2.0",
4242
]
4343

4444
[project.optional-dependencies]

tests/utils/test_evaluator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ def test_mailicious_inputs_to_eval():
106106
"getattr((), '_' '_class_' '_')",
107107
),
108108
(
109-
"Sorry, I will not evalute something that long.",
109+
"Sorry, I will not evaluate something that long.",
110110
False,
111111
'["hello"]*10000000000',
112112
),
113113
(
114-
"Sorry, I will not evalute something that long.",
114+
"Sorry, I will not evaluate something that long.",
115115
False,
116116
"'i want to break free'.split() * 9999999999",
117117
),

0 commit comments

Comments
 (0)