support python 3.10 (#450)

* support python 3.10

* add 3.10 to tests

* new StrEnum
This commit is contained in:
Oliver Stanley 2025-06-04 10:34:01 +01:00 committed by GitHub
parent 84958baa69
commit 1a727ecf4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 49 additions and 12 deletions

View file

@ -3,11 +3,12 @@ import math
import random
from dataclasses import dataclass
from datetime import date, timedelta
from enum import Enum, StrEnum, auto
from enum import Enum, auto
from typing import Any, Optional
from ..coaching import BaseCurriculum, ScalarAttributeDefinition
from ..factory import ProceduralDataset, register_dataset
from ..utils import StrEnum
DATASET_NAME = "calendar_arithmetic"