From ce2c71c6b33489b3f9ca0737af6a935d809a35a2 Mon Sep 17 00:00:00 2001 From: natsukium Date: Wed, 2 Aug 2023 00:06:18 +0900 Subject: [PATCH] python310Packages.cattrs: 22.2.0 -> 23.1.2 Diff: https://github.com/python-attrs/cattrs/compare/v22.2.0...v23.1.2 Changelog: https://github.com/python-attrs/cattrs/blob/v23.1.2/HISTORY.md --- pkgs/development/python-modules/cattrs/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/cattrs/default.nix b/pkgs/development/python-modules/cattrs/default.nix index fcff82c1ef58..b637f714d26d 100644 --- a/pkgs/development/python-modules/cattrs/default.nix +++ b/pkgs/development/python-modules/cattrs/default.nix @@ -1,6 +1,7 @@ { lib , attrs , buildPythonPackage +, cbor2 , fetchFromGitHub , exceptiongroup , hypothesis @@ -20,7 +21,7 @@ buildPythonPackage rec { pname = "cattrs"; - version = "22.2.0"; + version = "23.1.2"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -29,7 +30,7 @@ buildPythonPackage rec { owner = "python-attrs"; repo = pname; rev = "v${version}"; - hash = "sha256-Qnrq/mIA/t0mur6IAen4vTmMIhILWS6v5nuf+Via2hA="; + hash = "sha256-YO4Clbo5fmXbysxwwM2qCHJwO5KwDC05VctRVFruJcw="; }; nativeBuildInputs = [ @@ -40,11 +41,11 @@ buildPythonPackage rec { attrs ] ++ lib.optionals (pythonOlder "3.11") [ exceptiongroup - ] ++ lib.optionals (pythonOlder "3.7") [ typing-extensions ]; nativeCheckInputs = [ + cbor2 hypothesis immutables motor @@ -54,6 +55,7 @@ buildPythonPackage rec { pytestCheckHook pyyaml tomlkit + typing-extensions ujson ];