Skip to content

Commit

Permalink
python313Packages.fast-histogram: disable failing test (#373429)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Jan 13, 2025
2 parents adb6f74 + 914742a commit d5d3f10
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions pkgs/development/python-modules/fast-histogram/default.nix
Original file line number Diff line number Diff line change
@@ -1,53 +1,57 @@
{
lib,
buildPythonPackage,
pytestCheckHook,
fetchFromGitHub,
hypothesis,
numpy,
pytest-cov-stub,
pytestCheckHook,
python,
pythonOlder,
setuptools,
setuptools-scm,
numpy,
wheel,
hypothesis,
pytest-cov-stub,
setuptools,
}:

buildPythonPackage rec {
pname = "fast-histogram";
version = "0.14";
format = "setuptools";
pyproject = true;

disabled = pythonOlder "3.6";
disabled = pythonOlder "3.9";

src = fetchFromGitHub {
owner = "astrofrog";
repo = pname;
repo = "fast-histogram";
tag = "v${version}";
sha256 = "sha256-vIzDDzz6e7PXArHdZdSSgShuTjy3niVdGtXqgmyJl1w=";
hash = "sha256-vIzDDzz6e7PXArHdZdSSgShuTjy3niVdGtXqgmyJl1w=";
};

nativeBuildInputs = [
build-system = [
setuptools
setuptools-scm
wheel
];

propagatedBuildInputs = [ numpy ];
dependencies = [ numpy ];

nativeCheckInputs = [
pytestCheckHook
hypothesis
pytest-cov-stub
pytestCheckHook
];

pytestFlagsArray = [ "${builtins.placeholder "out"}/${python.sitePackages}" ];

pythonImportsCheck = [ "fast_histogram" ];

disabledTests = [
# ValueError
"test_1d_compare_with_numpy"
];

meta = with lib; {
homepage = "https://github.com/astrofrog/fast-histogram";
description = "Fast 1D and 2D histogram functions in Python";
homepage = "https://github.com/astrofrog/fast-histogram";
changelog = "https://github.com/astrofrog/fast-histogram/blob/v${version}/CHANGES.md";
license = licenses.bsd2;
maintainers = with maintainers; [ ifurther ];
};
Expand Down

0 comments on commit d5d3f10

Please sign in to comment.