Problem building app on Python 3.12
Closed this issue · 1 comments
kwinkunks commented
webviz-ert
tests on Python 3.12 fail, eg https://github.com/equinor/webviz-ert/actions/runs/7086495760/job/19284873949
Problem is here:
Issue is that entry_points()
no longer returns a dict, the object returned has no get()
method.
Instead you need something like entry_points(group='webviz_config_themes')
which should work on Python 3.11 as well; not sure about Python 3.8.
https://docs.python.org/3.12/library/importlib.metadata.html - under Compatibility note