python3Packages.pytools: 2025.1.2 -> 2025.1.5 (#405469)

This commit is contained in:
Gaétan Lepage
2025-05-29 22:14:47 +02:00
committed by GitHub
3 changed files with 8 additions and 7 deletions
@@ -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 \
@@ -67,7 +67,7 @@ buildPythonPackage rec {
mako
pytestCheckHook
writableTmpDirAsHomeHook
] ++ pytools.optional-dependencies.siphash;
];
env = {
CL_INC_DIR = "${opencl-headers}/include";
@@ -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"