Skip to content

Backported improved error checking in install.py#10787

Merged
micheles merged 5 commits into
engine-3.23from
install
Sep 5, 2025
Merged

Backported improved error checking in install.py#10787
micheles merged 5 commits into
engine-3.23from
install

Conversation

@micheles

@micheles micheles commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

For the future, if we will remove another tool now install.py will exit with an error and we will see the problem in the installation tests. Backport of #10774. Tested with openquake.taxonomy (the removed wheel) and we get

ERROR: Could not find a version that satisfies the requirement openquake.taxonomy (from versions: none)
ERROR: No matching distribution found for openquake.taxonomy
Compiling python/numba modules
The engine was installed successfully.
Command '['/home/michele/oq-engine/oq23/bin/python3', '-m', 'pip', 'install',
'--find-links', 'https://wheelhouse.openquake.org/py/standalone/latest/',
'openquake.taxonomy']' returned non-zero exit status 1.:
could not install openquake.taxonomy

Also, skipped tests of OQImpact that cannot work since we regenerated the exposure.hdf5 file.

@micheles micheles added this to the Engine 3.23.0 milestone Sep 5, 2025
@micheles micheles requested a review from vot4anto September 5, 2025 07:43
@micheles micheles merged commit bf73117 into engine-3.23 Sep 5, 2025
7 checks passed
@micheles micheles deleted the install branch September 5, 2025 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant