From fcc34e53ada097d0ba844e3e9d572ac1c267d5c2 Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Sat, 1 Nov 2025 10:06:11 +0100 Subject: [PATCH] gnu: python-gfloat: Update to 0.5.2. * gnu/packages/python-xyz.scm (python-gfloat): Update to 0.5.2. [arguments]: Adjust #:test-flags. [propagated-inputs]: Add python-array-api-compat. [native-inputs]: Remove python-wheel; add python-ml-dtypes, python-pytorch, and openssl. Change-Id: Id354d09933ad471b24cb5aa97d7fbecbe0157ce3 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8433d5943a93f5a9fb195e46ad671947ec2b8dd1..65abb7fe4e26181fc38628fe8289ef61e2372ee1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4007,31 +4007,31 @@ Python library and command line interface.") (define-public python-gfloat (package (name "python-gfloat") - (version "0.4") + (version "0.5.2") (source (origin (method url-fetch) (uri (pypi-uri "gfloat" version)) (sha256 - (base32 "0ffxg4igsx4mv4llig79zwla6al4wv9ny9sbnx25ha2ldq41a022")))) + (base32 "143424fqap9bxxybj8l48a00kqqh7vih67ycy7cmkd38kb31zcai")))) (build-system pyproject-build-system) (arguments (list #:test-flags #~(list - ;; XXX: Package python-ml-dtypes (tried unsuccessfully). - "--ignore=test/test_decode.py" - "--ignore=test/test_finfo.py" - "--ignore=test/test_jax.py" - "--ignore=test/test_microxcaling.py" - "--ignore=test/test_round.py" + "--ignore=test/test_array_api.py" ;requires array_api_strict + "--ignore=test/test_jax.py" ;requires python-jax + "--ignore=test/test_microxcaling.py" ;requires torchao ;; Jupyter. "--ignore-glob=docs/source/*.ipynb"))) - (propagated-inputs (list python-more-itertools python-numpy)) + (propagated-inputs + (list python-array-api-compat python-more-itertools python-numpy)) (native-inputs (list python-nbval + python-ml-dtypes python-pytest + python-pytorch python-setuptools - python-wheel)) + openssl)) (home-page "https://github.com/graphcore-research/gfloat") (synopsis "Generic floating point handling in Python") (description