From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 8JOhGzPUTWchZAEAe85BDQ:P1 (envelope-from ) for ; Mon, 02 Dec 2024 15:37:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8JOhGzPUTWchZAEAe85BDQ (envelope-from ) for ; Mon, 02 Dec 2024 16:37:23 +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=KMGlWqn9; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=SB7H4Y7F; 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=1733153843; a=rsa-sha256; cv=fail; b=VfSGlxfUBUfEJQwFCrvmXhJXWWCAD9aZuNEsK8BXhJokf1zVLvwpy5tk0JPe5OL5R632YT 0CJRfJ5ccbmgoCCcY+po3lDOtCFIpCRwX1CWvzBAESBIuLHddDz7xZKZ8UjhE3QJS/uclZ aYtcwaFcLTRg3qq9BqF84VaLy/8OGtvqGuUqw5JwTiJv4jKBV4z0weEedf21DlwnP3usUZ kIMqpP5be4dHHsJbnecaBDseYE5sgmemyglJFhieLR/+ZYkOzxlHEOy8nN1CZi7pUMhz+J Pq5a94wTXmPYu4rXyvdN+hMy3V3CTEpFMh1IN3mFS7FSX0lvwKmGsjxqX3UBYg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=KMGlWqn9; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=SB7H4Y7F; 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=1733153843; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=RkT/8IH6Cvuc2QNtH1cOspVkV994cUufxjeAZF4i+u8=; b=F7ruadBLIA3tR3IV7AqyM/n+57texTRNyGpwPSi7+53yo0+3rvMPOE6u17+YEkAv4Kedi/ NaZbRVa6Xe5LGo85+mVFateozXDPqgyH0mFNAploeZl7B8/sZ0Lo7VxIwIzWKs1cXPaw+N 7P2n35yFy81+VaRUsF76xe4Am/JklyogxkLetk/htI0KP9obdRIct9GI89vc7TlmF8mJcu ktQQNwf83s4VtYSns5I1aXIIV2Zrhi57jUvyHusj5qhtmEiUx+MzsdvA8pY1va4oUmow64 o4YEgOOudVE0Lg+SFZ38corq+B/WSRhVtAlwKhJGIaqvt2YwlSd0b+Xf4pRf7Q== 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 B4D165E8E3 for ; Mon, 02 Dec 2024 16:37:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tI8U0-0007Uf-Qt; Mon, 02 Dec 2024 10:37:08 -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 1tI8Tu-0007UI-Tb for guix-patches@gnu.org; Mon, 02 Dec 2024 10:37:03 -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 1tI8Tu-0001az-A6 for guix-patches@gnu.org; Mon, 02 Dec 2024 10:37:02 -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:Date:From:To:Subject; bh=RkT/8IH6Cvuc2QNtH1cOspVkV994cUufxjeAZF4i+u8=; b=KMGlWqn9YDgn49fCHgERP1r1YbPvY1/MnKUQpkuaVeFpnoTN+Q9nR9KRQO+uyFhWEK9KIfJ+k9WvI5knJsbrBoesRxCBzJSF9UUw3PKqvaZR+qxXQvDOscT6wKuIN7Ny3TodlTzLhuSkAG1EsHJaKVov/4uyXRDQqSRB84gJa4WzwotSOm3to54P/dNerTCfk9RRgrN4RJSOAKqm0SfdvCC9BhkeeJNL0EZZbvf09p7RJvRO8BI4azgBoDE2k6TyIhkmCk7f1JePW2OPXs6M/Zf7hjCM3S8cpxil7SIZpFSwKBkXAbHQuHnXwQOX921dhmqOII+kiMfQaAFrSKqiBA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tI8Tt-0007E0-St; Mon, 02 Dec 2024 10:37:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74652] [PATCH] gnu: python-redis: Update to 5.2.0. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 02 Dec 2024 15:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 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-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Sharlatan Hellseher Received: via spool by submit@debbugs.gnu.org id=B.173315378427703 (code B ref -1); Mon, 02 Dec 2024 15:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Dec 2024 15:36:24 +0000 Received: from localhost ([127.0.0.1]:56197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI8TH-0007Cl-VW for submit@debbugs.gnu.org; Mon, 02 Dec 2024 10:36:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:42208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI8TG-0007Cc-2n for submit@debbugs.gnu.org; Mon, 02 Dec 2024 10:36:22 -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 1tI8TF-0006zn-Mm for guix-patches@gnu.org; Mon, 02 Dec 2024 10:36:21 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tI8TD-0001Ro-P4 for guix-patches@gnu.org; Mon, 02 Dec 2024 10:36:21 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1733153774; cv=none; d=zohomail.com; s=zohoarc; b=hZ1IUJCjE8z4CkPAK14h18xAV9m7SwpY/hnZEdrqveUCiV4+HdaCPmxW/hK0b99zQHBcH6+llZL//GUhpLwkTc0w76dBIInroBKh/2DMn5Qcm/FemCU6KehHucdmlRa/1z9BmwPMccqLy3OpP1oGuuIfK8J6nTtJwU8dRoISG70= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1733153774; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=RkT/8IH6Cvuc2QNtH1cOspVkV994cUufxjeAZF4i+u8=; b=a80267HvZAOHJ6EhuCjJKyjcHhJPBj45eDGES8rcU1Y5RauPTE2+shysQxFo18OJty5zW0XbJ1DI8jZxlbWA1BRhSeq8HA1GihSM/MKNYE4SjTTym6YgrQ9/M4ynpxmyIQdHCeGNcIYASunljbTQFwo6OUDKBX4vKarhCLqIBko= 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=1733153774; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=RkT/8IH6Cvuc2QNtH1cOspVkV994cUufxjeAZF4i+u8=; b=SB7H4Y7FVNaT232Eqw1p/hX9hAPmDwomNbpzWgdMRRjnqsAhDRhE9vuonZ5UHT3F Rt21gQ2gYR5atV1OYTZT+3xAg/4Zbrsd3TKSHH/CS+WY2x5zOXXoXq41NnzGuWUl+Ef sXEDVdY9HMwsXhWa0X/qaVNbb+ueLtlA46Ed3dwE= Received: by mx.zohomail.com with SMTPS id 17331537715061016.237511876092; Mon, 2 Dec 2024 07:36:11 -0800 (PST) From: Ricardo Wurmus Date: Mon, 2 Dec 2024 16:36:02 +0100 Message-ID: <08be2c7ed2588b659ad2fa43eddd99c57e10b3f2.1733153742.git.rekado@elephly.net> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: B4D165E8E3 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.48 X-Spam-Score: -2.48 X-TUID: tXuHMYWsH5mT * gnu/packages/databases.scm (python-redis): Update to 5.2.0. [arguments]: Update list of tests to skip; add phase 'relax-requirements. [native-inputs]: Add python-numpy. Change-Id: I789c511fb4a516e6cdad06dba695af9bb89f562d --- gnu/packages/databases.scm | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 94cb5bbd877..c7edada862c 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4377,7 +4377,7 @@ (define-public python-fakeredis (define-public python-redis (package (name "python-redis") - (version "4.5.4") + (version "5.2.0") (source (origin ;; The PyPI archive lacks some test resources such as the TLS ;; certificates under docker/stunnel/keys. @@ -4388,7 +4388,7 @@ (define-public python-redis (file-name (git-file-name name version)) (sha256 (base32 - "0s5pswykjcyqbx471ib3gwy29xxa5ckgch9hy476x2s4pvhkbgmr")))) + "0f38s704gpm8ra6vdrqhicfq7m77in60kbgcmhvmviq9qj6v3505")))) (build-system pyproject-build-system) (arguments (list @@ -4399,7 +4399,8 @@ (define-public python-redis ;; .github/workflows/install_and_test.sh). (string-append "not onlycluster " "and not redismod " - "and not ssl") + "and not ssl " + "and not graph") "-k" (string-append ;; The autoclaim test fails with "AssertionError: assert ;; [b'0-0', [], []] == [b'0-0', []]". @@ -4408,9 +4409,21 @@ (define-public python-redis ;; connecting to localhost:6380. Connection refused." ;; (see: https://github.com/redis/redis-py/issues/2109). "and not test_sync " - "and not test_psync")) + "and not test_psync " + ;; Same with: "Error 111 connecting to + ;; localhost:6479. Connection refused." + "and not test_tfcall " + "and not test_tfunction_load_delete " + "and not test_tfunction_list")) #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + ;; FIXME Our version of python-async-timeout is just a little + ;; too old, but upgrading it would cause close to 1000 rebuilds. + (substitute* '("requirements.txt" "setup.py") + (("async-timeout>=4.0.3") + "async-timeout>=4.0.2")))) ;; Tests require a running Redis server. (add-before 'check 'start-redis (lambda* (#:key tests? #:allow-other-keys) @@ -4419,7 +4432,8 @@ (define-public python-redis "--enable-debug-command" "yes" "--enable-module-command" "local"))))))) (native-inputs - (list python-pytest + (list python-numpy + python-pytest python-pytest-asyncio python-pytest-timeout redis)) base-commit: d97a67d41de142c0fbdba55e96bfc147482bfae2 -- 2.46.0