From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WHLDJmDoTWcbWgAA62LTzQ:P1 (envelope-from ) for ; Mon, 02 Dec 2024 17:03:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id WHLDJmDoTWcbWgAA62LTzQ (envelope-from ) for ; Mon, 02 Dec 2024 18:03:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=qfkPJJlT; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=b6jM+9MZ; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=2; s=key1; d=yhetil.org; t=1733159008; a=rsa-sha256; cv=fail; b=Ezo0PF73kEK1SqPGHsKXfShLMAZxJAZIGsLWPiR1xHAvoZemsEZroVY+a9OPlr9VSYE9lG u4EnP+coiz6VFBi5j/ZG9+XKkyP8fXtuzQail4UQ5V39Jkija8PqnhrHbjXTHy08M99kBY vW5/UjRSKUW2aUQtOM98qQsrtzbiCpRdFXdBOU2oMXwcYSSbJGAPW5RvfDggga1pc2iyuy uOlzf98cO1iWWYydCiPeKWsEoVSXZLyGetBA0UXYKYEk6rG1/fn7uoahT2dhjv2Q5JqhaE /zHGGQ3+6PfIwEbrN6ZJE7XqKzWTap+N8l83QcA4ynMZoPTGZ8Ip72H2PTKbnw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=qfkPJJlT; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=b6jM+9MZ; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733159008; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ThW8ilMxlpVG8I7OL8eLiBR5eDEhhYMaX2qhzg88jf4=; b=ahCylsEn/7ThlhUO2jXIL3bdDQc7zxYnWPa9VVCFfSPMK+zousW03aWT9qz4B1fTag3SKc UYftZPQbKMloV2fmhjom37jdvsLsA6YW0xjl4j1UyPw0Bmej9cBM93m5DnloE2eUkF00c8 j5idR2frkwZ3bdqYNV5ELHlISBWfABxka0kMUwfJZuneWLQ9Wbkcqc6c5svfpAdxZwIJXb Y5fINhTNel8MdYHwagnJnbh75nKciWFhFWd6vNl0JgsfMNKY78qzHG6jpw+mK4ZJ1XVSMT 4b6Mgg/1yCssKzy1r+OQ8mRK/QHGVORVTsGtmsbLDWipSUnbQEZJG/SGoEjQIw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C1E747B770 for ; Mon, 02 Dec 2024 18:03:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tI9pH-0007oL-2j; Mon, 02 Dec 2024 12:03:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tI9pA-0007Xo-Dn for guix-patches@gnu.org; Mon, 02 Dec 2024 12:03:06 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tI9pA-0001nK-3K for guix-patches@gnu.org; Mon, 02 Dec 2024 12:03:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=ThW8ilMxlpVG8I7OL8eLiBR5eDEhhYMaX2qhzg88jf4=; b=qfkPJJlTLxPKCTO9J4Z9sf0Lw9/gyCxU11IZjcnAGTpjHTlpoMKetUpQ0msIsd9uF3i/DClu4eXmECDl9AiYBCHu091rY1WzZ7EbptjW6l2QCzTWHcoz4/gkQvV+q3OxExiuqp5l0WhPXd04ruGfTefDDSTJi+QudL/l7/OVtBf0hZQ6detl0nXNlvgQ8GrLHy5DR68iiGu9oKuTBim5/Jub4GGT7obipkf1i7Mle5DJEXf7iigA5lBGHlM8E4E3DprxirXeFeKmHpikHEH2PIvcBtNV2ShQeOTqpBqJv2GnOBSgzsoD+NGrraPAwPHy+QqKP1Pp9joX9ryEH/cFMg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tI9p9-0003bc-TN; Mon, 02 Dec 2024 12:03:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74652] [PATCH v2 2/3] gnu: python-fakeredis: Update to 2.26.1. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 02 Dec 2024 17:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74652 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74652@debbugs.gnu.org Cc: Ricardo Wurmus , Sharlatan Hellseher X-Debbugs-Original-Xcc: Sharlatan Hellseher Received: via spool by 74652-submit@debbugs.gnu.org id=B74652.173315892413727 (code B ref 74652); Mon, 02 Dec 2024 17:03:03 +0000 Received: (at 74652) by debbugs.gnu.org; 2 Dec 2024 17:02:04 +0000 Received: from localhost ([127.0.0.1]:56392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI9oC-0003ZK-A0 for submit@debbugs.gnu.org; Mon, 02 Dec 2024 12:02:04 -0500 Received: from sender4-of-o52.zoho.com ([136.143.188.52]:21213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI9o6-0003YW-VL for 74652@debbugs.gnu.org; Mon, 02 Dec 2024 12:01:59 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1733158913; cv=none; d=zohomail.com; s=zohoarc; b=UaXrWUyjiO8C3EZHzTTdfcyILzpzc1DEyH50E5qR4lnnaQdnAYlknAKMdPJVxwWbV58qxgM133ayLy4CkZ/iytJ2bD0lq3Kp4+haSmRlrOJV7lDApWNx5X2kPobAze67qcxXpFyv6VgrrSTDeo3MHb3l/e3wwemL9qvYTfgUKJo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1733158913; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=ThW8ilMxlpVG8I7OL8eLiBR5eDEhhYMaX2qhzg88jf4=; b=VjvPPCyGOI7IX1VIi37kYCZyFgzAZmFn7bJ8eE9j8ijNUJBi9quLU9RnoVRaht+0VavpqjDTCYIUeHk8eran0F1YYYL3Hq9Z7YGqcJ2EInh1I6SOoNxP2pWVKRKSpOanq5HXil3//dZ7iLUmq4GdXIWINvsx4DhCvze/t5bfrwk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1733158913; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=ThW8ilMxlpVG8I7OL8eLiBR5eDEhhYMaX2qhzg88jf4=; b=b6jM+9MZ2dsqeLZe7xZHDTXKB0Q/nYzn4m9e/XX+dTYaElZlZVwEJJEgtfxiNScp WMl8FnngQNLdkYyxBy3z2eFilzlKE7JOOYuF+vFgueGA7yJEPg90r5L+2daCQpQRq2G 0dgTlmxYooJunCMm+USf8cF5Wtw5YxtePbaTT/BI= Received: by mx.zohomail.com with SMTPS id 1733158910903490.36554887647935; Mon, 2 Dec 2024 09:01:50 -0800 (PST) From: Ricardo Wurmus Date: Mon, 2 Dec 2024 18:01:41 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: <08be2c7ed2588b659ad2fa43eddd99c57e10b3f2.1733158902.git.rekado@elephly.net> References: <08be2c7ed2588b659ad2fa43eddd99c57e10b3f2.1733158902.git.rekado@elephly.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: C1E747B770 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.18 X-Spam-Score: -2.18 X-TUID: ypEIlekPhIXj * gnu/packages/databases.scm (python-fakeredis): Update to 2.26.1. [arguments]: Do not run slow tests; add phases 'poetry-compatibility and 'start-redis. [propagated-inputs]: Add python-typing-extensions. [native-inputs]: Add redis. Change-Id: I18ed122d9e5307d3d723cfc9ef0d51f120b4ccb5 --- gnu/packages/databases.scm | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index c7edada862c..996d61e486d 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4341,7 +4341,7 @@ (define-public python-hiredis (define-public python-fakeredis (package (name "python-fakeredis") - (version "2.10.1") + (version "2.26.1") (source (origin (method git-fetch) ;for tests (uri (git-reference @@ -4350,18 +4350,36 @@ (define-public python-fakeredis (file-name (git-file-name name version)) (sha256 (base32 - "1imsi9dswvkda894sm53lfzdsna0qlrgxszczlq2sam68zn4hfz6")))) + "10f9qwpc9vlcd2411c398n9kwjsk399vk1pjd9dbczlhvsn9s5bq")))) (build-system pyproject-build-system) (arguments - (list #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'relax-requirements - (lambda _ - (substitute* "pyproject.toml" - (("sortedcontainers = \"\\^2\\.4\"") - "sortedcontainers = \"^2.1\""))))))) + (list + #:test-flags '(list "-m" "not slow") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'poetry-compatibility + (lambda _ + ;; Our version of poetry does not understand "to". + (substitute* "pyproject.toml" + ((", to = \"fakeredis\" ") "")))) + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "pyproject.toml" + (("sortedcontainers = \"\\^2\\.4\"") + "sortedcontainers = \"^2.1\"")))) + ;; Tests require a running Redis server. + (add-before 'check 'start-redis + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "redis-server" "--daemonize" "yes" + "--port" "6390"))))))) (native-inputs (list python-poetry-core python-pytest - python-pytest-asyncio python-pytest-mock)) - (propagated-inputs (list python-redis python-sortedcontainers)) + python-pytest-asyncio python-pytest-mock + redis)) + (propagated-inputs + (list python-redis + python-sortedcontainers + python-typing-extensions)) (home-page "https://github.com/cunla/fakeredis-py") (synopsis "Fake implementation of redis API for testing purposes") (description -- 2.46.0