py-fenics-basix: update for main and future 0.8.0 (#40838)

* Update to latest version

* Add dependency

* revert

* address PR comments

* Correct dependencies for 0.7 to 0.8 transition

* Fix cmake line.

* Update nanobind dep

---------

Co-authored-by: Matt Archer <ma595@cam.ac.uk>
Co-authored-by: Jack S. Hale <mail@jackhale.co.uk>
Co-authored-by: Garth N. Wells <gnw20@cam.ac.uk>
This commit is contained in:
Chris Richardson 2023-11-25 22:42:54 +00:00 committed by GitHub
parent f28ccae3df
commit df777dbbaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,14 +27,16 @@ class PyFenicsBasix(PythonPackage):
depends_on("fenics-basix@0.4.2", type=("build", "run"), when="@0.4.2") depends_on("fenics-basix@0.4.2", type=("build", "run"), when="@0.4.2")
# See python/CMakeLists.txt # See python/CMakeLists.txt
depends_on("cmake@3.16:", type="build") depends_on("cmake@3.16:", when="@:0.7", type="build")
depends_on("cmake@3.19:", when="@0.8:", type="build")
# See python/pyproject.toml # See python/pyproject.toml
depends_on("python@3.8:", when="@0.7.0:", type=("build", "run")) depends_on("python@3.8:", when="@0.7:", type=("build", "run"))
depends_on("py-setuptools@42:", type="build")
depends_on("py-numpy@1.21:", type=("build", "run")) depends_on("py-numpy@1.21:", type=("build", "run"))
depends_on("py-pybind11@2.9.1:", when="@:0.7", type="build") depends_on("py-pybind11@2.9.1:", when="@:0.7", type="build")
depends_on("py-nanobind@1.5.1:", when="@0.8:", type="build") depends_on("py-setuptools@42:", when="@:0.7", type="build")
depends_on("py-nanobind@1.6.0:", when="@0.8:", type="build")
depends_on("py-scikit-build-core+pyproject@0.5.0:", when="@0.8:", type="build")
depends_on("xtensor@0.23.10:", type="build", when="@:0.4") depends_on("xtensor@0.23.10:", type="build", when="@:0.4")