From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GDknHrQmlGVJugAAkFu2QA (envelope-from ) for ; Tue, 02 Jan 2024 16:07:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id wG2jFbQmlGXOPQAAe85BDQ (envelope-from ) for ; Tue, 02 Jan 2024 16:07:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=AXmfbCil; 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"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704208052; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=azKVPgPNo9Dy52HVHBQfBu7NLB0/LibPRwV0GNK5izk=; b=KGpUwQSGH26b6B5cLdbJ2TQ4issd5E1QuaXRAUQOMNf7M6ejtYXJ56GBeIzhe0/hKA7AYL bicz4ki2LqnQlIvzaQC3E1JPBFRAMtE32iUi0vSTkSNG/nTvA9cwB/cHdYLGcVZQRu94/m 3vkcfjzWnNXKAoFtzvkzm3L+P++g/G+6hUuYoOgvN9bhU0+NX5eq3d5JkuL3040O3O0byE DMoJakUqixa9c/MpsEJFrRxAs0i/SPjmqMs2iYT5yXeMmPbsmwVG83KuS1A7yM63Dpw1P0 MiInTQxs/jCmtA7DEm2wSCFpvZs7x+000uxrwc3vQgdrgMJMomVUWg9Uj6p0jw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=AXmfbCil; 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"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704208052; a=rsa-sha256; cv=none; b=loIPjlZPkAGzVMvldiSg05JT+MwLhQgWjjMlweQLBupnKuFxiGrslud2dtOkw/VBYutb0i TCP8uZoTUpFKYTAN7HvoORwC5FOFOAOEoAIUaDUtJuEV1IOn8oMzGlotQsUIpBlfXajtS5 X6LKpBaXdobMFu2KvUufbj+TjnyXbBLrDntLFChJ8wFA675velLBmY5z043JSq2XAmt5WW XD+5BUfqh4BURfFTvZj3W7regyfdRLenPoW1U/JXTtsGxom+9/ExTdAZsBPKY56wYuXteV lZR8lJ7Ks6tfhbMx5BcouazhgNJqAQXUn4Z5fzuN5pj2oub5nlyVX3ZHsKFKcQ== 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 03D603661F for ; Tue, 2 Jan 2024 16:07:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKgMA-0001KB-JX; Tue, 02 Jan 2024 10:07:02 -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 1rKgM9-0001Jz-64 for guix-patches@gnu.org; Tue, 02 Jan 2024 10:07:01 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKgM8-0000Z1-Ui for guix-patches@gnu.org; Tue, 02 Jan 2024 10:07:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rKgMB-00070j-CD for guix-patches@gnu.org; Tue, 02 Jan 2024 10:07:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68207] [PATCH 5/5] gnu: python-textual: Update to 0.46.0. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Jan 2024 15:07:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68207 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68207@debbugs.gnu.org Cc: Felix Gruber Received: via spool by 68207-submit@debbugs.gnu.org id=B68207.170420800426893 (code B ref 68207); Tue, 02 Jan 2024 15:07:03 +0000 Received: (at 68207) by debbugs.gnu.org; 2 Jan 2024 15:06:44 +0000 Received: from localhost ([127.0.0.1]:51061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKgLr-0006zh-Fp for submit@debbugs.gnu.org; Tue, 02 Jan 2024 10:06:43 -0500 Received: from mout01.posteo.de ([185.67.36.65]:34051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKgLn-0006z9-4a for 68207@debbugs.gnu.org; Tue, 02 Jan 2024 10:06:40 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0A1DA240028 for <68207@debbugs.gnu.org>; Tue, 2 Jan 2024 16:06:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1704207991; bh=55Gx45+lQsxrrGEjnVaay5lzhgQm2o/CeMGMcmtmols=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=AXmfbCilLwybpHFHEuZSz1DDtm8Yf3NMkKUxca1wC4eBhJU1G4/TD2EelkK+gqXXl ZGl5UxqyuE75uQZCXlRB8AbHXCYpV+XrdXg3MvGT4a0W4cMiOwPcbNxLzRv7yfvs+d qwvg3QpreqKcrr7KpD31am5ElxS20ul9fjCIh5weJ1lOjZWfXSx5xC0XnZHl67De1j W+Oqj304TFuqFKdj6AooBcR/7GwaNXBVrV/nenK4+PcQmW5HhtZIis6TiaLCtvOTPk M9bLSEcEop1DvHtULLxsgdnYeclCGQJscaYpu2dRTpNR0dYVichK1QFv/0MEOm/4BI VnYJzyhoSfkzw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T4GQZ3mtbz9rxF; Tue, 2 Jan 2024 16:06:30 +0100 (CET) From: Felix Gruber Date: Tue, 2 Jan 2024 15:05:50 +0000 Message-ID: <53384cb0d1e11adc472c0e763b91860c2365faaf.1704207105.git.felgru@posteo.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.38 X-Spam-Score: -4.38 X-Migadu-Queue-Id: 03D603661F X-Migadu-Scanner: mx10.migadu.com X-TUID: DAiZWp6v4huq * gnu/packages/python-xyz.scm (python-textual): Update to 0.46.0. [source]: Download from github as pypi package does not include tests. [build-system]: Change to pyproject-build-system. [arguments]: Remove custom 'check phase; add #:test-flags to disable broken tests. [propagated-inputs]: Add python-markdown-it-py, python-mdit-py-plugins and python-tree-sitter. [native-inputs]: Add python-poetry-core and python-pytest-asyncio. Change-Id: Ib144dc87f73e91d4c9d2e8f91ce6ce7a86a481a9 --- gnu/packages/python-xyz.scm | 49 ++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 25f123e904..3a4681a25f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -108,7 +108,7 @@ ;;; Copyright © 2021 Simon Streit ;;; Copyright © 2021, 2022, 2023 Daniel Meißner ;;; Copyright © 2021, 2022 Pradana Aumars -;;; Copyright © 2021, 2022, 2023 Felix Gruber +;;; Copyright © 2021–2024 Felix Gruber ;;; Copyright © 2021 Sébastien Lerique ;;; Copyright © 2021 Raphaël Mélotte ;;; Copyright © 2021 ZmnSCPxj @@ -264,6 +264,7 @@ (define-module (gnu packages python-xyz) #:use-module (gnu packages textutils) #:use-module (gnu packages time) #:use-module (gnu packages tls) + #:use-module (gnu packages tree-sitter) #:use-module (gnu packages version-control) #:use-module (gnu packages video) #:use-module (gnu packages web) @@ -18410,20 +18411,8 @@ (define-public python-rich-click (define-public python-textual (package (name "python-textual") - (version "0.1.18") + (version "0.46.0") (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") @@ -18431,19 +18420,29 @@ (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")))))))) + "0gjlmr1908va9m13333iq4il1gs8r4m8qrxhc49iyfy9m4xbml0v")))) + (build-system pyproject-build-system) + (arguments + (list #:test-flags + ;; Snapshot tests require python-pytest-textual-snapshot which + ;; in turn depends on python-textual. + '(list "--ignore=tests/snapshot_tests/test_snapshots.py" + "-k" (string-append + ;broken for unknown reason + "not test_textual_env_var" + ; tests that require python-treesitter-languages + " and not test_register_language" + " and not test_register_language_existing_language" + )))) (propagated-inputs - (list python-rich python-typing-extensions)) + (list python-markdown-it-py + python-mdit-py-plugins + python-rich + python-tree-sitter + ; python-tree-sitter-languages + python-typing-extensions)) (native-inputs - (list python-pytest)) + (list python-poetry-core 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