Commit ce220fe0 authored by R. RyanTM's avatar R. RyanTM Committed by Weijia Wang
Browse files

python3Packages.pytools: 2025.1.2 -> 2025.1.5

parent fa8a70d0
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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 \
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ buildPythonPackage rec {
    mako
    pytestCheckHook
    writableTmpDirAsHomeHook
  ] ++ pytools.optional-dependencies.siphash;
  ];

  env = {
    CL_INC_DIR = "${opencl-headers}/include";
+4 −4
Original line number Diff line number Diff line
@@ -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"