Skip to content

python 3.10 compatability #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion commit0/harness/execution_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
import logging
import modal
import modal.io_streams
from enum import StrEnum, auto
from enum import auto
from strenum import StrEnum
from pathlib import Path
import time
from typing import Optional, Type
Expand Down
1 change: 1 addition & 0 deletions commit0/harness/run_pytest_ids.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def main(
eval_file = Path(log_dir / "eval.sh")
eval_file.write_text(eval_script)

backend = backend.upper()
if ExecutionBackend(backend) == ExecutionBackend.MODAL:
logger.info("Runnning on Modal")
execution_context = Modal
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ dependencies = [
"pytest>=8.3.3",
"datasets==3.0.1",
"modal>=0.66.26",
"strenum>=0.4.15",
]
classifiers = [
"License :: OSI Approved :: MIT License",
Expand Down
13 changes: 12 additions & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading