From 6de01dfdfa31028f3711d9b8d58ce4a1251d4e06 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 1 Oct 2025 00:07:18 +0100 Subject: [PATCH] gnu: python-srsly: Update to 2.5.1. * gnu/packages/python-xyz.scm (python-srsly): Update to 2.5.1. [arguments] : Provide option to run tests again installed module, skip 3 failing tests. : Remove 'build-extensions. [native-inputs]: Remove python-wheel. Change-Id: I4ee33c5ec18caeb6fbb5685e15bc557918f3612c --- gnu/packages/python-xyz.scm | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0950175c70b..152b3c36d7c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -38578,32 +38578,33 @@ than trying to just split strings.") (define-public python-srsly (package (name "python-srsly") - (version "2.4.8") + (version "2.5.1") (source (origin (method url-fetch) (uri (pypi-uri "srsly" version)) (sha256 (base32 - "14ca3gwmhr24axxdhn73157wzzjkmi1s1ka91dz49hh9a2k9akdj")))) + "0zn74zyb928v898j6l86a83qgdvza78ksjg0v8ixla9yrzv4n6xb")))) (build-system pyproject-build-system) (arguments (list - #:phases - #~(modify-phases %standard-phases - (add-before 'check 'build-extensions - (lambda _ - ;; Cython extensions have to be built before running the tests. - (invoke "python" "setup.py" "build_ext" "--inplace")))))) - (propagated-inputs (list python-catalogue)) + #:test-flags + #~(list "--pyargs" "srsly" + ;; 3 tests fail in + ;; tests/cloudpickle/cloudpickle_test.py::CloudPickleTest + "-k" (string-append "not test_import" + " and not test_logger" + " and not test_multiprocess")))) (native-inputs (list python-cython - python-pytest - python-pytest-timeout python-mock python-numpy python-psutil - python-setuptools - python-wheel)) + python-pytest + python-pytest-timeout + python-setuptools)) + (propagated-inputs + (list python-catalogue)) (home-page "https://github.com/explosion/srsly") (synopsis "Serialization utilities for Python") (description "This package bundles some of the best Python serialization