From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 GMGMOkv232EohQEAgWs5BA (envelope-from ) for ; Thu, 13 Jan 2022 10:52:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MOPrN0v232FLNAEA9RJhRA (envelope-from ) for ; Thu, 13 Jan 2022 10:52:11 +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 7750C42B05 for ; Thu, 13 Jan 2022 10:52:11 +0100 (CET) Received: from localhost ([::1]:56276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7wmA-0008K3-KQ for larch@yhetil.org; Thu, 13 Jan 2022 04:52:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7wm2-0008Jc-0f for guix-patches@gnu.org; Thu, 13 Jan 2022 04:52:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39123) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7wm1-0002pJ-Nm for guix-patches@gnu.org; Thu, 13 Jan 2022 04:52:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n7wm1-0004XT-N4 for guix-patches@gnu.org; Thu, 13 Jan 2022 04:52:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53228] [PATCH 1/2] Revert "gnu: Remove python-msgpack-transitional." References: <20220113094529.2709-1-tanguy@bioneland.org> In-Reply-To: <20220113094529.2709-1-tanguy@bioneland.org> Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jan 2022 09:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53228 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53228@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 53228-submit@debbugs.gnu.org id=B53228.164206746617340 (code B ref 53228); Thu, 13 Jan 2022 09:52:01 +0000 Received: (at 53228) by debbugs.gnu.org; 13 Jan 2022 09:51:06 +0000 Received: from localhost ([127.0.0.1]:60254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7wl5-0004VT-4K for submit@debbugs.gnu.org; Thu, 13 Jan 2022 04:51:06 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:60741) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7wl0-0004Un-Os for 53228@debbugs.gnu.org; Thu, 13 Jan 2022 04:51:02 -0500 Received: (Authenticated sender: tanguy@bioneland.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id C7B122401D5; Thu, 13 Jan 2022 09:50:51 +0000 (UTC) From: Tanguy Le Carrour Date: Thu, 13 Jan 2022 10:50:33 +0100 Message-Id: <20220113095034.3849-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.34.0 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=1642067531; 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=erprdV31G5YZbSkw3XeKDdeZ+O2ZHAGVCwsEQhfFnsY=; b=PLMxAUPIJEV14+8hn4ZBVlTs2L4DdpzkwiOLxx2aYM0zSjQ/QTMcHpgwuXBzlBc6L9kwar WHcrNXcdP946wJ2+/K0Fk/rsxqq/ETLx6MyAA9i0ES3weIxAGd3R3Doou+iJwEX0P4Cuq0 OIvv7kjRJ3acGihLdrx9KjV8WYrFdkPQvaLRob6jX4tK1wkpS84+GN4ydD3qGUG72Kb/Rf aw2TLvk2XB34AAZxRmPhV0dSkQMZ3+sZwp/oJhLjUWovcv5+7bSjnL5BlVfnpf++cMmPSE zJJ1Pr+aKuUOFbvpkAai5mwOBMi0pbsziD1FvJwhHKU56A8vEacPJAZQA1uihg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642067531; a=rsa-sha256; cv=none; b=IS3wRyRQ/bBU1M0a+NUFszeG8ya9mA+XM603du7+0zB32OsJOKKh4fUhzBx+NPr8CkIuKk flX87jpEv1KVDCvE3yqgx3hRoOiqicXH+Yc2pFtAy+bNvEZqvKyQrjWmy+aCI32LFDotoD o576f7jxmRIb36OZXZqpOqalzMIQGAnjiBz0/1W/WEpHGMSFWALJTbguJ27xnaMup01qL5 clt0NKg8QUT/c1HDMdV1ySrqZ7jx7KzD0a01nva2tN8qcZl0iJe5OD5svqN+tyATVfDsfG LvFoK3xTWKNMsnF1shbqjS4CUHvQgDNgmDtfI34rriHloG4m8PoRvngrFY0mRw== 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: -1.72 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: 7750C42B05 X-Spam-Score: -1.72 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1eZKUdFM5ZW1 This reverts commit d5ae6739fdb4786c49d33de3fec9872c73d2e311. --- gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e53ba67cdc..66ec26d142 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10923,6 +10923,40 @@ (define-public python-msgpack (home-page "https://pypi.org/project/msgpack/") (license license:asl2.0))) +;; This msgpack library's name changed from "python-msgpack" to "msgpack" with +;; release 0.5. Some packages like borg still call it by the old name for now. +;; +(define-public python-msgpack-transitional + (package + (inherit python-msgpack) + (name "python-msgpack-transitional") + (version "0.5.6") + (source (origin + (method url-fetch) + (uri (pypi-uri "msgpack" version)) + (sha256 + (base32 + "1hz2dba1nvvn52afg34liijsm7kn65cmn06dl0xbwld6bb4cis0f")))) + (arguments + (substitute-keyword-arguments (package-arguments python-msgpack) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'configure-transitional + (lambda _ + ;; Keep using the old name. + (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 + (package-with-python2 python-msgpack)) + (define-public python-netaddr (package (name "python-netaddr") -- 2.34.0