Skip to content

Remove Xvfb as recent VTK releases no longer require it#244

Open
samaloney wants to merge 7 commits into
sunpy:mainfrom
samaloney:remove-xvfb
Open

Remove Xvfb as recent VTK releases no longer require it#244
samaloney wants to merge 7 commits into
sunpy:mainfrom
samaloney:remove-xvfb

Conversation

@samaloney

@samaloney samaloney commented Jun 16, 2026

Copy link
Copy Markdown
Member

PR Description

  • Remove Xvfb from configs test and doc config
  • Remove Xvfb from circle CI dep and commands
  • Bump deps so tests pass

AI Assistance Disclosure

AI tools were used for:

  • [ ] Code generation (e.g., when writing an implementation or fixing a bug)
  • [ ] Test/benchmark generation
  • [ ] Documentation (including examples)
  • [ ] Research and understanding
  • [x ] No AI tools were used

Regardless of AI use, the human contributor remains fully responsible for correctness, design choices, licensing compatibility, and long-term maintainability.

@samaloney

Copy link
Copy Markdown
Member Author

Ok figure tests are working and look ok to me the only issue is never created/uploaded the base images so they fail.

https://output.circle-artifacts.com/output/job/2851332e-f1a7-4511-889a-668b9e3b2b0f/artifacts/0/.tmp/py313-figure/figure_test_images/fig_comparison.html

Also I think the command to generate the URL need to be updated.

Comment thread pyproject.toml Outdated
dependencies = [
"pyvista[all]>=0.46.3",
"sunpy[map]>=7.0.0",
"astropy>=7.2",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This minimum setting defeats the pin in tox.ini, which is why the CI is installing the just-released astropy 8.0. Presumably the pin in tox.ini should be updated.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ah good spot I hadn't noticed that.

@ayshih ayshih left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

  • Any reason you added two hash libraries (for two different versions of astropy)? The CI is (currently) configured to run only one version of astropy
  • I'm confused why the codecov step and the URL step don't appear to get executed on CircleCI, so I'm no help there

@samaloney

Copy link
Copy Markdown
Member Author

No I wasn't sure what was happening so kept both to see but it's related to the pinning in tox issue you pointed out above should be sorted now.

I think because the previous run step (tox -v) fails none of the follow run step are executed.

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