From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KOQoL5BeymXTQQAAe85BDQ:P1 (envelope-from ) for ; Mon, 12 Feb 2024 19:08:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KOQoL5BeymXTQQAAe85BDQ (envelope-from ) for ; Mon, 12 Feb 2024 19:08:16 +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=lqnuEHxN; 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=1707761296; 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=lR8SiREz4PmuTYy7mD0OG11vtQo1ie0oe6a6AxP+4Gk=; b=VLGMz1vbuaSDMxODP5/Cy1l+ptGS5VPkEba6stoQFan0lt+/Kfs0BWKW5cS2rgnPo5fkX4 2yPRgc0QbM3GZJmzJx0DaCtWqFlv8LBW1FRBonVClzEdjgNrF/qkpVVZDNojwdc4y6F+2a 8GSDy+z0pQzi1YHwl8rAJffmk1wkxWJlDzHO64Qeq8mqv0My18wzenYvA4/GbjEEIvpvPv A9AX1OXoS3Bh5iAcHPSNsImUdtgApv40//m2IalP8Du35nAUFLOijS92HfrF1r4JBZZaqf 9/U8/Gv2qV47B3jnF1tcekPujcZoZr9/xoFtcK2JvE2ZbtBFAvKchhqyJZ6rug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=lqnuEHxN; 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=1707761296; a=rsa-sha256; cv=none; b=Oheot+ZcwShGiYSC24Ozu4832P2ZCf+LntCtY68bCC7+hVYDVXycIXHXvpYkUpj/KE0bPg NrFeMq1g+tYb+YKC+smXdpP59+e/9xcOdGm/R9gPsDnjgfKFRAGhZ7gd7cIMcRgP8jbbjQ Q8ixQw6PFQXlHy4v6bSQvzZoVtLx5yrhYkHKF2kQChl2CZtLQJ9614bOARX80lxLOkwVRw kWCCpRo3xZ0oELVUH0E7F2VKYfSVM1LkcBpwyvPtFYxhLUbumxX8x7tolZ8POriw3RyCqS 0OWAp6JkrMZmp/tY6ypPq4RPB+M0AmJnFjTfPOskH+ZuKThUJw3UWV4VHv8MoQ== 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 6BC67167CD for ; Mon, 12 Feb 2024 19:08:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZaid-0004KW-7o; Mon, 12 Feb 2024 13:07:51 -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 1rZaib-0004Ju-M4 for guix-patches@gnu.org; Mon, 12 Feb 2024 13:07:49 -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 1rZaib-0006qO-Dy; Mon, 12 Feb 2024 13:07:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZaio-0006mI-L7; Mon, 12 Feb 2024 13:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68207] [PATCH v3 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:08:02 +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.170776122925820 (code B ref 68207); Mon, 12 Feb 2024 18:08:02 +0000 Received: (at 68207) by debbugs.gnu.org; 12 Feb 2024 18:07:09 +0000 Received: from localhost ([127.0.0.1]:46469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZahw-0006iM-FA for submit@debbugs.gnu.org; Mon, 12 Feb 2024 13:07:09 -0500 Received: from mout01.posteo.de ([185.67.36.65]:43319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZahs-0006gp-Ru for 68207@debbugs.gnu.org; Mon, 12 Feb 2024 13:07:05 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id EF4D1240028 for <68207@debbugs.gnu.org>; Mon, 12 Feb 2024 19:06:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707761202; bh=LCZmjxrb4J1aXEYpvtdJQCb1JT0oKSlBUYS2UjFesc0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=lqnuEHxNPYLEmouCl5ccFvcuBhBJoXB5IDJ66eGptAF5IWXV1EtnkX+L2ibTuG3o3 Kbu2ALrTdUhUc5ROikyIywzsyuyTg8BlhrjQ7tZ+WfobPCk81ZbGFI0TaB7fKSJp/8 5pCGgVsHCH8eB//FZGzR5q3An14ZpgF82fjkk3SZ4iWDJEnFcOvlcWG2dPC9RbxQ1g RmWd8EeNVbz5CabIsgHdJvJGZNRHDQH7JqWadhaDH0V+44AmtNhQ79+W4VeJZBM2ZK /PpUH87E1dBAe2kNqk98uy/UZlkgD21DkOoc4il+7BM6Vtnat6Ng7uYCkbMI+qLMUA VU5QZZN5p/uog== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TYXTY3hn6z6txR; Mon, 12 Feb 2024 19:06:41 +0100 (CET) From: Felix Gruber Date: Mon, 12 Feb 2024 18:04:12 +0000 Message-ID: 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-Spam-Score: 3.32 X-Spam-Score: 3.32 X-Migadu-Queue-Id: 6BC67167CD X-Migadu-Scanner: mx12.migadu.com X-TUID: ZyriESHMZYj2 * 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 | 50 ++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index afd5caf541..28992abb30 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,30 @@ (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_language_binary_missing" + " 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