qsymm broken with sympy 1.12
Installed versions:
- qsymm 1.3.0
- sympy 1.12
The error:
Python 3.11.3 (main, Apr 5 2023, 15:52:25) [GCC 12.2.1 20230201] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import qsymm
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/gerson/tmp/teste/lib/python3.11/site-packages/qsymm/__init__.py", line 2, in <module>
from . import groups
File "/home/gerson/tmp/teste/lib/python3.11/site-packages/qsymm/groups.py", line 16, in <module>
from .model import Model
File "/home/gerson/tmp/teste/lib/python3.11/site-packages/qsymm/model.py", line 19, in <module>
from . import kwant_continuum, _scipy_patch
File "/home/gerson/tmp/teste/lib/python3.11/site-packages/qsymm/kwant_continuum.py", line 48, in <module>
from sympy.core.core import all_classes as sympy_classes
ImportError: cannot import name 'all_classes' from 'sympy.core.core' (/home/gerson/tmp/teste/lib/python3.11/site-packages/sympy/core/core.py)
I'm testing it on a brand new env with only:
Package Version
---------------- --------
click 8.1.3
contourpy 1.0.7
cycler 0.11.0
dft2kp 0.0.1
fonttools 4.40.0
fortio 0.4
irrep 1.7.1
irreptables 1.0.1
kiwisolver 1.4.4
lazy-property 0.0.1
matplotlib 3.7.1
monty 2023.5.8
mpmath 1.3.0
numpy 1.24.3
packaging 23.1
Pillow 9.5.0
pip 22.3.1
pyparsing 3.0.9
python-dateutil 2.8.2
qsymm 1.3.0
ruamel.yaml 0.17.31
ruamel.yaml.clib 0.2.7
scipy 1.10.1
setuptools 65.5.0
six 1.16.0
spglib 2.0.2
sympy 1.12
tabulate 0.9.0
tinyarray 1.2.4