Skip to content

Conversation

@connorjward
Copy link
Contributor

I think I was wrong to make VTK a hard dependency of Firedrake. They may publish wheels for all architectures now but they still make releases sporadically. This has meant that macOS users have had to downgrade their Python to 3.13 during install due to there not yet being a 3.14 wheel.

From a software maitainer perspective having VTK be optional is desirable because it should make it clearer to users that the reason their installation isn't working isn't our fault!

Note that VTK will still be available in the firedrake-vanilla containers.

This should go into the next patch release (and soon at that).

VTK releases are sporadic so when macOS eagerly upgrades to a new Python
version it breaks our install for some time.
Copy link
Member

@JHopeCollins JHopeCollins left a comment

Choose a reason for hiding this comment

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

LGTM

@connorjward
Copy link
Contributor Author

@JHopeCollins are you happy for us to go ahead and merge this? This is a minor policy/strategy change but I think if we're both happy with it we can just merge it.

@leo-collins I'd love to make a new release when this and #4675 are merged. If you can get that over the line soon (i.e. early next week) that would be amazing.

@JHopeCollins
Copy link
Member

@JHopeCollins are you happy for us to go ahead and merge this? This is a minor policy/strategy change but I think if we're both happy with it we can just merge it.

Yes happy with this. It causes problems on a fairly regular basis and it isn't a hard dependency for running Firedrake so it makes sense not to have it as a hard dependency for installing.

@connorjward connorjward merged commit 1c2a50f into release Nov 10, 2025
7 checks passed
@connorjward connorjward deleted the connorjward/optional-vtk branch November 10, 2025 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants