Skip to content

Commit 06237ed

Browse files
committed
python 3.10 compatability
1 parent ab667dc commit 06237ed

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

commit0/harness/execution_context.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
import logging
1010
import modal
1111
import modal.io_streams
12-
from enum import StrEnum, auto
12+
from enum import auto
13+
from strenum import StrEnum
1314
from pathlib import Path
1415
import time
1516
from typing import Optional, Type

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ dependencies = [
1919
"pytest>=8.3.3",
2020
"datasets==3.0.1",
2121
"modal>=0.66.26",
22+
"strenum>=0.4.15",
2223
]
2324
classifiers = [
2425
"License :: OSI Approved :: MIT License",

uv.lock

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)