I wanted to use the Boussinesq extension in Geoclaw. I tried to upgrade the current version (5.9.0) to the last one (5.9.2), but the upgrade fails. According to the release notes, the build process is now based on Meson, but this new procedure runs into trouble on the three machines I have tested. I got the message attached below. What can be done?
Obtaining clawpack from git+
https://github.com/clawpack/clawpa...@v5.9.2#egg=clawpack Cloning
https://github.com/clawpack/clawpack.git (to revision v5.9.2) to ./src/clawpack
Running command git clone --filter=blob:none --quiet
https://github.com/clawpack/clawpack.git /home/ancey/clawpack2024/clawpack/pyclaw/src/clawpack
Running command git checkout -q 84be0d766c353753eca52c9fe9a1f15f08966df7
Resolved
https://github.com/clawpack/clawpack.git to commit 84be0d766c353753eca52c9fe9a1f15f08966df7
Running command git submodule update --init --recursive -q
Checking if build backend supports build_editable ... done
ERROR: Exception:
Traceback (most recent call last):
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper
return func(self, options, args)
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 377, in run
requirement_set = resolver.resolve(
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 76, in resolve
collected = self.factory.collect_root_requirements(root_reqs)
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 534, in collect_root_requirements
reqs = list(
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 490, in _make_requirements_from_install_req
cand = self._make_base_candidate_from_link(
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 207, in _make_base_candidate_from_link
self._editable_candidate_cache[link] = EditableCandidate(
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 318, in __init__
super().__init__(
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__
self.dist = self._prepare()
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare
dist = self._prepare_distribution()
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 328, in _prepare_distribution
return self._factory.preparer.prepare_editable_requirement(self._ireq)
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 696, in prepare_editable_requirement
dist = _get_prepared_distribution(
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 67, in prepare_distribution_metadata
self.req.prepare_metadata()
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 569, in prepare_metadata
and self.supports_pyproject_editable()
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 247, in supports_pyproject_editable
return "build_editable" in self.pep517_backend._supported_features()
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 153, in _supported_features
return self._call_hook('_supported_features', {})
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 321, in _call_hook
raise BackendUnavailable(data.get('traceback', ''))
pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
File "/home/ancey/anaconda3/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
obj = import_module(mod_path)
File "/home/ancey/anaconda3/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'mesonpy'