Skip to content

Commit

Permalink
compatibility with Mathics 7
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatera committed Dec 12, 2023
1 parent 5309177 commit 2cca637
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pymathics/language/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
from icu import Locale, LocaleData
from typing import List, Optional

from mathics.builtin.base import Builtin
from mathics.core.atoms import String
from mathics.core.base import Builtin
from mathics.core.convert.expression import to_mathics_list

availableLocales = Locale.getAvailableLocales()
Expand Down Expand Up @@ -70,7 +70,7 @@ class Alphabet(Builtin):

summary_text = "lowercase letters in an alphabet"

def apply(self, alpha: String, evaluation):
def eval(self, alpha: String, evaluation):
"""Alphabet[alpha_String]"""
alphabet_list = eval_alphabet(alpha)
if alphabet_list is None:
Expand Down
2 changes: 1 addition & 1 deletion pymathics/language/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# well as importing into Python. That's why there is no
# space around "=" below.
# fmt: off
__version__="5.0.0" # noqa
__version__="7.0.0" # noqa
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def read(*rnames):
version=__version__,
packages=find_namespace_packages(include=["pymathics.*"]),
install_requires=[
"Mathics3 >= 5.0.0.dev0,<5.1.0",
"Mathics3 >= 7.0.0.dev",
"PyICU>=2.9",
],
zip_safe=False,
Expand Down

0 comments on commit 2cca637

Please # to comment.