diff options
Diffstat (limited to 'pkgs/development/python-modules/cramjam/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/cramjam/default.nix | 18 |
1 files 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" ]; |
