Skip to content

Update to headless whippersnappy#98

Merged
m-reuter merged 16 commits intodevfrom
update-2.1.7-mesa
Mar 12, 2026
Merged

Update to headless whippersnappy#98
m-reuter merged 16 commits intodevfrom
update-2.1.7-mesa

Conversation

@kdiers
Copy link
Collaborator

@kdiers kdiers commented Mar 2, 2026

Update to upcoming whippersnappy 2.1.0, which no longer requires using xvfb for off-screen rendering.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates fsqc to use the upcoming headless rendering behavior in whippersnappy 2.1.0 (removing the need for xvfb/xvfb-run), and aligns documentation and container dependencies accordingly.

Changes:

  • Update dependency to whippersnappy==2.1.0 and adjust ViewType import location.
  • Remove xvfb-run from the Singularity usage docs.
  • Replace xvfb/EGL-related system packages in the Docker image with Mesa software-rendering/OpenGL libs.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
singularity/Singularity.md Removes xvfb-run from the Singularity execution example and updates the explanatory bullet.
requirements.txt Pins whippersnappy to 2.1.0.
fsqc/createSurfacePlots.py Updates ViewType import to match the new whippersnappy API.
docker/Dockerfile Drops xvfb and swaps OpenGL-related OS deps to support headless rendering.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI mentioned this pull request Mar 2, 2026
Copy link
Contributor

Copilot AI commented Mar 2, 2026

@kdiers I've opened a new pull request, #99, to work on those changes. Once the pull request is ready, I'll request review from you.

Co-authored-by: kdiers <24712358+kdiers@users.noreply.github.com>
@m-reuter
Copy link
Member

m-reuter commented Mar 3, 2026

will wait until whippersnappy 2.1 is released.

@kdiers
Copy link
Collaborator Author

kdiers commented Mar 10, 2026

Also includes a revision of how we define and build Docker images, primarily via an updated Dockerfile.

@kdiers kdiers marked this pull request as ready for review March 10, 2026 14:31
@kdiers kdiers requested a review from Copilot March 10, 2026 14:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 11 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

kdiers and others added 3 commits March 10, 2026 15:46
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@kdiers kdiers requested a review from m-reuter March 10, 2026 15:05
matrix:
os: [ubuntu, macos, windows]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]
Copy link
Member

Choose a reason for hiding this comment

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

Here (and everywhere else, other workflows, pyproject.toml) I would include 3.13 now that 3.9 is dropped.

Copy link
Member

Choose a reason for hiding this comment

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

you can even consider running the workflows with 3.13 as it will be faster.

.flake8 Outdated
@@ -0,0 +1,23 @@
[flake8]
Copy link
Member

Choose a reason for hiding this comment

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

why is flake8 file here ? we usually use ruff and also put all config information into pyproject.toml so that it is in one place and not distributed in many files.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will be removed.

@m-reuter
Copy link
Member

you can also remove the empty codespellignore , then update the workflows that use code spell. You can setup code spell in pyproject.toml rather then passing parameters at runtime in the workflows (see whippersnappy and lapy for it).

@kdiers
Copy link
Collaborator Author

kdiers commented Mar 12, 2026

Ready to merge into dev @m-reuter

@m-reuter m-reuter merged commit 49ce865 into dev Mar 12, 2026
15 checks passed
@m-reuter m-reuter deleted the update-2.1.7-mesa branch March 12, 2026 15:33
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.

4 participants