From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:f42::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WAubMz9NymFOdgAAgWs5BA (envelope-from ) for ; Tue, 28 Dec 2021 00:33:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uIuVMD9NymGHNQEAauVa8A (envelope-from ) for ; Tue, 28 Dec 2021 00:33:19 +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 9C06425751 for ; Tue, 28 Dec 2021 00:33:19 +0100 (CET) Received: from localhost ([::1]:37428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1zUU-0001Wl-Mr for larch@yhetil.org; Mon, 27 Dec 2021 18:33:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1zUI-0001UO-Dt for guix-patches@gnu.org; Mon, 27 Dec 2021 18:33:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33085) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1zUI-0001gX-1O for guix-patches@gnu.org; Mon, 27 Dec 2021 18:33:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1zUH-0000vU-VO for guix-patches@gnu.org; Mon, 27 Dec 2021 18:33:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH v3 15/21] gnu: python-zeroconf: Update to 0.38.1. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Dec 2021 23:33:05 +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.16406479603394 (code B ref 51314); Mon, 27 Dec 2021 23:33:05 +0000 Received: (at 51314) by debbugs.gnu.org; 27 Dec 2021 23:32:40 +0000 Received: from localhost ([127.0.0.1]:44607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1zTr-0000sa-Hp for submit@debbugs.gnu.org; Mon, 27 Dec 2021 18:32:39 -0500 Received: from mout01.posteo.de ([185.67.36.65]:47763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1zTn-0000rq-3p for 51314@debbugs.gnu.org; Mon, 27 Dec 2021 18:32:35 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 86A9B240026 for <51314@debbugs.gnu.org>; Tue, 28 Dec 2021 00:32:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1640647949; bh=qx9LmYmWVNLuSJUAWsSiXMF0fnniBj+RdL13AqctyLw=; h=From:To:Cc:Subject:Date:From; b=bbAQJQt8+ICVXhdpq0iu1Tg/k2ocQ+pfr+Yo4zUr3UE8BNQJd3Q46xfvIOJrEk1Wr mBn+Wwsy78dtjfp014fbwr6oH7GNdzbN2P42ZqFl/BEKdg8xrCceUlIiWTDmPoC9sH lUzlcg7yXfncUlOspp/Y1TDAn9PK94Mo2G0CTFJIJg6VOlFFGDA2737KF88ngVW+e3 GgzfT8DqR4XNsUx2Ng8SyUSCnezNX/hZ8LXx140JiHZIF+uB/S3wwvqb5FhvIhwkN1 rL0kBDv6lwdkovYwDW00iOoGjpvc6hP5ZMPoUwV8lWxoFJFvixMIhnZDrN5b8laX2X cFzJ9x0fRGxSQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JNDV44dMgz6tm9; Tue, 28 Dec 2021 00:32:28 +0100 (CET) From: Vinicius Monego Date: Mon, 27 Dec 2021 23:30:38 +0000 Message-Id: <20211227233044.26475-16-monego@posteo.net> In-Reply-To: <20211227233044.26475-1-monego@posteo.net> References: <20211227233044.26475-1-monego@posteo.net> 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=1640647999; 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:dkim-signature; bh=AOubo2Jko57QOjVzWO23h1/1r9hsxU+x5XUs/1666OI=; b=YbH3dFtlyTT1gRBYwnJrre31y0ql9tLfCGK5FwKc7/3Ch4BPvbdTFXeHkJTRNnQWugVPnn uThsQUo2M19kt1AkOzIfBxgh87aYMcFnHOOJ7XxZWiN/chA4S85ytVk0+GmBJQsJamOu9P vjts/Zn7DCRZP35XP3hU6/hOCf01GttyN5bsHcuPT4DBM+NKK3a/xTyqcGS6TgVEAUvHCz HTlt96Zjq/SpzdbueofavLHZJGE8Mj4b1q6HtQ1+iTjX+Qm9ldj2W8KS7QottwcXW/hac0 Z6qKUqjnbO+buKrgL8gZJ1RLiFSlIu53MQ3QegCohIs4wVV6tRdkJoE30OCS5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640647999; a=rsa-sha256; cv=none; b=nYSIYOiejZdQcFttkw1QXQipf+EabfK33F/3kGsIrPOQi8uOWPsbXnQd8qPrf4RIqYyt0K 9Za9e377yVbZsAmGVnFTfUNRJ1l5I2e2iDmXdTFM5SUprqfgow2F4cXRzWvvYPtVbsINQK OJzkThZ9IBybS/18PYiU7q+B5wvRniMWKLFDB2evEusJluNItgZ7dg/lcFc6jmPUwuk2BY XL+QTmtUQAz7h/eyuxqSANWgaPEG4kuY/n+hOxCyIGjib4JGxFj0OBgJka0r28LG2BSjE8 iAcPtQw0XdjxNl5p4FCe8zogjM5pVu7n3hFNQDAQr1MMj28S6Me5r9M4mJ4sSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=bbAQJQt8; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: -0.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=bbAQJQt8; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: 9C06425751 X-Spam-Score: -0.67 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZamCHmmqhakq * gnu/packages/python-xyz.scm (python-zeroconf): Update to 0.38.1. [source]: Fetch from GitHub. [native-inputs]: Remove python-nose. Add python-pytest. [arguments]<#:phases>: Adjust custom 'check phase to use Pytest. [description]: Don't break line. --- gnu/packages/python-xyz.scm | 42 +++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e0a61329b2..b7f1e54aca 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23300,34 +23300,40 @@ enumeration library in Python.") (define-public python-zeroconf (package (name "python-zeroconf") - (version "0.28.8") + (version "0.38.1") (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 "1p1a0ywlg5sq0ilcphmz9h4kayscz0q1lyfk57j7mwxyx4gl9cpi")))) (build-system python-build-system) - (native-inputs - (list python-nose)) - (propagated-inputs - (list 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")))))))) + (native-inputs + (list python-pytest)) + (propagated-inputs + (list python-ifaddr)) (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 -- 2.30.2