Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix installation of Python packages in generate docs CI job again #280

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

bbannier
Copy link
Member

This pins the generate-docs GH workflow to run on a fixed version of ubuntu so we get defined semantics of pip install wrt system packages. We were previously using the ubuntu-latest image and GH has been switching this from ubuntu-22.04 to 24.04 and back again, also see actions/runner-images#10636.

This pins the generate-docs GH workflow to run on a fixed version of
ubuntu so we get defined semantics of pip install wrt system packages.
We were previously using the ubuntu-latest image and GH has been
switching this from ubuntu-22.04 to 24.04 and back again, also see
actions/runner-images#10636.
@bbannier bbannier self-assigned this Oct 18, 2024
@bbannier bbannier marked this pull request as ready for review October 18, 2024 07:26
@ckreibich ckreibich merged commit c82a216 into master Oct 18, 2024
10 checks passed
@ckreibich ckreibich deleted the topic/bbannier/fix-docs-ci-again branch October 18, 2024 16:54
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Fetch Dependencies
run: sudo pip3 install --break-system-packages -r requirements.txt
run: pip3 install -r requirements.txt
Copy link
Contributor

@awelzel awelzel Oct 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With actions/setup-python, shouldn't "break-system-packages" be mood? I wonder if the sudo part caused PATH to be reset, picking up the system's pip rather than the one from the corresponding actions/setup-python?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants