Unverified Commit ab97ee6c authored by Dmitry Kalinkin's avatar Dmitry Kalinkin Committed by GitHub
Browse files

python313Packages.boost-histogram: fix build, more checks (#438836)

parents ddee2620 fff3dacf
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -23,6 +23,9 @@
  # tests
  pytestCheckHook,
  pytest-benchmark,
  pytest-xdist,
  cloudpickle,
  hypothesis,
}:

buildPythonPackage rec {
@@ -34,7 +37,8 @@ buildPythonPackage rec {
    owner = "scikit-hep";
    repo = "boost-histogram";
    tag = "v${version}";
    hash = "sha256-fWbvv9MiBZZiTZLu78tMR5Cx0/7xSuVIya3dkuahPE4=";
    hash = "sha256-kduE5v1oQT76MRxMuGo+snCBdJ+yOjkOJFO45twcUIs=";
    fetchSubmodules = true;
  };

  nativeBuildInputs = [ cmake ];
@@ -56,6 +60,9 @@ buildPythonPackage rec {
  nativeCheckInputs = [
    pytestCheckHook
    pytest-benchmark
    pytest-xdist
    cloudpickle
    hypothesis
  ];

  pytestFlags = [ "--benchmark-disable" ];
@@ -66,6 +73,8 @@ buildPythonPackage rec {
    "test_numpy_conversion_4"
  ];

  pythonImportsCheck = [ "boost_histogram" ];

  meta = {
    description = "Python bindings for the C++14 Boost::Histogram library";
    homepage = "https://github.com/scikit-hep/boost-histogram";