From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 14 18:56:36 2024 Received: (at submit) by debbugs.gnu.org; 14 Jan 2024 23:56:36 +0000 Received: from localhost ([127.0.0.1]:44267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPALE-0002LB-5F for submit@debbugs.gnu.org; Sun, 14 Jan 2024 18:56:36 -0500 Received: from lists.gnu.org ([2001:470:142::17]:53598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPAL9-0002Jx-Qj for submit@debbugs.gnu.org; Sun, 14 Jan 2024 18:56:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPAL2-0006Zv-TD for guix-patches@gnu.org; Sun, 14 Jan 2024 18:56:26 -0500 Received: from confino.investici.org ([93.190.126.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPAL1-0008Ir-1t for guix-patches@gnu.org; Sun, 14 Jan 2024 18:56:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1705276578; bh=n3Br33viW4G8SZx8a++XuUYnJuooS6ySlzNhiPi1IQc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PssYVZ+AhbGnuVFWVihqv+SvnyxRKYnavbf2PapvR0n0mqVCCULqfwld3XM6P9djU ne1MJK8d0IRNl+H3E1v4qGwcdfn5bGaCMPY4jQJZAUyWiokN4/2LybTeKx7/UOz2MC OOR4TVBXsn409qyA4QGQetabsrbVDuAy+3RfsfsU= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4TCscL2hV0z111b; Sun, 14 Jan 2024 23:56:18 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4TCscL1mbrz10yK; Sun, 14 Jan 2024 23:56:18 +0000 (UTC) From: Giacomo Leidi To: guix-patches@gnu.org Subject: [PATCH v4 6/6] gnu: python-textual: Update to 0.47.1. Date: Mon, 15 Jan 2024 00:56:09 +0100 Message-ID: <20240114235609.24296-6-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240114235609.24296-1-goodoldpaul@autistici.org> References: <20240114235609.24296-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=93.190.126.19; envelope-from=goodoldpaul@autistici.org; helo=confino.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/python-xyz.scm (python-textual): Update to 0.47.1; [source]: switch to git-origin; [build-system]: switch to pyproject-build-system; [arguments]: disable failing tests; : use check phase from pyproject-build-system and adapt build machinery to our old version of poetry; [propagated-inputs]: adapt to pyproject.toml; [native-inputs] add poetry and python-pytest-asyncio. Change-Id: I1060b25cb2ec439f26a4348305bc05fd0b09cf07 --- gnu/packages/python-xyz.scm | 58 ++++++++++++++++++++++--------------- 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e2013a3995..997b40172e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18665,20 +18665,8 @@ (define-public python-rich-click (define-public python-textual (package (name "python-textual") - (version "0.1.18") + (version "0.47.1") (source (origin - (method url-fetch) - (uri (pypi-uri "textual" version)) - (sha256 - (base32 - "08yg5a51hz1axfj5hx28hx31gq5apcj6vpkkmawmiplisa73z25j")))) - (build-system python-build-system) - (arguments - (let ((tests - ;; The release on pypi comes without tests. We can't build - ;; from this checkout, though, because installation requires - ;; an invocation of poetry. - (origin (method git-fetch) (uri (git-reference (url "https://github.com/Textualize/textual") @@ -18686,19 +18674,41 @@ (define-public python-textual (file-name (git-file-name name version)) (sha256 (base32 - "0b3ycwqhp21mg9fvmadgxhgbvkwq6fd784l2xcmvy77rravrnnax"))))) - (list #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (copy-recursively #$(file-append tests "/tests") - "tests") - (invoke "python" "-m" "pytest" "-vv")))))))) + "1984v02n2wa7rqgq0f0mkma8fd0nnnbgfwcwgmpsd8xl1wlrjmj4")))) + (build-system pyproject-build-system) + (arguments + (list + ;; 3 failed, 1932 passed, 1 skipped, 4 xfailed, 10 warnings in 115.19s (0:01:55) + #:test-flags + #~'("-k" + ;; this test fails because of an AssertionError: + ;; assert app.devtools is not None + #$(string-append "not test_textual_env_var" + ;; these tests require python-tresitter-languages + " and not test_register_language" + " and not test_register_language_existing_language")) + #:phases #~(modify-phases %standard-phases + ;; TODO: This is because of our old version of poetry. + ;; It can be removed once it's been updated to a current one. + (add-after 'unpack 'adapt-pyproject.toml + (lambda _ + (substitute* "pyproject.toml" + (("group\\.dev\\.") "dev-")))) + ;; snapshot tests require syrupy + (add-after 'adapt-pyproject.toml 'remove-snapshot-tests + (lambda _ + (delete-file "tests/snapshot_tests/test_snapshots.py")))))) (propagated-inputs - (list python-rich python-typing-extensions)) + (list python-importlib-metadata + python-linkify-it-py + python-markdown-it-py + python-mdit-py-plugins + python-rich + python-typing-extensions)) (native-inputs - (list python-pytest)) + (list poetry + python-pytest + python-pytest-asyncio)) (home-page "https://github.com/Textualize/textual") (synopsis "Build text user interfaces in Python") (description "Textual is a @acronym{TUI, Text User Interface} framework -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 14 19:04:29 2024 Received: (at 68461-done) by debbugs.gnu.org; 15 Jan 2024 00:04:29 +0000 Received: from localhost ([127.0.0.1]:44324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPASq-0005KB-RA for submit@debbugs.gnu.org; Sun, 14 Jan 2024 19:04:29 -0500 Received: from confino.investici.org ([93.190.126.19]:58491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPASp-0005K4-7P for 68461-done@debbugs.gnu.org; Sun, 14 Jan 2024 19:04:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1705277067; bh=6zZvRpWE+ZJGQIUFgjO7aLpTSQz+YyrXyB+8VROj6sE=; h=Date:To:From:Subject:From; b=QzKGppm+VJaiBw8QgfG4Vn+4MIjKA53pFZ/uHc/I5yCSMlKTOUMtj/5cJFWK1V5nJ WWv/Ocqx1DeTZNzBULUoibBAV0Y1szTCD1wX0H4TI806CymR3LoEPW+0Zoj+UMiLKb 5Xbj+JbzO1Wr3IIjuZoVEXolytg+y80ZrxN+TBcI= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4TCsnl0ffdz10yK for <68461-done@debbugs.gnu.org>; Mon, 15 Jan 2024 00:04:27 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4TCsnl08l1z10tj for <68461-done@debbugs.gnu.org>; Mon, 15 Jan 2024 00:04:26 +0000 (UTC) Message-ID: <2830f737-3b1b-8ce8-194a-3ee143f6a5fa@autistici.org> Date: Mon, 15 Jan 2024 01:04:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 To: 68461-done@debbugs.gnu.org Content-Language: en-US From: paul Subject: Close issue Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68461-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This issue was opened by mistake, apologies for the noise. From unknown Sat Aug 16 16:12:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 12 Feb 2024 12:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator