From d329a02f9f3c98ac96d5cff17a77d95f73a59434 Mon Sep 17 00:00:00 2001 From: Sergei Zimmerman Date: Wed, 5 Nov 2025 22:35:13 +0300 Subject: [PATCH] marshmallow: fix build on i686-linux Nix has recently started using this package (transitively via json-schema-for-humans) in the nix-manual, so it's prudent to fix it on all supported systems. --- pkgs/development/python-modules/marshmallow/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/marshmallow/default.nix b/pkgs/development/python-modules/marshmallow/default.nix index 4b67ac402089..0ab9cf7f5dab 100644 --- a/pkgs/development/python-modules/marshmallow/default.nix +++ b/pkgs/development/python-modules/marshmallow/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, flit-core, @@ -29,6 +30,11 @@ buildPythonPackage rec { simplejson ]; + disabledTests = lib.optionals stdenv.hostPlatform.isx86_32 [ + # Raises a slightly different error than upstream expects: 'Timestamp is too large' instead of 'out of range' + "test_from_timestamp_with_overflow_value" + ]; + pythonImportsCheck = [ "marshmallow" ]; meta = with lib; {