You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make fails with the following error on Python 3.10:
> make
./loxigen.py --install-dir=loxi_output --lang=c --version-list=1.0,1.1,1.2,1.3,1.4
Traceback (most recent call last):
File "/tmp/loxigen/./loxigen.py", line 81, in <module>
import cmdline
File "/tmp/loxigen/cmdline.py", line 30, in <module>
from loxi_globals import OFVersions
File "/tmp/loxigen/loxi_globals.py", line 28, in <module>
from loxi_ir import *
File "/tmp/loxigen/loxi_ir/__init__.py", line 29, in <module>
from .ir import *
File "/tmp/loxigen/loxi_ir/ir.py", line 34, in <module>
from generic_utils import find, memoize, OrderedSet
File "/tmp/loxigen/generic_utils.py", line 82, in <module>
class OrderedSet(collections.MutableSet):
AttributeError: module 'collections' has no attribute 'MutableSet'
make: *** [Makefile:55: .loxi_ts.c] Error 1
generic_utils.py is attempting to use MutableSet from collections instead of collections.abc.
make
fails with the following error on Python 3.10:generic_utils.py
is attempting to useMutableSet
fromcollections
instead ofcollections.abc
.Importing and using ABCs from
collections
stopped working in Python 3.10 (bpo-37324). This had been deprecated since Python 3.3.The text was updated successfully, but these errors were encountered: