summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-01 00:07:18 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-01 00:36:56 +0100
commit6de01dfdfa31028f3711d9b8d58ce4a1251d4e06 (patch)
tree47e90fa6dcf272f5576e444fe55e45a741be79f7 /gnu/packages/python-xyz.scm
parent25f4edfb88b118d51b1c8d1e8d8acb6a65736e04 (diff)
gnu: python-srsly: Update to 2.5.1.
* gnu/packages/python-xyz.scm (python-srsly): Update to 2.5.1. [arguments] <test-flags>: Provide option to run tests again installed module, skip 3 failing tests. <phases>: Remove 'build-extensions. [native-inputs]: Remove python-wheel. Change-Id: I4ee33c5ec18caeb6fbb5685e15bc557918f3612c
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm27
1 files changed, 14 insertions, 13 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0950175c70..152b3c36d7 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