From ddda3007e9638b50cdc990f561bb9c1c13028397 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 3 Oct 2025 13:05:41 +0100 Subject: [PATCH] gnu: python-python-snappy: Update to 0.7.3. * gnu/packages/python-compression.scm (python-python-snappy): Update to 0.7.3. [source] : Adjust name according to PyPI archive. [arguments] : Use 'unittest. : Use default 'check. [build-system]: Switch to pyproject-build-system. [native-inputs]: Remove python-pytest; add python-cramjam and python-setuptools. Change-Id: Ie6c9605ce8a335a21eecb3136282ba85b3cc654b --- gnu/packages/python-compression.scm | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 8884876248f15ccd4fafb2417908430c025d2272..66691cac7ca75066994755b43690e147be3dafe0 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -713,25 +713,21 @@ the LZ4 frame format.") ;; packages. To avoid a name collision in Guix, we use the variable name ;; `python-python-snappy' for the package called `python-snappy' on PyPI. (name "python-python-snappy") - (version "0.6.1") + (version "0.7.3") (source (origin (method url-fetch) - (uri (pypi-uri "python-snappy" version)) + (uri (pypi-uri "python_snappy" version)) (sha256 - (base32 "0amv12w0ybn6n1lk36x70a3l8bdjv4mn7iflb59wqsi00smhg8dn")))) - (build-system python-build-system) + (base32 "1qyfhsaagpzgrw5n2zklx670zi0f3lm1djqyg2n3hbgvmldnq8a0")))) + (build-system pyproject-build-system) (arguments - '(#:phases (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-vv" "-k" - ;; CFFI is only supported for PyPy builds. - (string-append "not test_snappy_cffi_enum " - "and not test_snappy_all_cffi")))))))) - (inputs (list snappy)) - (native-inputs (list python-pytest)) + (list #:test-backend #~'unittest)) + (native-inputs + (list python-cramjam + python-setuptools)) + (inputs + (list snappy)) (home-page "https://github.com/andrix/python-snappy") (synopsis "Python bindings for the Snappy compression library") (description