Commit 8cb1bbd4 authored by qbisi's avatar qbisi
Browse files

python312Packages.pytools: add siphash24 support

parent 190100c4
Loading
Loading
Loading
Loading
+5 −10
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  pytestCheckHook,
  pythonOlder,
  typing-extensions,
  siphash24,
}:

buildPythonPackage rec {
@@ -31,10 +32,12 @@ buildPythonPackage rec {

  optional-dependencies = {
    numpy = [ numpy ];
    # siphash = [ siphash ];
    siphash = [ siphash24 ];
  };

  nativeCheckInputs = [ pytestCheckHook ];
  nativeCheckInputs = [
    pytestCheckHook
  ] ++ optional-dependencies.siphash;

  pythonImportsCheck = [
    "pytools"
@@ -42,14 +45,6 @@ buildPythonPackage rec {
    "pytools.lex"
  ];

  disabledTests = [
    # siphash is not available
    "test_class_hashing"
    "test_dataclass_hashing"
    "test_datetime_hashing"
    "test_hash_function"
  ];

  meta = {
    description = "Miscellaneous Python lifesavers";
    homepage = "https://github.com/inducer/pytools/";