From 5278a55bf521062cfd186327054ee33a0e5c39c8 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 25 Oct 2025 12:59:49 +0200 Subject: [PATCH] gnu: python-memcached: Update to 1.62. * gnu/packages/python-xyz.scm (python-memcached): Update to 1.62. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. <#:test-backend>: Set it. [native-inputs]: Add python-setuptools. [propagated-inputs]: Remove python-six. Change-Id: I62848d45df4e53cf72d4950a6832d2fe5b6fa392 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a29161ad8e5544921c08a79ffed0bea0773a6dc7..65e4526d343d2974b27b2ce29a0f0d6535b3e3fb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21854,19 +21854,23 @@ without worrying about command injection.") (define-public python-memcached (package (name "python-memcached") - (version "1.59") + (version "1.62") (source (origin - (method url-fetch) - (uri (pypi-uri "python-memcached" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/linsomniac/python-memcached") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "0kvyapavbirk2x3n1jx4yb9nyigrj1s3x15nm3qhpvhkpqvqdqm2")) - (patches (search-patches "python-memcached-syntax-warnings.patch")))) - (build-system python-build-system) - (propagated-inputs (list python-six)) - (home-page - "https://github.com/linsomniac/python-memcached") + (base32 "1chw36v1g4zz32s2qc2ql1hzrd1ys8d4abjdjnjgg8anpx13hjj2")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f ;Requires a connection to a socket. + #:test-backend #~'unittest)) + (native-inputs (list python-setuptools)) + (home-page "https://github.com/linsomniac/python-memcached") (synopsis "Pure python memcached client") (description "This software is a pure Python interface to the memcached memory cache