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