Skip to content

py-fenics-dolfinx 0.10: bump version, refinements#3379

Open
jhale wants to merge 4 commits intospack:developfrom
FEniCS:jhale/py-fenics-dolfinx-0.10
Open

py-fenics-dolfinx 0.10: bump version, refinements#3379
jhale wants to merge 4 commits intospack:developfrom
FEniCS:jhale/py-fenics-dolfinx-0.10

Conversation

@jhale
Copy link
Contributor

@jhale jhale commented Feb 11, 2026

Depends on #3369

depends_on("py-petsc4py", type=("build", "run"))
depends_on("py-slepc4py", type=("build", "run"))

depends_on("py-cffi@:1.16", type=("build", "run"))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was added due to upstream bugs and is now unnecessary

depends_on("py-nanobind@2.5:", when="@0.10:", type="build")
depends_on("py-nanobind@2:", when="@0.9:", type="build")
depends_on("py-nanobind@1.8:1.9", when="@0.8", type="build")
depends_on("py-scikit-build-core@0.10: +pyproject", when="@0.10:", type="build")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Checked, this lower bound on scikit-build-core goes back to 0.9

depends_on("py-numpy@1.21:", type=("build", "run"))
depends_on("py-mpi4py", type=("build", "run"))

conflicts("~petsc4py", when="@:0.8", msg="+petsc4py is required for versions 0.8 and lower")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

petsc4py was only an optional dependency from 0.9 and up.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will change this into a straightforward depend.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

depends_on("py-mpi4py", type=("build", "run"))

conflicts("~petsc4py", when="@:0.8", msg="+petsc4py is required for versions 0.8 and lower")
conflicts("~petsc4py", when="+slepc4py", msg="+slepc4py requires +petsc4py")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

A user cannot force +slepc4py and also try and force ~petsc4py - niche but correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant