From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CDjCEWDoTWeyDQAAe85BDQ:P1 (envelope-from ) for ; Mon, 02 Dec 2024 17:03:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CDjCEWDoTWeyDQAAe85BDQ (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=FOnqIPZZ; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=YYSDznpQ; 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"; dmarc=none; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") 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=RkT/8IH6Cvuc2QNtH1cOspVkV994cUufxjeAZF4i+u8=; b=IpYcX6osiHusocrKKaQUphVAebMPWqt1epJMPRJrsmS14ndAkpYlI99GSSOuoQeD0mqJUB eo9mT87QF8PJ2pcisQWqt10c3WGCv+KMPmVAlZyD72GT2DPMGC4X2lXzfWeHpY8AEyhB4A 1sdXma+VP94TgTkVxpbgwsJ78an58EXWbvM545OZy7H5rGFaDjXPyOKGPHwwi3wZ1te2EF XxeAUJcxzD+dsmqry2V9NDqvXcZkriOONWggwtS0s5nZdapYV3ouRkesGYMphdyP16PpZk Z85RPUopyro71Wy9ft6uzMwsDZ3VAkRjVHsJe/5hurpWRl3vaPoscf9pXKBOXw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FOnqIPZZ; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=YYSDznpQ; 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"; dmarc=none; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1733159008; a=rsa-sha256; cv=fail; b=Ns1FxeAn564HId4LiNcKzp4BHEm9DpJYcImNsYwh/0v0XgHdDQ0TBzK35vXndLTROV1eWp 9Fna2peD8FdgP5nHLVExgjnqyufFpwWn3GtGXaXhw64/9n/GVwgMf8BXnAQ01YHve9vbOr yf4j4HMSyaIn+4V9GIhQ/X9qu+He4/wv/QfSvipcDChQTq5fNcn28zNUh8xCHrqk1UisMa dzjRikow8L+T4hGZluHsy2OFJnLEweShtVpQQeCvtFPSorbT0azkjuVSwt9wZ6DprOjXcT RrtRo4gnCY9/9gNK4i4OeJq5w8rx0cypCrElBteLpBQKt6C32CLestLdmIv2cw== 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 185757995C for ; Mon, 02 Dec 2024 18:03:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tI9pI-0007vq-Ke; Mon, 02 Dec 2024 12:03:12 -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 1tI9p9-0007TI-UY for guix-patches@gnu.org; Mon, 02 Dec 2024 12:03:04 -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 1tI9p9-0001nD-KT for guix-patches@gnu.org; Mon, 02 Dec 2024 12:03:03 -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:In-Reply-To:References:Subject; bh=RkT/8IH6Cvuc2QNtH1cOspVkV994cUufxjeAZF4i+u8=; b=FOnqIPZZ06GUUMriVnrkLDcjVGjKbY4o98evy36A3z5nnHSs5uANO6pZ178GAxCHpuZsV33gt9tDltUo+3dNi3IHsOppOLZhunloDDlG6Bl7RBn9wAv9RKh+KCFQXvmDRqVhQ98LluiQhKNLj6bSqaUGZf3d6zjkDji35R8GherFnTYMCqQ14Uy+bfdz++R+XSV6Rovc1buIZeNpQT6Rgb0rA8Nzf8Po1vqmV55tmFM8WHSEsPkfs1HzZa4+MMXPe+JEgAIkqqei0FPA9eaCKNJ+m0HDM6OZZnpzEVxRFWmXpGfengGPGY6fbgPT1ADB/MF2EsOy8oD2o0pppU58cw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tI9p9-0003bR-1G; Mon, 02 Dec 2024 12:03:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74652] [PATCH v2 1/3] gnu: python-redis: Update to 5.2.0. References: <08be2c7ed2588b659ad2fa43eddd99c57e10b3f2.1733153742.git.rekado@elephly.net> In-Reply-To: <08be2c7ed2588b659ad2fa43eddd99c57e10b3f2.1733153742.git.rekado@elephly.net> 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:02 +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.173315892413720 (code B ref 74652); Mon, 02 Dec 2024 17:03:02 +0000 Received: (at 74652) by debbugs.gnu.org; 2 Dec 2024 17:02:04 +0000 Received: from localhost ([127.0.0.1]:56389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI9o7-0003Yf-Nr for submit@debbugs.gnu.org; Mon, 02 Dec 2024 12:02:04 -0500 Received: from sender4-of-o52.zoho.com ([136.143.188.52]:21204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI9o0-0003Y8-TI for 74652@debbugs.gnu.org; Mon, 02 Dec 2024 12:01:57 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1733158909; cv=none; d=zohomail.com; s=zohoarc; b=WI0KhPqcRc/ktsTtJV5f/j2I5JKyP16i3PjorWXXySmdx7oSfPE1WONBect3SApTTKJZub+qLc6nLABoEKS6RQPTNIWxHaXLs2cAErV2vxYubwTVTIGqDXz8JD1PDDBT4kI+b2nlnSa2jqENnnFntag8OYjoB/tELrZQvvvtVvM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1733158909; 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=FFL0PCuOSDK45aq6ooLmcB2yTikYDRUhu1aKfjF1EGmxooRU4N6Oz+QCiLUglZXkxO0K9b6ZyouMSv2+FhPQrdCf52/7VEhe6L2C8F2B8wxDD2VeUha45GiVxOSlsY3bS7MM+DhUNCOG+e0AY9eS0EcGAgIW8Jl79280zq+f9Uo= 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=1733158909; 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=YYSDznpQ7npycqtq0t6XXlQTkP0q7RqeMwKILmiw9sH/gVSzuXr6E7+axJhVQcSq UuQDSCkbJRE9KJ27/5ZG9nqZDIELYwycqkOQKFe+uSNcdjdtOPSSPLQwKUR9aFT8bya mRuGQoQiMxlOta5qpANI8irv2G1QNhdSx/CSoln4= Received: by mx.zohomail.com with SMTPS id 1733158907033856.5041599559902; Mon, 2 Dec 2024 09:01:47 -0800 (PST) From: Ricardo Wurmus Date: Mon, 2 Dec 2024 18:01:40 +0100 Message-ID: <08be2c7ed2588b659ad2fa43eddd99c57e10b3f2.1733158902.git.rekado@elephly.net> X-Mailer: git-send-email 2.46.0 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -1.71 X-Spam-Score: -1.71 X-Migadu-Queue-Id: 185757995C X-TUID: ZELXA40Vtjdg * 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