Merge pull request #139010 from fabaff/bump-marshmallow

python3Packages.marshmallow-polyfield: 5.9 -> 5.10, python3Packages.marshmallow: 3.11.1 -> 3.13.0

authored by Fabian Affolter and committed by GitHub ca6fa9b1 b20c1840

+28 -17
+20 -9
pkgs/development/python-modules/marshmallow-polyfield/default.nix
··· 1 - { buildPythonPackage 1 + { lib 2 + , buildPythonPackage 2 3 , fetchFromGitHub 3 - , lib 4 4 , marshmallow 5 - # Check Inputs 5 + , pythonOlder 6 6 , pytestCheckHook 7 - , pytest-cov 8 7 }: 9 8 10 9 buildPythonPackage rec { 11 10 pname = "marshmallow-polyfield"; 12 - version = "5.9"; 11 + version = "5.10"; 12 + 13 + disabled = pythonOlder "3.6"; 13 14 14 15 src = fetchFromGitHub { 15 16 owner = "Bachmann1234"; 16 17 repo = pname; 17 18 rev = "v${version}"; 18 - sha256 = "15yx8ib5yx1xx6kq8wnfdmv9zm43k7y33c6zpq5rba6a30v4lcnd"; 19 + sha256 = "sha256-oF5LBuDK4kqsAcKwidju+wFjigjy4CNbJ6bfWpGO1yQ="; 19 20 }; 20 21 21 22 propagatedBuildInputs = [ 22 23 marshmallow 23 24 ]; 24 25 25 - # setuptools check can run, but won't find tests 26 - checkInputs = [ pytestCheckHook pytest-cov ]; 26 + checkInputs = [ 27 + pytestCheckHook 28 + ]; 29 + 30 + postPatch = '' 31 + substituteInPlace setup.cfg \ 32 + --replace "--cov=marshmallow_polyfield" "" 33 + ''; 34 + 35 + pythonImportsCheck = [ 36 + "marshmallow" 37 + ]; 27 38 28 39 meta = with lib; { 29 - description = "An unofficial extension to Marshmallow to allow for polymorphic fields"; 40 + description = "Extension to Marshmallow to allow for polymorphic fields"; 30 41 homepage = "https://github.com/Bachmann1234/marshmallow-polyfield"; 31 42 license = licenses.asl20; 32 43 maintainers = with maintainers; [ drewrisinger ];
+8 -8
pkgs/development/python-modules/marshmallow/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "marshmallow"; 12 - version = "3.11.1"; 13 - disabled = pythonOlder "3.5"; 12 + version = "3.13.0"; 13 + 14 + disabled = pythonOlder "3.6"; 14 15 15 16 src = fetchFromGitHub { 16 17 owner = "marshmallow-code"; 17 18 repo = pname; 18 19 rev = version; 19 - sha256 = "1ypm142y3giaqydc7fkigm9r057yp2sd1ng5zr2x3w3wbbj5yfm6"; 20 + sha256 = "sha256-tP/RKo2Hzxz2bT7ybRs9wGzq7TpsmzmOPi3BGuSLDA0="; 20 21 }; 21 22 22 - pythonImportsCheck = [ 23 - "marshmallow" 24 - ]; 25 - 26 23 checkInputs = [ 27 24 pytestCheckHook 28 25 pytz 29 26 simplejson 27 + ]; 28 + 29 + pythonImportsCheck = [ 30 + "marshmallow" 30 31 ]; 31 32 32 33 meta = with lib; { ··· 38 39 license = licenses.mit; 39 40 maintainers = with maintainers; [ cript0nauta ]; 40 41 }; 41 - 42 42 }