Merge pull request #252439 from fabaff/dataproperty-bump

python311Packages.dataproperty: 0.55.0 -> 1.0.1

authored by

Fabian Affolter and committed by
GitHub
cd4fa04d ba56d588

+47 -20
+32 -16
pkgs/development/python-modules/dataproperty/default.nix
··· 1 - { buildPythonPackage 1 + { lib 2 + , buildPythonPackage 2 3 , fetchFromGitHub 3 - , lib 4 + , loguru 4 5 , mbstrdecoder 5 - , typepy 6 6 , pytestCheckHook 7 + , pythonOlder 8 + , tcolorpy 7 9 , termcolor 10 + , typepy 8 11 }: 9 12 10 13 buildPythonPackage rec { 11 14 pname = "dataproperty"; 12 - version = "0.55.0"; 15 + version = "1.0.1"; 16 + format = "setuptools"; 17 + 18 + disabled = pythonOlder "3.7"; 13 19 14 20 src = fetchFromGitHub { 15 21 owner = "thombashi"; 16 22 repo = pname; 17 - rev = "v${version}"; 18 - hash = "sha256-ODSrKZ8M/ni9r2gkVIKWaKkdr+3AVi4INkEKJ+cmb44="; 23 + rev = "refs/tags/v${version}"; 24 + hash = "sha256-adUxUU9eASkC9n5ppZYNN0MP19u4xcL8XziBWSCp2L8="; 19 25 }; 20 26 21 - propagatedBuildInputs = [ mbstrdecoder typepy ]; 27 + propagatedBuildInputs = [ 28 + mbstrdecoder 29 + typepy 30 + tcolorpy 31 + ] ++ typepy.optional-dependencies.datetime; 22 32 23 - nativeCheckInputs = [ pytestCheckHook ]; 24 - checkInputs = [ termcolor ]; 33 + passthru.optional-dependencies = { 34 + logging = [ 35 + loguru 36 + ]; 37 + }; 25 38 26 - # Tests fail, even on non-nixos 27 - pytestFlagsArray = [ 28 - "--deselect test/test_dataproperty.py::Test_DataPeroperty_len::test_normal_ascii_escape_sequence" 29 - "--deselect test/test_dataproperty.py::Test_DataPeroperty_is_include_ansi_escape::test_normal" 30 - "--deselect test/test_dataproperty.py::Test_DataPeroperty_repr::test_normal" 39 + nativeCheckInputs = [ 40 + pytestCheckHook 41 + termcolor 42 + ]; 43 + 44 + pythonImportsCheck = [ 45 + "dataproperty" 31 46 ]; 32 47 33 48 meta = with lib; { 49 + description = "Library for extracting properties from data"; 34 50 homepage = "https://github.com/thombashi/dataproperty"; 35 - description = "A library for extracting properties from data"; 51 + changelog = "https://github.com/thombashi/DataProperty/releases/tag/v${version}"; 52 + license = licenses.mit; 36 53 maintainers = with maintainers; [ genericnerdyusername ]; 37 - license = licenses.mit; 38 54 }; 39 55 }
+3 -1
pkgs/development/python-modules/pytablewriter/default.nix
··· 105 105 "pathvalidate" 106 106 ]; 107 107 108 - # Circular dependency 109 108 disabledTests = [ 109 + # Circular dependency 110 110 "test_normal_from_file" 111 111 "test_normal_from_text" 112 112 "test_normal_clear_theme" 113 + # Test compares CLI output 114 + "test_normal" 113 115 ]; 114 116 115 117 disabledTestPaths = [
+12 -3
pkgs/development/python-modules/typepy/default.nix
··· 26 26 27 27 propagatedBuildInputs = [ 28 28 mbstrdecoder 29 - python-dateutil 30 - pytz 31 - packaging 32 29 ]; 33 30 31 + passthru.optional-dependencies = { 32 + datetime = [ 33 + python-dateutil 34 + pytz 35 + packaging 36 + ]; 37 + }; 38 + 34 39 nativeCheckInputs = [ 35 40 pytestCheckHook 36 41 tcolorpy 42 + ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); 43 + 44 + pythonImportsCheck = [ 45 + "typepy" 37 46 ]; 38 47 39 48 meta = with lib; {