Skip to content

Conversation

@germa89
Copy link
Collaborator

@germa89 germa89 commented Jul 1, 2025

Description

Lastly we are seeing:

Traceback
=========

      File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/sphinx/events.py", line 415, in emit
        raise ExtensionError(
    sphinx.errors.ExtensionError: Handler <function build_quarto_cheatsheet at 0x7f9badf38f40> for event 'builder-inited' threw an exception (exception: Failed to run the command: Command '['quarto', 'render', 'cheat_sheet.qmd', '--to', 'cheat_sheet-pdf', '--output-dir', PosixPath('/home/runner/work/pymapdl/pymapdl/doc/_build/html/_static'), '-V', 'version=v0.70.dev0']' returned non-zero exit status 1.)


The full traceback has been saved in:
/tmp/sphinx-err-ppbo5m4d.log

To report this error to the developers, please open an issue at <https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
Please also report this if it was a user error, so that a better error message can be provided next time.
make: *** [Makefile:32: html] Error 2
make: Leaving directory '/home/runner/work/pymapdl/pymapdl/doc'
Error: Process completed with exit code 2.

I am disabling the quarto cheatsheet build and creating an issue #4063 about this.

Issue linked

NA

Checklist

Summary by Sourcery

CI:

  • Bump Quarto setup in GitHub Actions from version 1.6.43 to 1.7.32

@germa89 germa89 requested a review from a team as a code owner July 1, 2025 10:34
@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Jul 1, 2025

Reviewer's Guide

Updated the Quarto setup in the CI workflow to address the Sphinx extension error by bumping the Quarto CLI version from 1.6.43 to 1.7.32, restoring a successful doc build.

File-Level Changes

Change Details Files
Bumped Quarto version in documentation CI workflow
  • Changed Quarto version input from 1.6.43 to 1.7.32 in the setup step
.github/workflows/doc-build.yml

Possibly linked issues

  • #12345: PR updates Quarto setup version in doc build workflow fixing the failure.

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @germa89 - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@github-actions github-actions bot added CI/CD Related with CICD, Github Actions, etc maintenance General maintenance of the repo (libraries, cicd, etc) bug Issue, problem or error in PyMAPDL labels Jul 1, 2025
@codecov
Copy link

codecov bot commented Jul 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.02%. Comparing base (eaf5df4) to head (5239df9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4062   +/-   ##
=======================================
  Coverage   89.02%   89.02%           
=======================================
  Files         187      187           
  Lines       14993    14993           
=======================================
  Hits        13348    13348           
  Misses       1645     1645           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@germa89 germa89 changed the title fix: quarto doc build fix: disable quarto cheatsheet build Jul 1, 2025
@germa89
Copy link
Collaborator Author

germa89 commented Jul 1, 2025

@pyansys-ci-bot LGTM.

Copy link
Contributor

@pyansys-ci-bot pyansys-ci-bot left a comment

Choose a reason for hiding this comment

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

✅ Approving this PR because germa89 said so in here 😬

LGTM

@germa89 germa89 enabled auto-merge (squash) July 1, 2025 14:47
Copy link
Contributor

@clatapie clatapie left a comment

Choose a reason for hiding this comment

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

Thanks for this quick fix @germa89!

@germa89
Copy link
Collaborator Author

germa89 commented Jul 2, 2025

Force merging because #4064 is needed.

@germa89 germa89 disabled auto-merge July 2, 2025 06:23
@germa89
Copy link
Collaborator Author

germa89 commented Jul 2, 2025

@pyansys-ci-bot LGTM

@germa89 germa89 merged commit 005d490 into main Jul 2, 2025
25 checks passed
@germa89 germa89 deleted the fix/quarto-doc-build branch July 2, 2025 06:24
@sourcery-ai sourcery-ai bot mentioned this pull request Jul 28, 2025
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue, problem or error in PyMAPDL CI/CD Related with CICD, Github Actions, etc maintenance General maintenance of the repo (libraries, cicd, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants