From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aCdOE7FcymXreQAAe85BDQ:P1 (envelope-from ) for ; Mon, 12 Feb 2024 19:00:17 +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 aCdOE7FcymXreQAAe85BDQ (envelope-from ) for ; Mon, 12 Feb 2024 19:00:17 +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=sEBCj7L0; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707760817; a=rsa-sha256; cv=none; b=Ns/cPa+fGff8fK9fUJ7SuYEpmaYl+NdmnTu3Nc9e/VntJTSfYeVGGLC97RMCDbeL3X6sbL ITvBajJzkxuWoF8LlyEnGiO2ej49JfSLQ9EJy4QNoVhBLljCI23goiz7/rnWoT70Djhsqa iPTzoD9VAANTZWmwyEeYHjCIKVmfS0HKcIZum0KW1RAgsGP2vWp1qrgd9lYnYj/KWEcJmF AeRJ0sJrVrORM2LDt58J7E956XEOGxgVpgTHgUj0dOTsGAxScF2OHn9Y0gzOJlBBX72vkI SsUUQUENPgrCe/D5BkpjDpQF0OCb0jBdYz0bqCZJpj8eujg9pX1JDPaF6s8nqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=sEBCj7L0; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707760817; 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=Gn1f5fevdTrEXRCIgpKM5pN72uM9EsVLNE24U8hsaPY=; b=teIU8AKpy+Ws4pPbZ8j6RMP7og5wuDtz4yQx/YSEdWNuP8Vmy1mKS4ho9mmXwmAScCsyAz 7Npn22GlesgB5QqBECwbnUatDGyq89tkZyeb8+nYwP/QrpvsmgHiNg2BIvEnYY9WrlYjWS PSZgDeo0I11nNZTptJMwBZbukgNU7ziox04AWRsBgfzcDecJ79KLhOaygb0DheskWBRcg5 DdnSkr0KtcejTCCWRImfOGah/IoFuqZvjOtt84zhZ8ErrZNMxzEWSDwra2QVGolbaQ+A3I 98sVqaREqTWis4aers+WF155IoX7uYorYQBZq61RVUoBZPo0wo8hIONYZ8xl2g== 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 12BCD25DA8 for ; Mon, 12 Feb 2024 19:00:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZaav-0002Gv-NG; Mon, 12 Feb 2024 12:59:53 -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 1rZaat-0002GC-8a for guix-patches@gnu.org; Mon, 12 Feb 2024 12:59:51 -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 1rZaat-0005LS-0B; Mon, 12 Feb 2024 12:59:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZab5-0006C1-SO; Mon, 12 Feb 2024 13:00:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68207] [PATCH v2 5/5] gnu: python-textual: Update to 0.50.1. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 12 Feb 2024 18:00: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 , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 68207-submit@debbugs.gnu.org id=B68207.170776078723683 (code B ref 68207); Mon, 12 Feb 2024 18:00:03 +0000 Received: (at 68207) by debbugs.gnu.org; 12 Feb 2024 17:59:47 +0000 Received: from localhost ([127.0.0.1]:46061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZaao-00069s-Gs for submit@debbugs.gnu.org; Mon, 12 Feb 2024 12:59:47 -0500 Received: from mout02.posteo.de ([185.67.36.66]:37181) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZaak-00068f-KW for 68207@debbugs.gnu.org; Mon, 12 Feb 2024 12:59:43 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0FE15240101 for <68207@debbugs.gnu.org>; Mon, 12 Feb 2024 18:59:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707760760; bh=CWdAkf0qv3TBp4zVRTym5IwfLsQZjkH8Ga5qTL8OP0U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=sEBCj7L0mSkKPky0rdPnDv3Urp3+JrEVnvbpZZrLBkj0FD2WuUAnkj2jyH7km3tVM H7VfeRp2zgA+d6V7PN4kEEUzDoazmXad36EQF6Kvs6KPHXahLARXvdsMSM7qLk1hUa IU2kAtaDgn2YO1Xg15gnmcGSyJ3BSvGqn16Owbj9BUdGUNk9mmC7KE/XRYqpFXHDxf FHo36KYiCp6cUC7HPAN7SHc/szFTPfE57TDkz8FaVPv72EdT6MRpPw/b00Psc1xxdB 24OJRNu/uYcQaobLoUv25+fs8hMzZtvHGyxGH0vejB+q0O0wj9oXoMY99OG48UIV6s IqFqQqFFDBsow== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TYXK33tQNz9rxF; Mon, 12 Feb 2024 18:59:19 +0100 (CET) From: Felix Gruber Date: Mon, 12 Feb 2024 17:55:30 +0000 Message-ID: <6898deb52f47658960781ab672e5d4b17c931672.1707760530.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -4.58 X-Migadu-Queue-Id: 12BCD25DA8 X-Migadu-Spam-Score: -4.58 X-TUID: eijdM47BNfQo * gnu/packages/python-xyz.scm (python-textual): Update to 0.50.1. [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 afd5caf541..1d25ad6f8a 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 @@ -266,6 +266,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) @@ -19242,20 +19243,8 @@ (define-public python-rich-click (define-public python-textual (package (name "python-textual") - (version "0.1.18") + (version "0.50.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") @@ -19263,19 +19252,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")))))))) + "10mmmgsq5pblr9ijgyln79p3hc7sah56k2hkzlvm2abrr9gwgpcf")))) + (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.43.0