Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flent and python 3.12 #296

Closed
moeller0 opened this issue Jan 25, 2024 · 0 comments · Fixed by #297
Closed

flent and python 3.12 #296

moeller0 opened this issue Jan 25, 2024 · 0 comments · Fixed by #297

Comments

@moeller0
Copy link
Contributor

user@123-1234567 flent % ./run-flent --gui
Traceback (most recent call last):
  File "/CODE/flent/./run-flent", line 33, in <module>
    sys.exit(run_flent())
             ^^^^^^^^^^^
  File "/CODE/flent/flent/__init__.py", line 44, in run_flent
    from flent import batch
  File "/CODE/flent/flent/batch.py", line 44, in <module>
    from flent import aggregators, formatters, resultset, loggers
  File "/CODE/flent/flent/formatters.py", line 31, in <module>
    from flent import plotters, combiners
  File "/CODE/flent/flent/plotters.py", line 42, in <module>
    from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'

It seems that current flent is not ready for python 3.12, where distutils apparently got deprecated (see e.g.: nodejs/node-gyp#2869). Not sire what the simplest backward compatible fix would be... Maybe warn against python 3.12v for now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant