Skip to content

Install librsvg2-bin for PDF builds on Python 3.14+#134

Merged
m-aciek merged 1 commit into3.14from
copilot/install-librsvg2-bin-package
Apr 17, 2026
Merged

Install librsvg2-bin for PDF builds on Python 3.14+#134
m-aciek merged 1 commit into3.14from
copilot/install-librsvg2-bin-package

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 17, 2026

LaTeX/PDF builds for Python 3.14+ require librsvg2-bin, but the workflow only installed TeX tooling. This updates the PDF artifact job to install the missing package only for relevant branches.

  • Workflow change

    • Updated .github/workflows/update-lint-and-build.yml in output-pdf to add conditional installation of librsvg2-bin.
    • Condition scopes the install to matrix.version >= 3.14, leaving 3.10–3.13 behavior unchanged.
  • Version-gated dependency

    • Uses numeric comparison via fromJSON(matrix.version) to avoid string-based version ordering issues in workflow expressions.
- run: sudo apt-get install -y librsvg2-bin
  if: ${{ fromJSON(matrix.version) >= 3.14 }}

@python-cla-bot
Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

@m-aciek m-aciek marked this pull request as ready for review April 17, 2026 16:53
@m-aciek m-aciek merged commit 63ce38c into 3.14 Apr 17, 2026
1 of 2 checks passed
@m-aciek m-aciek deleted the copilot/install-librsvg2-bin-package branch April 17, 2026 16:55
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