From dbb0c30e67d9891f40b06a6e5f4ca2aee057f52b Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 12 Apr 2025 19:23:00 +0200 Subject: [PATCH] python312Packages.cramjam: 2.9.1-unstable-2025-01-04 -> 2.10.0 Diff: https://github.com/milesgranger/cramjam/compare/61564e7761e38e5ec55e7939ccd6a276c2c55d11...2.10.0 Changelog: https://github.com/milesgranger/cramjam/releases/tag/2.10.0 --- .../python-modules/cramjam/default.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/cramjam/default.nix b/pkgs/development/python-modules/cramjam/default.nix index 750ff3fa7076..76a8825b703e 100644 --- a/pkgs/development/python-modules/cramjam/default.nix +++ b/pkgs/development/python-modules/cramjam/default.nix @@ -13,23 +13,19 @@ buildPythonPackage rec { pname = "cramjam"; - # 2.9.1 ships with experimental decoders that were having issues. - # They were removed afterwards but the change has not been released yet: - # https://github.com/milesgranger/cramjam/pull/197 - # TODO: update to the next stable release when available - version = "2.9.1-unstable-2025-01-04"; + version = "2.10.0"; pyproject = true; src = fetchFromGitHub { owner = "milesgranger"; repo = "cramjam"; - rev = "61564e7761e38e5ec55e7939ccd6a276c2c55d11"; - hash = "sha256-KTYTelQdN5EIJFbyQgrYcayqkAQQSNF+SHqUFFHf1Z8="; + tag = version; + hash = "sha256-zM3EIo7KQYWK7W3LSGaY72iYQQcRB84opLqj/lrSwwY="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit pname src version; - hash = "sha256-Jw9zbgcrX3pofW7E8b4xzZYKj3h6ufCVLjv2xD/qONo="; + hash = "sha256-eMVUDF6DWNzdNfzWuwDF0UBbJ5wQU4/DHaNkP/k2SJ8="; }; nativeBuildInputs = with rustPlatform; [ @@ -50,6 +46,12 @@ buildPythonPackage rec { CI = true; }; + disabledTests = [ + # I (@GaetanLepage) cannot reproduce the failure, but it fails consistently on Ofborg with: + # SyntaxError: could not convert string to float: 'V' - Consider hexadecimal for huge integer literals to avoid decimal conversion limits. + "test_variants_decompress_into" + ]; + disabledTestPaths = [ "benchmarks/test_bench.py" ];