From patchwork Thu Oct 21 04:01:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 33989 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 291CB27BBE4; Thu, 21 Oct 2021 05:07:24 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A091B27BBE3 for ; Thu, 21 Oct 2021 05:07:23 +0100 (BST) Received: from localhost ([::1]:44318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdPMQ-0006Ii-ME for patchwork@mira.cbaines.net; Thu, 21 Oct 2021 00:07:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdPJH-0003Ir-CL for guix-patches@gnu.org; Thu, 21 Oct 2021 00:04:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdPJH-0000NV-3p for guix-patches@gnu.org; Thu, 21 Oct 2021 00:04:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdPJG-0005fA-Vq for guix-patches@gnu.org; Thu, 21 Oct 2021 00:04:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH 19/29] gnu: python-websocket-client: Update to 0.59.0. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Oct 2021 04:04:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51314@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 51314-submit@debbugs.gnu.org id=B51314.163478903621628 (code B ref 51314); Thu, 21 Oct 2021 04:04:06 +0000 Received: (at 51314) by debbugs.gnu.org; 21 Oct 2021 04:03:56 +0000 Received: from localhost ([127.0.0.1]:55970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdPJ5-0005ch-Hi for submit@debbugs.gnu.org; Thu, 21 Oct 2021 00:03:55 -0400 Received: from mout01.posteo.de ([185.67.36.65]:46377) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdPJ3-0005cL-JJ for 51314@debbugs.gnu.org; Thu, 21 Oct 2021 00:03:54 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 084E024002B for <51314@debbugs.gnu.org>; Thu, 21 Oct 2021 06:03:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634789028; bh=xpB8pI7xwuzDPKSUVzHIiI2BOkbZPJt4+b9gw/RkIdo=; h=From:To:Cc:Subject:Date:From; b=jZCa7kTgi3edhb317KS4uXYdJJmkpJ7IbPP8ekSpToo/w1xjXKI+OmsoRJ+sTAwM2 prCn+/gDnO4lYLlfS4DhZ/yC3rcpOAUBbl3TuTb6Yo1yXVcsDSkODOnBeCffkpwYya WouEIv+PFmc8Usz3V72V/xEBUnZmg9fPrOj2yDR1pFaiY4/aJTHxGUyDftNjTA7hE/ /VCsqNIu/cebvA67tM2H38Ddc9bBS/eCp+J4DNM0Fi88YSnigH66X45/hyKW7MBNby CdxK/C3q5vSgguzOwK6tjAlevdjb2hgkNokZab1cGyMGeIYWBDOGoJgxeMkojHD7/y 2PzmRVTFvMkOQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HZYkW16CFz9rxM; Thu, 21 Oct 2021 06:03:46 +0200 (CEST) From: Vinicius Monego Date: Thu, 21 Oct 2021 04:01:50 +0000 Message-Id: <20211021040200.241873-15-monego@posteo.net> In-Reply-To: <20211021040200.241873-1-monego@posteo.net> References: <20211021040200.241873-1-monego@posteo.net> 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-websocket-client): Update to 0.59.0. [source]: Update PyPI URI. [arguments]<#:phases>: Add new phase after 'unpack to skip a network test. [native-inputs]: Add python-pysocks. [home-page]: Follow redirect. --- gnu/packages/python-web.scm | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 24e6bc063e..5d2464bbef 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2469,18 +2469,28 @@ verification of the SSL peer.") (define-public python-websocket-client (package (name "python-websocket-client") - (version "0.54.0") + (version "0.59.0") (source (origin (method url-fetch) - (uri (pypi-uri "websocket_client" version)) + (uri (pypi-uri "websocket-client" version)) (sha256 (base32 - "0j88zmikaypf38lvpkf4aaxrjp9j07dmy5ghj7kli0fv3p4n45g5")))) + "0p0cz2mdissq7iw1n7jrmsfir0jfmgs1dvnpnrx477ffx9hbsxnk")))) (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'skip-network-test + (lambda _ + ;; This test requires networking. + (substitute* "websocket/tests/test_http.py" + (("def testConnect") "def _testConnect"))))))) + (native-inputs + `(("python-pysocks" ,python-pysocks))) (propagated-inputs `(("python-six" ,python-six))) - (home-page "https://github.com/liris/websocket-client") + (home-page "https://github.com/websocket-client/websocket-client") (synopsis "WebSocket client for Python") (description "The Websocket-client module provides the low level APIs for WebSocket usage in Python programs.")