mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
python310Packages.jsons: disable failing test on Python 3.11
This commit is contained in:
parent
ee1dcddd15
commit
348edf4ff9
@ -3,6 +3,7 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonAtLeast
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, typish
|
, typish
|
||||||
, tzdata
|
, tzdata
|
||||||
@ -18,8 +19,8 @@ buildPythonPackage rec {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ramonhagenaars";
|
owner = "ramonhagenaars";
|
||||||
repo = "jsons";
|
repo = "jsons";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "0sdwc57f3lwzhbcapjdbay9f8rn65rlspxa67a2i5apcgg403qpc";
|
hash = "sha256-7OIByHvsqhKFOkb1q2kuxmbkkleryavYgp/T4U5hvGk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -38,6 +39,11 @@ buildPythonPackage rec {
|
|||||||
"tests/test_performance.py"
|
"tests/test_performance.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = lib.optionals (pythonAtLeast "3.11") [
|
||||||
|
# https://github.com/ramonhagenaars/jsons/issues/187
|
||||||
|
"test_dump_load_parameterized_collections"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"jsons"
|
"jsons"
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user