ci: fix Python package in coverage workflow #740
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request fixes the
E: Package 'python' has no installation candidate
error in the coverage workflow by providing an existing package.The Python package in Ubuntu 22.04 is
python3
, but I decided to go forpython-is-python3
instead, because that makes sure thatpython3
is installed (as dependency) and also creates a symlink from/usr/bin/python
topython3
as a way to make sure that commands with justpython
(instead ofpython3
) also invoke the installed version of Python 3.References
See https://github.com/boostorg/gil/actions/runs/7317309558/job/19932692704 for an example of a currently failing coverage job.
Tasklist