python310Packages.jsons: disable failing test on Python 3.11

This commit is contained in:
Fabian Affolter 2023-02-21 13:17:16 +01:00
parent ee1dcddd15
commit 348edf4ff9

View File

@ -3,6 +3,7 @@
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, typish
, tzdata
@ -18,8 +19,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "ramonhagenaars";
repo = "jsons";
rev = "v${version}";
sha256 = "0sdwc57f3lwzhbcapjdbay9f8rn65rlspxa67a2i5apcgg403qpc";
rev = "refs/tags/v${version}";
hash = "sha256-7OIByHvsqhKFOkb1q2kuxmbkkleryavYgp/T4U5hvGk=";
};
propagatedBuildInputs = [
@ -38,6 +39,11 @@ buildPythonPackage rec {
"tests/test_performance.py"
];
disabledTests = lib.optionals (pythonAtLeast "3.11") [
# https://github.com/ramonhagenaars/jsons/issues/187
"test_dump_load_parameterized_collections"
];
pythonImportsCheck = [
"jsons"
];