Open lucas-wilkins opened 4 months ago
@pkienzle Do you have any plans in place to fix periodictable and tinycc?
- xhtml2pdf - unknown, maybe we need a replacement, maybe we can talk to the people that run it
I am able to pip install xhtml2pdf in 3.12 on windows and on linux. What issues do you see?
weird, I couldn't
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "C:\Users\...\AppData\Local\Temp\pip-build-env-570423cx\overlay\Lib\site-packages\setuptools\__init__.py", line 14, in <module>
import distutils.core
ModuleNotFoundError: No module named 'distutils'
distutils doesn't exist in python 3.12
setup.cfg
declares Python 3.12 compatibilityThe latest version of periodictable is required for numpy 2 compatibility.
I'm almost ready for a new periodictable release but it has updated mass, abundance and cross section tables so it might break some tests.
I will update the build system for tinycc. The distribution includes an extension to add the tinycc compiler as a target for distutils. I'm going to leave it alone for now since we don't need it in sasview.
BTW, I compiled the most recent tinycc from git. It now builds .so files on mac x86 that are usable from sasmodels. Need to try it on an M1/M2 mac.
Good job Paul!
The following dependencies are not python 3.12 compatible - they cannot be installed because of the changes to setups.