From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ELowKGUiZmJeQgAAbAwnHQ (envelope-from ) for ; Mon, 25 Apr 2022 06:24:05 +0200 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 SAo2J2UiZmLkOgEAG6o9tA (envelope-from ) for ; Mon, 25 Apr 2022 06:24:05 +0200 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 3588E3991F for ; Mon, 25 Apr 2022 06:24:05 +0200 (CEST) Received: from localhost ([::1]:47594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niqGW-0003Sa-Hy for larch@yhetil.org; Mon, 25 Apr 2022 00:24:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nipvh-00081h-Tb for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:31 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nipvg-0001pA-SW for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nipvg-0008Hz-Pm for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:28 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55104] [PATCH 095/232] gnu: python-trio: Update to 0.20.0. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 04:02:28 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55104 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55104@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 55104-submit@debbugs.gnu.org id=B55104.165085934531801 (code B ref 55104); Mon, 25 Apr 2022 04:02:28 +0000 Received: (at 55104) by debbugs.gnu.org; 25 Apr 2022 04:02:25 +0000 Received: from localhost ([127.0.0.1]:60947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipvc-0008Gg-W1 for submit@debbugs.gnu.org; Mon, 25 Apr 2022 00:02:25 -0400 Received: from mail-qt1-f171.google.com ([209.85.160.171]:46617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipuD-0007us-Dq for 55104@debbugs.gnu.org; Mon, 25 Apr 2022 00:00:58 -0400 Received: by mail-qt1-f171.google.com with SMTP id f22so9547084qtp.13 for <55104@debbugs.gnu.org>; Sun, 24 Apr 2022 21:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aBBIEkGgfppy2lp8hRO8fCTr7TtxQPffA4U4sTG5qho=; b=TorPnilbny5LjqcLsjunBbtxPwFVbMuR+Cz42nfQ6sOWpLyWv/G+FseXQQKqwKK9Nm h88/FHpucgVypIoFMIlZOMEx+OFTV3H789kHxPe9OnRo8asMc66bliJujyp6K7P1/rAx VoVocuzVFtrtMP99/+JuwnYsk86XPM1prdeam87eHxgu5reQHPB0ozzOUfJaIpeITUM4 6ruSW5Fl+sl2mQz0DZBLbMdOFFDI9AMyn21ifP1V1eAHFubgrmwYh1aYi6loestl3Yii eo/si4pEiX+66iKgtoLBfSR3mE3tmX8OUNkqgt1fBBG4KuMbo9e4UqTNycNoTPe0DAyb DQ3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aBBIEkGgfppy2lp8hRO8fCTr7TtxQPffA4U4sTG5qho=; b=7XQkxU/ekDZXlGHMX6vNFnnOBtnrk4HEtVT2En1sEA+qDwu0XcnmMEMPW73h8PiNDU VG3dj9HxNB/+ExGecd78vzi8VRmPZFxFxF68AiHrbDNPoS9ckb/usInJRI5C9g0i2635 SWELVzonl/3oN10o8Ft0dGmYSPK0kJUF6z5mK225meAYE3ZtZsRKXlpQAB8vhp4Ioobc NiuS8kS+UPZ2KbhdrTRhkWLC4QBwq99EUAowSQIfREg7DHfr6DXmBugXkxvOyb8oYKhU ow8ZRThMwX1m1LUOkp5MrGK48hO7+yUJKQn/4nUMpC5FKcndwRNudMblkiAOfXAqC8cQ RHwA== X-Gm-Message-State: AOAM53345FZh+s2xWT87xS9Ag6wsJ72Fwq1HdfAyC9rAKWmUHwKO0pxb sUF5JpJAF0DL3DmMTBwnmP+IyQF8cxuzYA== X-Google-Smtp-Source: ABdhPJxfvBF8bXlDj4eH1PNLt0YkzW/Il7ZcsaeYOHcNUM/oerc9LaFCYiHTVdv1MA139d7uC/W1Qg== X-Received: by 2002:a05:622a:138f:b0:2f3:4477:980b with SMTP id o15-20020a05622a138f00b002f34477980bmr10571846qtk.475.1650859251753; Sun, 24 Apr 2022 21:00:51 -0700 (PDT) Received: from localhost.localdomain (dsl-150-232.b2b2c.ca. [66.158.150.232]) by smtp.gmail.com with ESMTPSA id w82-20020a376255000000b0069ee3f0ae63sm4478142qkb.45.2022.04.24.21.00.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 21:00:51 -0700 (PDT) From: Maxim Cournoyer Date: Sun, 24 Apr 2022 23:57:01 -0400 Message-Id: <20220425035918.25683-95-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220425035918.25683-1-maxim.cournoyer@gmail.com> References: <20220425035918.25683-1-maxim.cournoyer@gmail.com> 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650860645; 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=aBBIEkGgfppy2lp8hRO8fCTr7TtxQPffA4U4sTG5qho=; b=BkoqhRy121q6b6c+eTt1j7x8eOJ5GsAfY77VZa6AQPmuIc90QLAg6b4+6j8tEeIzANuQAE C0AQbtqgTWjC8uC0QXJm46XyEaosxGYrqgeF6fCCcld0sjzqau8loCxLA6BKq2A7zABaQq YYw/pfGOZo7PX6gzveIqcB0wkQBk2OLaPdeF1gDUoQCDemMq6WogGV96Rf05MBms4jNukk cW3CxksiCCM+VvBNvfZmTC1hMHd7ZgoqyFE8hepaId6mMh9KPvsrPwsroli9W+r0B0fEPE I7T/gbqc2ruoH1ZJHVzfogubo+IoAkLm3PSe1aR14YkVWY7qlnHGq01ijnlIiw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650860645; a=rsa-sha256; cv=none; b=kx9nSInQjssmtprs/eBgGpCJsfah/QcwCCvTvfqOoCaMbq7DbguYbE3eZhnH8Kz9t6yMTG vT4DlKXBFG30DeaNDF4/n8COMGCUAA82ijDQ9H/0J+h6ZN+YoHBMoQd3RLNO1csVIcwkng Kf5ycj5kR25bwiyFpAJyBJYU3unzf2zwR+hneP9lyHgFIM2raNoyZtO6dIr60ghgvd8jwR lRW+XTaTQJ+qvHIHWc7x7xArNGKbgtfdE5piuL4lgmHHKtMIkthjkH5l3F+Ctla7hQMAvK L93XYy8nSOwzy0oZ5SwxBbglz9FR0id4Nbqa0AUCsutnjupusVKJGMs8hpuezA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=TorPnilb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 7.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=TorPnilb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 3588E3991F X-Spam-Score: 7.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: I6zk3BMoZI8j * gnu/packages/python-xyz.scm (python-trio): Update to 0.20.0. [phases]{patch-sleep}: New phase. [change-home]: Delete trailing #t. {check}: Run tests in parallel. Disable the test_cancel_scope_exit_doesnt_create_cyclic_garbage, test_ipython_exc_handler, test_for_leaking_fds and test_static_tool_sees_all_symbols tests. [native-inputs]: Add python-pytest-xdist. --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 96a04009bc..d987c9cbcd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -24380,26 +24380,32 @@ (define-public python-outcome (define-public python-trio (package (name "python-trio") - (version "0.19.0") + (version "0.20.0") (source (origin (method url-fetch) (uri (pypi-uri "trio" version)) (sha256 - (base32 "1qgg4zhca81dxc1nlmcr5pl1bclmvdp3niqbyslwxs65bs732pl9")))) + (base32 "0w30cwmdwfa8zq2agqv3h62jzwwsk7ms8f683ag8f3jx279m42k7")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-sleep + (lambda _ + (substitute* "trio/tests/test_subprocess.py" + (("/bin/sleep") + (which "sleep"))))) (add-before 'check 'change-home (lambda _ ;; Tests require a writable home. - (setenv "HOME" "/tmp") - #t)) + (setenv "HOME" "/tmp"))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "pytest" "-vv" "-k" + (invoke "pytest" "-vv" + "-n" (number->string (parallel-job-count)) + "-k" (string-append ;; This test times out. "not test_ki_protection_works" @@ -24408,7 +24414,10 @@ (define-public python-trio " and not test_run_in_trio_thread_ki" " and not test_simple_cancel_scope_usage_doesnt_create_cyclic_garbage" " and not test_nursery_cancel_doesnt_create_cyclic_garbage" + " and not test_cancel_scope_exit_doesnt_create_cyclic_garbage" " and not test_locals_destroyed_promptly_on_cancel" + " and not test_ipython_exc_handler" + " and not test_for_leaking_fds" ;; These try to raise KeyboardInterrupt which does not work ;; in the build environment. " and not test_ki_self" @@ -24417,7 +24426,9 @@ (define-public python-trio " and not test_getnameinfo" " and not test_SocketType_resolve" ;; OSError: protocol not found. - " and not test_getprotobyname")))))))) + " and not test_getprotobyname" + ;; EOFError: Ran out of input. + " and not test_static_tool_sees_all_symbols")))))))) (native-inputs (list python-astor python-ipython @@ -24425,6 +24436,7 @@ (define-public python-trio python-pylint python-pyopenssl python-pytest + python-pytest-xdist python-pytest-cov python-trustme)) (propagated-inputs -- 2.34.0