Loading pkgs/development/python-modules/protobuf/4.nix +16 −9 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ fetchpatch, isPyPy, lib, stdenv, numpy, protobuf, pytestCheckHook, Loading Loading @@ -84,7 +85,8 @@ buildPythonPackage { pytestCheckHook ] ++ lib.optionals (lib.versionAtLeast protobuf.version "22") [ numpy ]; disabledTests = lib.optionals isPyPy [ disabledTests = lib.optionals isPyPy [ # error message differs "testInvalidTimestamp" # requires tracemalloc which pypy does not implement Loading @@ -92,6 +94,11 @@ buildPythonPackage { "testUnknownFieldsNoMemoryLeak" # assertion is not raised for some reason "testStrictUtf8Check" ] ++ lib.optionals stdenv.hostPlatform.is32bit [ # OverflowError: timestamp out of range for platform time_t "testTimezoneAwareDatetimeConversionWhereTimestampLosesPrecision" "testTimezoneNaiveDatetimeConversionWhereTimestampLosesPrecision" ]; disabledTestPaths = Loading Loading
pkgs/development/python-modules/protobuf/4.nix +16 −9 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ fetchpatch, isPyPy, lib, stdenv, numpy, protobuf, pytestCheckHook, Loading Loading @@ -84,7 +85,8 @@ buildPythonPackage { pytestCheckHook ] ++ lib.optionals (lib.versionAtLeast protobuf.version "22") [ numpy ]; disabledTests = lib.optionals isPyPy [ disabledTests = lib.optionals isPyPy [ # error message differs "testInvalidTimestamp" # requires tracemalloc which pypy does not implement Loading @@ -92,6 +94,11 @@ buildPythonPackage { "testUnknownFieldsNoMemoryLeak" # assertion is not raised for some reason "testStrictUtf8Check" ] ++ lib.optionals stdenv.hostPlatform.is32bit [ # OverflowError: timestamp out of range for platform time_t "testTimezoneAwareDatetimeConversionWhereTimestampLosesPrecision" "testTimezoneNaiveDatetimeConversionWhereTimestampLosesPrecision" ]; disabledTestPaths = Loading