From 2c3b624331fa1cee1065838a0a83dc113d6c53b2 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 23 Sep 2025 22:40:58 +0200 Subject: [PATCH] gnu: python-flatbuffers: Update to 24.12.23 and disable tests. * gnu/packages/serialization.scm (python-flatbuffers): Update to 24.12.23. [arguments]<#:tests?>: Disable them. [native-inputs]: Remove python-wheel. [home-page]: Update it. [description]: Improve style. Change-Id: If08cd8283e8acbdb881f32c5e89d5868f14067a4 Signed-off-by: Sharlatan Hellseher --- gnu/packages/serialization.scm | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 1f499b83f42d48d74fad0483f275c43e3735a563..481fe177bfaf51f085b12bcb2520634fb8ecbc88 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -915,7 +915,7 @@ to generate and parse. The two primary functions are @code{cbor.loads} and (define-public flatbuffers (package (name "flatbuffers") - (version "24.12.23") + (version "24.12.23") ; Keep in sync with python-flatbuffers. (source (origin (method git-fetch) (uri (git-reference @@ -976,19 +976,23 @@ game development and other performance-critical applications.") (define-public python-flatbuffers (package (name "python-flatbuffers") - (version "23.1.21") + (version (package-version flatbuffers)) (source (origin (method url-fetch) (uri (pypi-uri "flatbuffers" version)) (sha256 - (base32 "11gzc7mhl984248q6abz5rrsph76j0y99mwk24xc90sxpcxr2j59")))) + (base32 "1b1dqa2hgcx2lf3g51amzd0a56vhl2vx061bvmwdpdp9dayb0419")))) (build-system pyproject-build-system) - (native-inputs (list python-setuptools python-wheel)) - (home-page "https://google.github.io/flatbuffers/") + ;; XXX: No tests on Pypi. Even in the upstream repository, it's unclear + ;; if there is a way to run tests for the python library only. + (arguments (list #:tests? #f)) + (native-inputs (list python-setuptools)) + (home-page "https://flatbuffers.dev") (synopsis "FlatBuffers serialization for Python") - (description "This package provides the @code{FlatBuffers} serialization -format for Python.") + (description + "This package provides the @code{FlatBuffers} serialization format for +Python.") (license license:asl2.0))) (define-public python-feather-format