Commit 4bf9667
authored
Updating collections import in pyparsing.py
Since python 3.10, collections no longer has a MutableMapping attribute.
For backwards compatibilty it has been moved to collections.abc
Importing cbmpy with python 3.10+ thus raises an AttributeError if pyparsing.py imports collections and not collections.abc.
Source of the fix : https://stackoverflow.com/questions/70943244/attributeerror-module-collections-has-no-attribute-mutablemapping1 parent 1c79cdb commit 4bf9667
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
| |||
0 commit comments