Patch for


I want to suggest the following patch:

diff --git a/test/ b/test/
index 39c46bec..9d2c6d2d 100644
--- a/test/
+++ b/test/
@@ -24,7 +24,7 @@ def test_version(python_version=pkg_resources.get_distribution("fenics-basix").v
     stripped_version = stripped_version.replace("dev", "")
     if stripped_version != cpp_version:
         raise RuntimeError(
-            f"The version numbers of the Python ({pkg_resources.get_distribution('fenics-basix').version} "
+            f"The version numbers of the Python ({python_version} "
             + f"-> {stripped_version}) and pybind11/C++ ({basix.__version__}) libraries does not match")

(cannot upload)

Patches should be submitted as pull requests to the basix repo:

I don’t have an account with that subsidiary of Micro$oft