python3Packages.cattrs: 1.7.0 -> 1.8.0
This commit is contained in:
parent
200f2a7c58
commit
6cc0ff179b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user