From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 1CpeBjTncGGK1gAAgWs5BA (envelope-from ) for ; Thu, 21 Oct 2021 06:06:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sEJ1ATTncGEMNgAAB5/wlQ (envelope-from ) for ; Thu, 21 Oct 2021 04:06:12 +0000 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 D44D92E08B for ; Thu, 21 Oct 2021 06:06:11 +0200 (CEST) Received: from localhost ([::1]:42294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdPLG-0004mO-U7 for larch@yhetil.org; Thu, 21 Oct 2021 00:06:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdPKA-0004jC-Va for guix-patches@gnu.org; Thu, 21 Oct 2021 00:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdPKA-0001hO-Lm for guix-patches@gnu.org; Thu, 21 Oct 2021 00:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdPKA-0005iV-HO for guix-patches@gnu.org; Thu, 21 Oct 2021 00:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51314] [PATCH 23/29] gnu: python-zeroconf: Update to 0.33.4. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Oct 2021 04: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.163478905221836 (code B ref 51314); Thu, 21 Oct 2021 04:05:02 +0000 Received: (at 51314) by debbugs.gnu.org; 21 Oct 2021 04:04:12 +0000 Received: from localhost ([127.0.0.1]:55999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdPJM-0005g8-Jc for submit@debbugs.gnu.org; Thu, 21 Oct 2021 00:04:12 -0400 Received: from mout01.posteo.de ([185.67.36.65]:36909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdPJK-0005eT-5j for 51314@debbugs.gnu.org; Thu, 21 Oct 2021 00:04:11 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 964D0240026 for <51314@debbugs.gnu.org>; Thu, 21 Oct 2021 06:04:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634789044; bh=hP6Pxz4qUNVyHvYRE/EJJksZVbzXma7chxsFdo7ibBE=; h=From:To:Cc:Subject:Date:From; b=MZyibFX7/Sbpb1vqGg4xowg1bR7WQtIIaZaJ/AHT8BbcPMBoQgWxN9U5Rim+kdeeP szxgV3IKHx22YXzbodm9TIK2czez+Kg5Px2bp7Hgd1aebwNEXmbQoCPDURmXfApBAC E2T42Sht1DZT3lRdnEYg0f1jhS1/i6lYioMWfrnTCv/cXisnmT0f000lsARB4csVNS usGCVw51TKS8YU5HMpDa7dv8t3XQZcrs+sJsuLxD8nvJXPYi8PLns/2x1BdHeLi8s+ LuVjVe+aoEJUBe+Au7v0cV1Fj2fu2UBYqJwMeqHoRCXZzd9VG/xJVJRvsUklM4dDHv CVV1p6AWwhyTg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HZYkq55jhz6tm6; Thu, 21 Oct 2021 06:04:03 +0200 (CEST) From: Vinicius Monego Date: Thu, 21 Oct 2021 04:01:54 +0000 Message-Id: <20211021040200.241873-19-monego@posteo.net> In-Reply-To: <20211021040200.241873-1-monego@posteo.net> References: <20211021040200.241873-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634789171; 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=2lAKekjvFlXONPavqMDZaB8CxGj/mDrQVM0tCkmwZR8=; b=G2lzqp5wDBdk1vUzZa7IRCq2rTQ84AOij8/GfVA+ejKS8ze5WffFt1xA0zc3nJ3DeqHNrw 1d0hq4fuUYk32pjgVjrsHe8SAJAU+vtlLK+PIk8ZiOc5qiRU6TdYFNb8/nSVOXa53x+KcE sg+8jKGVf/BvMkqWuvu42DgfHPBM/H/eurXOT/fKX9FnhToAbkpVVF/LDVhCBi8egTfcGm hN+mAcLnOqpFADZLJeXulsiXvD7qQm7YE91YMqv1DQBDG/o84jzG367FNq+DKxTD07n+Da //IUDl4H8Xb1+La5AtAzWCZbej8rAf03EdI7kn9Qjj2BG+I8Qo/7nnylJ6PNmw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634789171; a=rsa-sha256; cv=none; b=EEcf+qntLRwsfs58h9jvQau2lhA6j9fgpnOQup/1wOclZSVOtK1SPE4XVxmKcpG/G5ZDlY Rv0szhM2jZrZRAYyXnMzuKv24/kkp+WXX0dd+dy11one/CLiGJFM7NgndsoO+KF9lMbvS4 qu9AeDBvt+f8ANcPCg9T22TL6QydlmpnaodHn1EWVoHwHNiZNKVxdI44iZnm+v85Mts0Tx CJ3F0xJJnai9dwgIPpXN7Yu8kGGzpp+XUhkj2D0kgKKiGvMdbdby9T7kO9n3kvR/RylGTP iS0P4uI+4Pblv/IFYrgiKfln2E6biWbVxwRr3dZ2UYdbo3BOXzyNIh6VusqInw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=MZyibFX7; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=MZyibFX7; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D44D92E08B X-Spam-Score: 3.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: QTocrwj4yR36 * gnu/packages/python-xyz.scm (python-zeroconf): Update to 0.33.4. [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 | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 115e013490..c81d8b306f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23399,29 +23399,36 @@ enumeration library in Python.") (define-public python-zeroconf (package (name "python-zeroconf") - (version "0.28.8") + (version "0.33.4") (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 "01bv6xrhf5i7gckg3q53i249zxmhkkr65yib6par8z5risihrpwm")))) (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 -- 2.30.2