From patchwork Sat Nov 13 20:02:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 34450 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 EA72027BBE3; Sat, 13 Nov 2021 20:07:04 +0000 (GMT) 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 81FAE27BBE1 for ; Sat, 13 Nov 2021 20:07:04 +0000 (GMT) Received: from localhost ([::1]:43776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlzIl-0000RG-NB for patchwork@mira.cbaines.net; Sat, 13 Nov 2021 15:07:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlzGp-00062A-3T for guix-patches@gnu.org; Sat, 13 Nov 2021 15:05:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlzGo-0008B9-RC for guix-patches@gnu.org; Sat, 13 Nov 2021 15:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlzGo-0001On-M3 for guix-patches@gnu.org; Sat, 13 Nov 2021 15:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH v2 18/24] gnu: python-zeroconf: Update to 0.36.13. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Nov 2021 20:05:02 +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.16368338555228 (code B ref 51314); Sat, 13 Nov 2021 20:05:02 +0000 Received: (at 51314) by debbugs.gnu.org; 13 Nov 2021 20:04:15 +0000 Received: from localhost ([127.0.0.1]:48227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlzG2-0001MG-RE for submit@debbugs.gnu.org; Sat, 13 Nov 2021 15:04:15 -0500 Received: from mout01.posteo.de ([185.67.36.65]:46577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlzG0-0001LV-WE for 51314@debbugs.gnu.org; Sat, 13 Nov 2021 15:04:13 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 727AE240028 for <51314@debbugs.gnu.org>; Sat, 13 Nov 2021 21:04:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1636833847; bh=6X2ttmeGWXJfCsC6AtOz/n3PWV4izHCMKtwJX/gVBak=; h=From:To:Cc:Subject:Date:From; b=IUxwFlA5geDiy7cPVMzPIZgt9rBJB5aivMg7vDWOrgc548q0+EFgN9Np8H0Rb7eXP taV5SFW+Fdh7OJ/ZQ5ZPcteykKmR5SI4VsQFeFEd8GcORfvHPUD3eOAeSigtiSKSBt j++zsAy5aPEtSgRm+/uacc8vU+1VRYaAzY+KwZiZHF1+U2bG1GEZmQfJ7OocAYo1bh AJWnjgIOMH4xBF5sj1ptnsm8EmYSsFDqjsHBjEVC2F/gJ043KnljvcFU8KG+tJHzXZ yzVqg3plDBoJ/1J0xckK4Zc0R//MAVPpIcFFJgYfr4NDHdx5WX1E8KxRIAPxM7aJjv 1y0X7CdGZwrtw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Hs5xy3YbLz9rxD; Sat, 13 Nov 2021 21:04:06 +0100 (CET) From: Vinicius Monego Date: Sat, 13 Nov 2021 20:02:24 +0000 Message-Id: <20211113200230.192559-18-monego@posteo.net> In-Reply-To: <20211113200230.192559-1-monego@posteo.net> References: <20211113200230.192559-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-xyz.scm (python-zeroconf): Update to 0.36.13. [source]: Fetch from GitHub. [native-inputs]: Remove python-nose. Add python-pytest. [arguments]<#:phases>: Adjust custom 'check phase to use Pytest. --- gnu/packages/python-xyz.scm | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 63325dfc90..b3990a6115 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23449,34 +23449,40 @@ enumeration library in Python.") (define-public python-zeroconf (package (name "python-zeroconf") - (version "0.28.8") + (version "0.36.13") (source (origin - (method url-fetch) - (uri (pypi-uri "zeroconf" version)) + (method git-fetch) ; no tests in PyPI release + (uri (git-reference + (url "https://github.com/jstasiak/python-zeroconf") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "0narq8haa3b375vfblbyil77n8bw0wxqnanl91pl0wwwm884mqjb")))) + (base32 "1isz6jb14lmmqvzfgwkc8avyvib7pxpq92r2v283vjqjn7mmp0v9")))) (build-system python-build-system) (native-inputs - `(("python-nose" ,python-nose))) + `(("python-pytest" ,python-pytest))) (propagated-inputs `(("python-ifaddr" ,python-ifaddr))) (arguments `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ ;; Networking isn't available for these tests. - (invoke "nosetests" "-v" - "--exclude" "test_integration_with_listener_ipv6" - "--exclude" "test_launch_and_close_v6_only" - "--exclude" "test_launch_and_close_v4_v6" - "--exclude" "test_launch_and_close")))))) + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest" "-k" + (string-append + ;; Networking isn't available for these tests. + "not test_integration_with_listener_ipv6" + " and not test_launch_and_close_v4_v6" + " and not test_launch_and_close_context_manager" + " and not test_launch_and_close" + " and not test_close_multiple_times")))))))) (home-page "https://github.com/jstasiak/python-zeroconf") (synopsis "Pure Python mDNS service discovery") - (description - "Pure Python multicast DNS (mDNS) service discovery library (Bonjour/Avahi -compatible).") + (description "Pure Python multicast DNS (mDNS) service discovery library +(Bonjour/Avahi compatible).") (license license:lgpl2.1+))) (define-public python2-zeroconf