From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4ea1::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WNCuGRRny2HHBgAAgWs5BA (envelope-from ) for ; Tue, 28 Dec 2021 20:35:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EAOOExRny2GyBwAAG6o9tA (envelope-from ) for ; Tue, 28 Dec 2021 20:35:48 +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 F05733DBA6 for ; Tue, 28 Dec 2021 20:35:47 +0100 (CET) Received: from localhost ([::1]:59602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2IG9-0002PM-Hj for larch@yhetil.org; Tue, 28 Dec 2021 14:35:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47706) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2IFS-0002O4-Bm for guix-patches@gnu.org; Tue, 28 Dec 2021 14:35:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35925) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2IFS-0003aR-2j for guix-patches@gnu.org; Tue, 28 Dec 2021 14:35:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2IFS-0002jT-0q for guix-patches@gnu.org; Tue, 28 Dec 2021 14:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52857] [PATCH 2/3] gnu: python-hy: Update to 0.20.0. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Dec 2021 19:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52857 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52857@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 52857-submit@debbugs.gnu.org id=B52857.164072005010425 (code B ref 52857); Tue, 28 Dec 2021 19:35:01 +0000 Received: (at 52857) by debbugs.gnu.org; 28 Dec 2021 19:34:10 +0000 Received: from localhost ([127.0.0.1]:47467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2IEc-0002i4-Bp for submit@debbugs.gnu.org; Tue, 28 Dec 2021 14:34:10 -0500 Received: from mout02.posteo.de ([185.67.36.66]:52051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2IEa-0002hc-T7 for 52857@debbugs.gnu.org; Tue, 28 Dec 2021 14:34:09 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 486FE240107 for <52857@debbugs.gnu.org>; Tue, 28 Dec 2021 20:34:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1640720043; bh=FvhipQ1qU5z75LIBsFlEAqChVMB8vZ826dFQ6GPEcs8=; h=From:To:Cc:Subject:Date:From; b=BIsMWdnMqlLy8Nt0+SfkvT/bm/OkJ96Bo5d+zabMhG4tWUDMgvu3Xz41xnDVbiFOf 78Y47AwJCe1WPdi9eJo6X0dQN/yb1desGCPVmx/xwZP9OCFiUZCyMuZD6D25F9cXkZ Ho35jC9y5sybFL2BemegUONjc+/sadCvprNytCIal6rjIp5Qr+q8wlHpZqOYLpSIB2 7B9FbTpt20Ke6r51iBaJk/isXMlkM2m6zLZxOJWmQSsl5X2zTwfJie3Pd3eG0rXLyP pLrUPwXfI4CaerFeyJbp/qYVe1Zq8CuHLUw13A28ejSVZn3cHaiwGaBBO/Jek1p1l3 oR97mpkZ1c2iQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JNl8V3Z95z6tm6; Tue, 28 Dec 2021 20:34:02 +0100 (CET) From: Vinicius Monego Date: Tue, 28 Dec 2021 19:33:34 +0000 Message-Id: <20211228193335.74580-2-monego@posteo.net> In-Reply-To: <20211228193335.74580-1-monego@posteo.net> References: <20211228193335.74580-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=1640720148; 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=QiXzIpmQs2foDQ3sEw1Ec2l6a3RNnCHI2a36TVkgPn8=; b=Hk987b0K0QEMJY4N14Fv2I2lbzpo4MFJx+hY0++qIWSpIrgqmU3aq4MAddO2X5z0NYTZKE 3z8GEs2Wcoveo52VrU19vKwP71TyKhYc0CKBISGG8SemdzBuRfqRLErv/nVLIaybvG3AmS Ljp+3j5hUn7Nv3wTAINTEL3sMjH8umD67SmGGYQP1UqXPtcm3x9nzQXxAxWwHAaA5lxwfc y5ITFpBiG4JYDO/kLHIiU5IU2+kQYD2m8MPToIBnZlVnfTPrLBQrtgRboUlHGnpOWio6ah jH3t44zzokgd+dQq5F3T4QHqCQR5DynlL192wTqDOawGAXOAEwqMp+arc73iqg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640720148; a=rsa-sha256; cv=none; b=NhiQ+ou4u46565WRVKJTyuU5ndEs5vhedkzGX1PZpblW1sZqkk1gHdzGxJD8gt80j16qwx bD6w8pssqOkYE4uFYfhBjUBnI8PNJTA5yInRgj4rezT8geiEjlmW8zrMsdaFrgi4d8XQ1z DXugrWzczNcLRhffi/Wgp7woweHMO0je92yFM99pXPrlK7yPQaE/mFoZPGUZO2vkW0KSgP exh5mWCatpAtKA5/qLzlWrcXjZS2su8yXwf8KW5H/Ff9es/PD/Jsm08lfJR6YREpsdQusJ tbXw5SiLstDpfJZSVHBRcx1IF7IGsgiQ8FEAmBC4CMQ38hYcOOp3QrriHhiyZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=BIsMWdnM; 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: -1.77 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=BIsMWdnM; 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: F05733DBA6 X-Spam-Score: -1.77 X-Migadu-Scanner: scn0.migadu.com X-TUID: y5WYuzdGvp7Y * gnu/packages/python-xyz.scm (python-hy): Update to 0.20.0. [source]: Fetch from GitHub. [arguments]<#:phases>: Remove 'set-HOME phase. Replace nosetests command with pytest in the custom 'check phase and skip failed tests. [native-inputs]: Remove python-coverage, python-nose. Add python-pytest. [propagated-inputs]: Order alphabetically. [home-page]: Follow redirection. --- gnu/packages/python-xyz.scm | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d7b6ad76b4..9b651d2108 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13007,30 +13007,32 @@ with a new public API, and RPython support.") (define-public python-hy (package (name "python-hy") - (version "0.18.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "hy" version)) - (sha256 - (base32 - "04dfwm336gw61fmgwikvh0cnxk682p19b4w555wl5d7mlym4rwj2")))) + (version "0.20.0") + (source + (origin + (method git-fetch) ; no tests in PyPI release + (uri (git-reference + (url "https://github.com/hylang/hy") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1g7djra9z7b0wyqyfrk2n4z3zamp2xkahv00jwdv35xmwwn09hq4")))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases - (add-before 'install 'set-HOME - (lambda _ - (setenv "HOME" "/tmp") #t)) (replace 'check (lambda _ - ;; Tests require write access to HOME. - (setenv "HOME" "/tmp") - (invoke "nosetests")))))) + (invoke "python" "-m" "pytest" "-k" + (string-append ; skip some failed tests + "not test_bin_hy_sys_executable" + " and not test_bin_hy_circular_macro_require" + " and not test_macro_from_module"))))))) (native-inputs - (list python-coverage python-nose)) + (list python-pytest)) (propagated-inputs - (list python-astor python-colorama python-rply python-funcparserlib)) - (home-page "http://hylang.org/") + (list python-astor python-colorama python-funcparserlib python-rply)) + (home-page "https://docs.hylang.org/en/stable/") (synopsis "Lisp frontend to Python") (description "Hy is a dialect of Lisp that's embedded in Python. Since Hy transforms -- 2.30.2