From patchwork Wed Jun 7 17:29:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Miguel_=C3=81ngel_Moreno?= X-Patchwork-Id: 50750 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 336F927BBEA; Wed, 7 Jun 2023 18:31:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 73CFE27BBE2 for ; Wed, 7 Jun 2023 18:31:16 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6wzv-00033h-Tw; Wed, 07 Jun 2023 13:31:03 -0400 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 1q6wzu-00033N-Kz for guix-patches@gnu.org; Wed, 07 Jun 2023 13:31:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6wzu-0001Hv-Bv for guix-patches@gnu.org; Wed, 07 Jun 2023 13:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6wzu-0008ET-7L for guix-patches@gnu.org; Wed, 07 Jun 2023 13:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62389] [PATCH v2 2/6] gnu: python-twisted: Update to 22.10.0. Resent-From: Miguel =?utf-8?b?w4FuZ2Vs?= Moreno Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 07 Jun 2023 17:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62389 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62389@debbugs.gnu.org Cc: me@mianmoreno.com Received: via spool by 62389-submit@debbugs.gnu.org id=B62389.168615900731505 (code B ref 62389); Wed, 07 Jun 2023 17:31:02 +0000 Received: (at 62389) by debbugs.gnu.org; 7 Jun 2023 17:30:07 +0000 Received: from localhost ([127.0.0.1]:54645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6wz1-0008C3-CF for submit@debbugs.gnu.org; Wed, 07 Jun 2023 13:30:07 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:64977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6wyy-0008Aw-5s for 62389@debbugs.gnu.org; Wed, 07 Jun 2023 13:30:05 -0400 X-GND-Sasl: me@mianmoreno.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mianmoreno.com; s=gm1; t=1686158998; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6e8pjVSz7CW2RSrxR78Ry2a+UqcVIV//RYRKK2W1pbU=; b=Aa/PYvOeZhT3139aazlD3nMVF7IvnOLa3Qa98oILU8+IhPmRGAFUFwXeXnYfyERK1ESTPA nkdAbkqoMBK+HB5TvZawJkkkmNzwlTFp8xjT/E65a08vnIphEkWTL8mznL/v3bTUvFK/k+ sjS8M2ejZ7chR59Vr3ZIhnDzuRYSiZ4Qw0HoGD0rUGDqreug7RJ3Zx/Ex3/jiyOzxhYqx3 joqDNMHMsW8DUftwA0/Ln0GWJpvmTOo4d0CUHLKyV5v9g/cv/U0z7i/dzG93TC9K5pVVj/ AYW8bd4NlK4XRbDekSv1CGI7OUblbNW5RghKLEwrTmUu3E2o1TwjjkKfp06mNw== X-GND-Sasl: me@mianmoreno.com Received: by mail.gandi.net (Postfix) with ESMTPSA id D2C7640003; Wed, 7 Jun 2023 17:29:57 +0000 (UTC) From: Miguel =?utf-8?b?w4FuZ2Vs?= Moreno In-Reply-To: <9ddbe6448696df3082e02a2b7e3dbe5ae57bdd81.1686158920.git.me@mianmoreno.com> References: <9ddbe6448696df3082e02a2b7e3dbe5ae57bdd81.1686158920.git.me@mianmoreno.com> Message-Id: <5eb3a1e70596428bfda2097192b1b48b357dac88.1686158920.git.me@mianmoreno.com> Date: Wed, 07 Jun 2023 19:29:56 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-twisted): Update to 22.10.0. [arguments]: Disable tests and add phases. [inputs]: Add python's tk output as a dependency. [native-inputs]: Add Python dependencies. --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 29166b5887..e08a30e136 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18062,30 +18062,37 @@ (define-public python-fastimport (define-public python-twisted (package (name "python-twisted") - (version "19.7.0") + (version "22.10.0") (source (origin (method url-fetch) - (uri (pypi-uri "Twisted" version ".tar.bz2")) + (uri (pypi-uri "Twisted" version ".tar.gz")) (sha256 (base32 - "17d3hnxv9qndagzz63mdpyk99xj63p9gq586vjn0rxk8cl197nym")))) + "0cad5n7h8nd0nyl865sn8l4ja0mkwbx9n41cnkklcpsgm50bvb1j")))) (build-system python-build-system) (arguments - '(#:tests? #f ; FIXME: some tests fail - #:phases - (modify-phases %standard-phases - ;; Remove scripts, because they depend on [conch] - (add-after 'unpack 'remove-entrypoint - (lambda _ - (substitute* "src/twisted/python/_setup.py" - (("\".+ = twisted\\.conch\\.scripts\\..+\",") ""))))))) + (list + #:tests? #f ; FIXME: some tests fail + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'adjust-for-older-attrs + (lambda _ + (substitute* (find-files "." "\\.py$") + (("from attrs\\b") + "from attr"))))))) + (inputs (list (list python "tk"))) + (native-inputs (list python-wheel)) (propagated-inputs (list python-zope-interface python-pyhamcrest python-incremental python-hyperlink python-constantly - python-automat)) + python-automat + python-typing-extensions + python-bcrypt + python-cryptography + python-pyasn1)) (home-page "https://twistedmatrix.com/") (synopsis "Asynchronous networking framework written in Python") (description