SasView / sasview

Code for the SasView application.
BSD 3-Clause "New" or "Revised" License
49 stars 41 forks source link

Broken dependencies in for python 3.12 #3003

Open lucas-wilkins opened 1 month ago

lucas-wilkins commented 1 month ago

The following dependencies are not python 3.12 compatible - they cannot be installed because of the changes to setups.

lucas-wilkins commented 1 month ago

@pkienzle Do you have any plans in place to fix periodictable and tinycc?

rozyczko commented 1 month ago
  • 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?

lucas-wilkins commented 1 month ago

weird, I couldn't

lucas-wilkins commented 1 month ago
  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

llimeht commented 1 month ago
andyfaff commented 1 month ago

The latest version of periodictable is required for numpy 2 compatibility.