Skip to content

Commit

Permalink
Backward compatible version of jac for 3.10.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiping Kang committed Dec 5, 2024
1 parent 09d6dee commit 16d668f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion jac/jaclang/compiler/constant.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Constants across the project."""

from enum import Enum, IntEnum, IntFlag, StrEnum
from enum import Enum, IntEnum, IntFlag
from backports.strenum import StrEnum


class SymbolType(Enum):
Expand Down
3 changes: 2 additions & 1 deletion jac/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ homepage = "https://jaseci.org"
documentation = "https://jac-lang.org"

[tool.poetry.dependencies]
python = "^3.11.0"
python = "^3.10.12"
backports-strenum = { version = "^1.3.1", markers = "python_version < '3.11'" }
# Below are vendored in using poetry export and pip download
# lark = "^1.1.9"
# mypy = "^1.10.0"
Expand Down

0 comments on commit 16d668f

Please sign in to comment.