diff --git a/pkgs/development/python-modules/firedrake/default.nix b/pkgs/development/python-modules/firedrake/default.nix index 6fa7ef63a24a..d790c3315725 100644 --- a/pkgs/development/python-modules/firedrake/default.nix +++ b/pkgs/development/python-modules/firedrake/default.nix @@ -140,8 +140,9 @@ buildPythonPackage rec { # required by script spydump matplotlib ] - ++ pytools.optional-dependencies.siphash - ++ lib.optional stdenv.hostPlatform.isDarwin islpy; + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + islpy + ]; postFixup = lib.optionalString stdenv.hostPlatform.isDarwin '' install_name_tool -add_rpath ${libsupermesh}/${python.sitePackages}/libsupermesh/lib \ diff --git a/pkgs/development/python-modules/pyopencl/default.nix b/pkgs/development/python-modules/pyopencl/default.nix index ce5a284b3017..65a6d25973ba 100644 --- a/pkgs/development/python-modules/pyopencl/default.nix +++ b/pkgs/development/python-modules/pyopencl/default.nix @@ -67,7 +67,7 @@ buildPythonPackage rec { mako pytestCheckHook writableTmpDirAsHomeHook - ] ++ pytools.optional-dependencies.siphash; + ]; env = { CL_INC_DIR = "${opencl-headers}/include"; diff --git a/pkgs/development/python-modules/pytools/default.nix b/pkgs/development/python-modules/pytools/default.nix index 625cb55badbd..8fc38098f3e5 100644 --- a/pkgs/development/python-modules/pytools/default.nix +++ b/pkgs/development/python-modules/pytools/default.nix @@ -13,31 +13,31 @@ buildPythonPackage rec { pname = "pytools"; - version = "2025.1.2"; + version = "2025.1.5"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-wA25T92aljmJlzLL+RvLKReGdRzJA4CwfXOBgspQ8rE="; + hash = "sha256-im+YrLBc6UGRu+j4WnPz7J7Ut2PBxpoHgQWeGgF8YeU="; }; build-system = [ hatchling ]; dependencies = [ platformdirs + siphash24 typing-extensions ]; optional-dependencies = { numpy = [ numpy ]; - siphash = [ siphash24 ]; }; nativeCheckInputs = [ pytestCheckHook - ] ++ optional-dependencies.siphash; + ]; pythonImportsCheck = [ "pytools"