From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oLTfNHYC12FkKwAAgWs5BA (envelope-from ) for ; Thu, 06 Jan 2022 15:53:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MJF2MXYC12GWLwAAauVa8A (envelope-from ) for ; Thu, 06 Jan 2022 15:53:42 +0100 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 657C3352C9 for ; Thu, 6 Jan 2022 15:53:42 +0100 (CET) Received: from localhost ([::1]:56460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5U97-0008TW-IX for larch@yhetil.org; Thu, 06 Jan 2022 09:53:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5Tr5-0004l0-V5 for guix-patches@gnu.org; Thu, 06 Jan 2022 09:35:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47079) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5Tr4-0006nh-J8 for guix-patches@gnu.org; Thu, 06 Jan 2022 09:35:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n5Tr4-0002dQ-HX for guix-patches@gnu.org; Thu, 06 Jan 2022 09:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53054] [PATCH 2/3] gnu: python-msgpack-transitional: Fix broken tests. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Jan 2022 14:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53054 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53054@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 53054-submit@debbugs.gnu.org id=B53054.164147966910061 (code B ref 53054); Thu, 06 Jan 2022 14:35:02 +0000 Received: (at 53054) by debbugs.gnu.org; 6 Jan 2022 14:34:29 +0000 Received: from localhost ([127.0.0.1]:39978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5TqX-0002cD-Ek for submit@debbugs.gnu.org; Thu, 06 Jan 2022 09:34:29 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:41765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5TqV-0002bm-AX for 53054@debbugs.gnu.org; Thu, 06 Jan 2022 09:34:27 -0500 Received: (Authenticated sender: tanguy@bioneland.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 8D6321C0004; Thu, 6 Jan 2022 14:34:21 +0000 (UTC) From: Tanguy Le Carrour Date: Thu, 6 Jan 2022 15:33:58 +0100 Message-Id: <20220106143359.11750-2-tanguy@bioneland.org> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220106143359.11750-1-tanguy@bioneland.org> References: <20220106143359.11750-1-tanguy@bioneland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641480822; 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; bh=TfEZ2dyP3TQcCr3oQDOso+6XO1uIGcMl1U7GC8RH9cY=; b=llUZHWpgDgYpQLL2F56EiZ1ft/uD4CSL9DahjSdth4ippu4PnT2lWBmJeohyZw3f1Lqhp9 vEMq9tLr8M3ZLGtGfkIAPUl5fpMA3Un1xtEufKlLQexO0KEBAb1ev0hp85LuktzQb4Lm62 5kbgbSgSMQKC1ojpYMa95kBBoZ/DfIhhqQq5pS9LUNTBOcQfu6uth78E0eazE/cHHLsJE3 5o1sVxRtr/qUrNWOkqdaRx3+OYzRSk78v+vaFdUgdV+ywxqjrexFZDCq+T3dAT+J8Tgx2t GbqQt7oUarIf3l8HxivvuntvavtvwFHD/7OCKWtI1emov1+FdmfwbkKRK3DnAQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641480822; a=rsa-sha256; cv=none; b=hh4IN/Ss/rIZF0VtiToJbrN4KiSsu6J0QB+NYn4G6Epl7M6q27CWoXtCT/xU5aOPSJbXsu EyP8APrt5fxxhBok1xJmofMgwQEl4rhHBiTopmwNLIl7KgqVpZtUHhOZVPz5Sk5jLykLyK xDnutssBlOvAESaPaLL50/DejBrzfkF34QVrWk//82dXGr6K5qQkKRSKk6Hw7KkP/O4LOG d5SjJsxVXbpWColzjdn6hEC/eljpV0wlITuwG041VEOUVeDV99jWa3WEZBrUkw0Y1gfy2O IsSFt54qv5cyl5C4oHNAx01dgdcjneB7NOeRnTq9D4OB9jwxhZWCNjw1eJ9zOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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" X-Migadu-Spam-Score: -2.10 Authentication-Results: aspmx1.migadu.com; dkim=none; 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" X-Migadu-Queue-Id: 657C3352C9 X-Spam-Score: -2.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: P1IfgM/fhZJQ * gnu/packages/python-xyz.scm (python-msgpack-transitional)[arguments]: Replace references to deprecated Python methods. --- gnu/packages/python-xyz.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bea33cbf05..40c9e30969 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10688,6 +10688,11 @@ (define-public python-msgpack-transitional (substitute* "setup.py" (("TRANSITIONAL = False") "TRANSITIONAL = 1")) + ;; This old version is not compatible with Python 3.9 + (substitute* '("test/test_buffer.py" "test/test_extension.py") + ((".tostring\\(") ".tobytes(")) + (substitute* '("test/test_buffer.py" "test/test_extension.py") + ((".fromstring\\(") ".frombytes(")) #t)))))))) (define-public python2-msgpack -- 2.34.0