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