python313Packages.fast-histogram: disable failing test (#373429)

authored by Fabian Affolter and committed by GitHub d5d3f100 adb6f740

+19 -15
+19 -15
pkgs/development/python-modules/fast-histogram/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 + fetchFromGitHub, 5 + hypothesis, 6 + numpy, 7 + pytest-cov-stub, 4 8 pytestCheckHook, 5 - fetchFromGitHub, 6 9 python, 7 10 pythonOlder, 8 - setuptools, 9 11 setuptools-scm, 10 - numpy, 11 - wheel, 12 - hypothesis, 13 - pytest-cov-stub, 12 + setuptools, 14 13 }: 15 14 16 15 buildPythonPackage rec { 17 16 pname = "fast-histogram"; 18 17 version = "0.14"; 19 - format = "setuptools"; 18 + pyproject = true; 20 19 21 - disabled = pythonOlder "3.6"; 20 + disabled = pythonOlder "3.9"; 22 21 23 22 src = fetchFromGitHub { 24 23 owner = "astrofrog"; 25 - repo = pname; 24 + repo = "fast-histogram"; 26 25 tag = "v${version}"; 27 - sha256 = "sha256-vIzDDzz6e7PXArHdZdSSgShuTjy3niVdGtXqgmyJl1w="; 26 + hash = "sha256-vIzDDzz6e7PXArHdZdSSgShuTjy3niVdGtXqgmyJl1w="; 28 27 }; 29 28 30 - nativeBuildInputs = [ 29 + build-system = [ 31 30 setuptools 32 31 setuptools-scm 33 - wheel 34 32 ]; 35 33 36 - propagatedBuildInputs = [ numpy ]; 34 + dependencies = [ numpy ]; 37 35 38 36 nativeCheckInputs = [ 39 - pytestCheckHook 40 37 hypothesis 41 38 pytest-cov-stub 39 + pytestCheckHook 42 40 ]; 43 41 44 42 pytestFlagsArray = [ "${builtins.placeholder "out"}/${python.sitePackages}" ]; 45 43 46 44 pythonImportsCheck = [ "fast_histogram" ]; 47 45 46 + disabledTests = [ 47 + # ValueError 48 + "test_1d_compare_with_numpy" 49 + ]; 50 + 48 51 meta = with lib; { 49 - homepage = "https://github.com/astrofrog/fast-histogram"; 50 52 description = "Fast 1D and 2D histogram functions in Python"; 53 + homepage = "https://github.com/astrofrog/fast-histogram"; 54 + changelog = "https://github.com/astrofrog/fast-histogram/blob/v${version}/CHANGES.md"; 51 55 license = licenses.bsd2; 52 56 maintainers = with maintainers; [ ifurther ]; 53 57 };