From 6cc0ff179bab771e5eaccb78ea18266022745012 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 20 Aug 2021 23:35:08 +0200 Subject: [PATCH] python3Packages.cattrs: 1.7.0 -> 1.8.0 --- pkgs/development/python-modules/cattrs/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/cattrs/default.nix b/pkgs/development/python-modules/cattrs/default.nix index 409fc7b28de5..45379910a610 100644 --- a/pkgs/development/python-modules/cattrs/default.nix +++ b/pkgs/development/python-modules/cattrs/default.nix @@ -1,14 +1,14 @@ { lib , attrs -, bson -, pythonOlder , buildPythonPackage , fetchFromGitHub , hypothesis , immutables +, motor , msgpack , poetry-core , pytestCheckHook +, pythonOlder , pyyaml , tomlkit , ujson @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "cattrs"; - version = "1.7.0"; + version = "1.8.0"; format = "pyproject"; # https://cattrs.readthedocs.io/en/latest/history.html#id33: @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "Tinche"; repo = pname; rev = "v${version}"; - sha256 = "sha256-7F4S4IeApbULXhkEZ0oab3Y7sk20Ag2fCYxsyi4WbWw="; + sha256 = "sha256-CKAsvRKS8kmLcyPA753mh6d3S04ObzO7xLPpmlmxrxI="; }; nativeBuildInputs = [ @@ -39,9 +39,9 @@ buildPythonPackage rec { ]; checkInputs = [ - bson hypothesis immutables + motor msgpack pytestCheckHook pyyaml @@ -59,6 +59,10 @@ buildPythonPackage rec { --replace "from orjson import loads as orjson_loads" "" ''; + preCheck = '' + export HOME=$(mktemp -d); + ''; + disabledTestPaths = [ # Don't run benchmarking tests "bench/test_attrs_collections.py"