Skip to content

Fix CI: bump devcontainer to 0.24, set up .venv for Sphinx build - #8

Merged
pgit merged 3 commits into
masterfrom
copilot/set-up-venv-in-ci-workflows
Mar 14, 2026
Merged

pgit merged 3 commits into
masterfrom
copilot/set-up-venv-in-ci-workflows

Conversation

Copilot AI commented Mar 14, 2026 •

Copy link
Copy Markdown
Contributor

Two independent CI failures: the Build and run tests job broke when apt.llvm.org started rejecting its own SHA1-signed key (deprecated 2026-02-01), and Deploy Sphinx docs to GitHub Pages broke because docs/Makefile hardcodes ../.venv/bin/sphinx-build but no workflow ever created that venv.

Changes

  • .devcontainer/Dockerfile — bump base image psedoc/cpp-devcontainer:0.22 → 0.24, which carries the updated LLVM apt keyring that satisfies the SHA1 rejection policy
  • .github/workflows/gh-pages.yml — replace the bare pip install step with a proper .venv setup that mirrors devcontainer.json's postCreateCommand:
    - name: Set up .venv
      run: |
        python -m venv .venv
        .venv/bin/python -m pip install --upgrade pip
        .venv/bin/python -m pip install -r requirements.txt
    requirements.txt already lists sphinx and sphinx_rtd_theme, so the redundant pip install sphinx line is dropped.

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: pgit <1456612+pgit@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix CI workflows by setting up .venv Fix CI: set up .venv in gh-pages workflow Mar 14, 2026
Copilot AI requested a review from pgit March 14, 2026 10:10
Copilot finished work on behalf of pgit March 14, 2026 10:10
Co-authored-by: pgit <1456612+pgit@users.noreply.github.com>
Copilot AI changed the title Fix CI: set up .venv in gh-pages workflow Fix CI: bump devcontainer to 0.24, set up .venv for Sphinx build Mar 14, 2026
Copilot finished work on behalf of pgit March 14, 2026 14:05
@pgit
pgit marked this pull request as ready for review March 14, 2026 14:18
@pgit
pgit merged commit c3309eb into master Mar 14, 2026
3 of 4 checks passed
@pgit
pgit deleted the copilot/set-up-venv-in-ci-workflows branch March 26, 2026 19:07
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.

2 participants