Merge pull request #173429 from fabaff/marshmallow-bump

python310Packages.marshmallow: 3.13.0 -> 3.15.0
main
Fabian Affolter 2 years ago committed by GitHub
commit cb97c3ad8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      pkgs/development/python-modules/deepdiff/default.nix
  2. 37
      pkgs/development/python-modules/marshmallow-oneofschema/default.nix
  3. 17
      pkgs/development/python-modules/marshmallow/default.nix

@ -8,19 +8,20 @@
, numpy , numpy
, pytestCheckHook , pytestCheckHook
, pyyaml , pyyaml
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "deepdiff"; pname = "deepdiff";
version = "5.7.0"; version = "5.8.2";
format = "setuptools"; format = "setuptools";
# pypi source does not contain all fixtures required for tests disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "seperman"; owner = "seperman";
repo = "deepdiff"; repo = "deepdiff";
# 5.7.0 release not tagged https://github.com/seperman/deepdiff/issues/300 rev = "v${version}";
rev = "f2ffdb83b2993f4f0bb7e854620f0acd0bf6339e";
hash = "sha256-0UBx7sH2iMrLVl5FtHNTwoecLHi8GbInn75G3FSg4gk="; hash = "sha256-0UBx7sH2iMrLVl5FtHNTwoecLHi8GbInn75G3FSg4gk=";
}; };
@ -48,10 +49,15 @@ buildPythonPackage rec {
pyyaml pyyaml
]; ];
disabledTests = [
# Assertion issue with the decimal places
"test_get_numeric_types_distance"
];
meta = with lib; { meta = with lib; {
description = "Deep Difference and Search of any Python object/data"; description = "Deep Difference and Search of any Python object/data";
homepage = "https://github.com/seperman/deepdiff"; homepage = "https://github.com/seperman/deepdiff";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.mic92 ]; maintainers = with maintainers; [ mic92 ];
}; };
} }

@ -1,22 +1,43 @@
{ lib, buildPythonPackage, fetchPypi, marshmallow, setuptools }: { lib
, buildPythonPackage
, fetchFromGitHub
, marshmallow
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "marshmallow-oneofschema"; pname = "marshmallow-oneofschema";
version = "3.0.1"; version = "3.0.1";
format = "setuptools";
src = fetchPypi { disabled = pythonOlder "3.6";
inherit pname version;
sha256 = "62cd2099b29188c92493c2940ee79d1bf2f2619a71721664e5a98ec2faa58237"; src = fetchFromGitHub {
owner = "marshmallow-code";
repo = pname;
rev = version;
hash = "sha256-x0v8WkfjGkP2668QIQiewQViYFDIS2zBWMULcDThWas=";
}; };
propagatedBuildInputs = [ marshmallow setuptools ]; propagatedBuildInputs = [
marshmallow
setuptools
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "marshmallow_oneofschema" ]; pythonImportsCheck = [
"marshmallow_oneofschema"
];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/marshmallow-code/marshmallow-oneofschema";
description = "Marshmallow library extension that allows schema (de)multiplexing"; description = "Marshmallow library extension that allows schema (de)multiplexing";
homepage = "https://github.com/marshmallow-code/marshmallow-oneofschema";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.ivan-tkatchev ]; maintainers = with maintainers; [ ivan-tkatchev ];
}; };
} }

@ -1,15 +1,17 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, pythonOlder
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
, pythonOlder
, pytz , pytz
, simplejson , simplejson
, packaging
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "marshmallow"; pname = "marshmallow";
version = "3.13.0"; version = "3.15.0";
format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -17,9 +19,13 @@ buildPythonPackage rec {
owner = "marshmallow-code"; owner = "marshmallow-code";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-tP/RKo2Hzxz2bT7ybRs9wGzq7TpsmzmOPi3BGuSLDA0="; hash = "sha256-ZqMrMNfP/RKW2jQDNPgfhyeqmSc40pZbnrcXHbw2emc=";
}; };
propagatedBuildInputs = [
packaging
];
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
pytz pytz
@ -31,10 +37,7 @@ buildPythonPackage rec {
]; ];
meta = with lib; { meta = with lib; {
description = '' description = "Library for converting complex objects to and from simple Python datatypes";
A lightweight library for converting complex objects to and from
simple Python datatypes.
'';
homepage = "https://github.com/marshmallow-code/marshmallow"; homepage = "https://github.com/marshmallow-code/marshmallow";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ cript0nauta ]; maintainers = with maintainers; [ cript0nauta ];

Loading…
Cancel
Save