Commit 348edf4f authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.jsons: disable failing test on Python 3.11

parent ee1dcddd
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -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"
  ];