Python bindings with multiple versions broken
I am just starting to make the Python bindings work, but here is the first show stopper:
>>> import dune.grid
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/domse/spack-space/spack/opt/spack/linux-ubuntu19.10-haswell/gcc-9.2.1/dune-2.7-nawx4gki5llvo4dfivhif6frzrikb5kg/lib/python3.7/site-packages/dune.python-2.7-py3.7.egg/dune/grid/__init__.py", line 4, in <module>
from ._grids import *
File "/home/domse/spack-space/spack/opt/spack/linux-ubuntu19.10-haswell/gcc-9.2.1/dune-2.7-nawx4gki5llvo4dfivhif6frzrikb5kg/lib/python3.7/site-packages/dune.python-2.7-py3.7.egg/dune/grid/_grids.py", line 3, in <module>
from dune.common.checkconfiguration import assertHave, ConfigurationError
File "/home/domse/spack-space/spack/opt/spack/linux-ubuntu19.10-haswell/gcc-9.2.1/dune-2.7-nawx4gki5llvo4dfivhif6frzrikb5kg/lib/python3.7/site-packages/dune.python-2.7-py3.7.egg/dune/common/checkconfiguration.py", line 11, in <module>
from dune.generator import builder, ConfigurationError
File "/home/domse/spack-space/spack/opt/spack/linux-ubuntu19.10-haswell/gcc-9.2.1/dune-2.7-nawx4gki5llvo4dfivhif6frzrikb5kg/lib/python3.7/site-packages/dune.python-2.7-py3.7.egg/dune/generator/__init__.py", line 14, in <module>
builder = Builder(False)
File "/home/domse/spack-space/spack/opt/spack/linux-ubuntu19.10-haswell/gcc-9.2.1/dune-2.7-nawx4gki5llvo4dfivhif6frzrikb5kg/lib/python3.7/site-packages/dune.python-2.7-py3.7.egg/dune/generator/builder.py", line 49, in __init__
dune.common.module.build_dune_py_module(self.dune_py_dir)
File "/home/domse/spack-space/spack/opt/spack/linux-ubuntu19.10-haswell/gcc-9.2.1/dune-2.7-nawx4gki5llvo4dfivhif6frzrikb5kg/lib/python3.7/site-packages/dune.python-2.7-py3.7.egg/dune/common/module.py", line 575, in build_dune_py_module
modules, dirs = select_modules()
File "/home/domse/spack-space/spack/opt/spack/linux-ubuntu19.10-haswell/gcc-9.2.1/dune-2.7-nawx4gki5llvo4dfivhif6frzrikb5kg/lib/python3.7/site-packages/dune.python-2.7-py3.7.egg/dune/common/module.py", line 390, in select_modules
raise KeyError('Multiple source versions for module \'' + n + '\' found.')
KeyError: "Multiple source versions for module 'dune-localfunctions' found."