From unknown Fri Sep 19 16:07:44 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#57101 <57101@debbugs.gnu.org> To: bug#57101 <57101@debbugs.gnu.org> Subject: Status: [PATCH] gnu: python-typer: Update to 0.6.1. Reply-To: bug#57101 <57101@debbugs.gnu.org> Date: Fri, 19 Sep 2025 23:07:44 +0000 retitle 57101 [PATCH] gnu: python-typer: Update to 0.6.1. reassign 57101 guix-patches submitter 57101 Tanguy Le Carrour severity 57101 normal tag 57101 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 10 04:13:24 2022 Received: (at submit) by debbugs.gnu.org; 10 Aug 2022 08:13:24 +0000 Received: from localhost ([127.0.0.1]:45959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLgqB-0007A8-Rg for submit@debbugs.gnu.org; Wed, 10 Aug 2022 04:13:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:55264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLgq6-00079w-L4 for submit@debbugs.gnu.org; Wed, 10 Aug 2022 04:13:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLgq6-0008Ee-Cq for guix-patches@gnu.org; Wed, 10 Aug 2022 04:13:18 -0400 Received: from relay11.mail.gandi.net ([2001:4b98:dc4:8::231]:51287) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLgq3-000873-P3 for guix-patches@gnu.org; Wed, 10 Aug 2022 04:13:18 -0400 Received: (Authenticated sender: tanguy@bioneland.org) by mail.gandi.net (Postfix) with ESMTPSA id 99D25100002; Wed, 10 Aug 2022 08:13:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bioneland.org; s=gm1; t=1660119192; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=YFvGIfPklYGucafbt9PiK6LCZbpSNZVGowNeFR+DkiA=; b=GwG8a9VJJyA6hyDXWw+49Zjk9FeIQwq4f9IruOKOPkWqNBZPkIzPFEvzZa6jHSbAGSZh4S FJxVMVVVRWxeNsPS3h0Wqwz/gl27Rq9/xJCrV44ynA138Q6IT02Qb/eNtSQ4THc5wWFo8o mtaLTju58UJDadbVqw4xkoalEAnhn7N1+z1Z0X42IqhdagY5S6e9ek3SssRysP9342aD1/ fNUy0WEB5qp9KPfyjd+LLL9oae1SNqw0fxSSVB483lVGztI+XZ0CebFYPH4+uolN/qGQHk msi7hu61hVvS8LRkqZsaPV/yb+qPgdMpqkKL/jqAhWQocMQuiaoVL8XxqWtTmQ== From: Tanguy Le Carrour To: guix-patches@gnu.org Subject: [PATCH] gnu: python-typer: Update to 0.6.1. Date: Wed, 10 Aug 2022 10:12:53 +0200 Message-Id: <20220810081253.7008-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:4b98:dc4:8::231; envelope-from=tanguy@bioneland.org; helo=relay11.mail.gandi.net 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_NONE=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: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: Tanguy Le Carrour 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: -2.6 (--) * gnu/packages/python-xyz.scm (python-typer): Update to 0.6.1. [source]: Use GIT-FETCH. [arguments]: Build from source with flit. [native-inputs]: Add python-flit and python-rich. --- gnu/packages/python-xyz.scm | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d18959889e..196659417c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21437,15 +21437,16 @@ (define-public python-typed-ast (define-public python-typer (package (name "python-typer") - (version "0.3.2") + (version "0.6.1") (source (origin - ;; Building `python-typer` from the git repository requires the `flit-core` - ;; Python package that is not installed by `python-flit`. - (method url-fetch) - (uri (pypi-uri "typer" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/tiangolo/typer") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "00v3h63dq8yxahp9vg3yb9r27l2niwv8gv0dbds9dzrc298dfmal")))) + (base32 "1knv353qhkl2imav3jfp6bgq47m8wkkqhq1dzmqg2sv8rsy7zgl7")))) (build-system python-build-system) (arguments `(#:phases @@ -21457,6 +21458,18 @@ (define-public python-typer (substitute* "tests/test_completion/test_completion.py" (("\"bash\"") (string-append "\"" (which "bash") "\"")) (("\"/bin/bash\"") (string-append "\"" (which "bash") "\""))))) + (replace 'build + (lambda _ + (invoke "flit" "build"))) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (let ((out (assoc-ref outputs "out"))) + (for-each (lambda (wheel) + (format #true wheel) + (invoke "python" "-m" "pip" "install" + wheel (string-append "--prefix=" out))) + (find-files "dist" "\\.whl$"))))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? @@ -21478,7 +21491,8 @@ (define-public python-typer (propagated-inputs (list python-click)) (native-inputs - (list python-coverage python-pytest python-shellingham)) + (list python-coverage python-flit python-pytest python-rich + python-shellingham)) (home-page "https://github.com/tiangolo/typer") (synopsis "Typer builds CLI based on Python type hints") -- 2.37.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 04:38:37 2022 Received: (at 57101-done) by debbugs.gnu.org; 12 Aug 2022 08:38:37 +0000 Received: from localhost ([127.0.0.1]:55595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMQBb-0003Ft-Oq for submit@debbugs.gnu.org; Fri, 12 Aug 2022 04:38:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMQBa-0003Fg-Fk for 57101-done@debbugs.gnu.org; Fri, 12 Aug 2022 04:38:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43782) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMQBV-0006Br-0f; Fri, 12 Aug 2022 04:38:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=JuwdcP94G82gaKMAK6NeD7VF+gvVJNPkIJ/6jINCPHc=; b=DS9RziB/M92IhMhMebpH uJNHui0tUPvTSA6+F3TjCh0HJnWPC3jKDb82v4q+b6FjLURnv59ZiLsB0tfKjJSbMlzBrMgpqaQKr mrNHQ29NsaNJFVKP3X+U0rEEYT32AwunB65bU84KkmtOe4XRZWqWhCjZ9kTMdoAWMlvs27IuLjuA+ LBHdEfhZ7rwlYaB59CJ4urpS0lzIxg1Xl0YlacS7M4xwTCtgxKxJAipx3JhZ4oZXgJYO6NNIZt29O 0kIZnb3cNxjxVv6l1sRU8r52e/1GXsgtyU/uZ8ViCL9HHdWmN9pxBk5JlyI78qPJI9dtsSQaA/hME 6Csuj7lBfavvDg==; Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2775.rev.sfr.net ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2775]:60786 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMQBU-0001Is-Cq; Fri, 12 Aug 2022 04:38:24 -0400 From: Mathieu Othacehe To: Tanguy Le Carrour Subject: Re: bug#57101: [PATCH] gnu: python-typer: Update to 0.6.1. References: <20220810081253.7008-1-tanguy@bioneland.org> Date: Fri, 12 Aug 2022 10:38:21 +0200 In-Reply-To: <20220810081253.7008-1-tanguy@bioneland.org> (Tanguy Le Carrour's message of "Wed, 10 Aug 2022 10:12:53 +0200") Message-ID: <878rnt26wy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57101-done Cc: 57101-done@debbugs.gnu.org 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: -3.3 (---) > * gnu/packages/python-xyz.scm (python-typer): Update to 0.6.1. > [source]: Use GIT-FETCH. > [arguments]: Build from source with flit. > [native-inputs]: Add python-flit and python-rich. Pushed, thanks! I also introduced gexps as a follow-up. Mathieu From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 05:09:42 2022 Received: (at 57101-done) by debbugs.gnu.org; 12 Aug 2022 09:09:42 +0000 Received: from localhost ([127.0.0.1]:55671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMQfl-00047y-VE for submit@debbugs.gnu.org; Fri, 12 Aug 2022 05:09:42 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:51021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMQfg-00047f-EH for 57101-done@debbugs.gnu.org; Fri, 12 Aug 2022 05:09:40 -0400 Received: (Authenticated sender: tanguy@bioneland.org) by mail.gandi.net (Postfix) with ESMTPSA id 2289E1C0008; Fri, 12 Aug 2022 09:09:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bioneland.org; s=gm1; t=1660295370; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=qYhfqNJgPDx3utplwXEoVyitfE8wk8inJhLUl3cEipc=; b=IVjKfETwusZR5c1dYix1DOqXsIhud1Vg2/BVI7E745YtpYn7mdh+bcZGR83A0YZjucU4H4 +fdvLN8gUzkuuYLyOUKXQK0e0aVYX0rrtiMvMcwl6AvfwwPqtq/z3g0mvDHZpOTktG4yFu 2HkVNKNm//OSfnu8E+WyE+pdGR1tBvvxCrgxl792VlrcoykBa0Nhf1YQO4gPo8RDEyaCR8 HG6UVmGVRGur1DVvQbZCfSAibUbK1kq/J5coDrOXbeb1tlnfasp0B04eX1E4UfLelB+lwF BETRS8tZqPtn3GTc+chOfM9jBT+08gaLEdUrfyAnfMZjA1+v+M+unRXSCoPdDg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable References: <20220810081253.7008-1-tanguy@bioneland.org> <878rnt26wy.fsf@gnu.org> Subject: Re: bug#57101: [PATCH] gnu: python-typer: Update to 0.6.1. From: Tanguy LE CARROUR To: Mathieu Othacehe In-Reply-To: <878rnt26wy.fsf@gnu.org> Date: Fri, 12 Aug 2022 11:09:27 +0200 Message-ID: <166029536729.25646.1340599475599972907@localhost> User-Agent: alot/0.10 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 57101-done Cc: 57101-done@debbugs.gnu.org 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 (-) Hi Mathieu, Quoting Mathieu Othacehe (2022-08-12 10:38:21) >=20 > > * gnu/packages/python-xyz.scm (python-typer): Update to 0.6.1. > > [source]: Use GIT-FETCH. > > [arguments]: Build from source with flit. > > [native-inputs]: Add python-flit and python-rich. >=20 > Pushed, thanks! I also introduced gexps as a follow-up. Thanks! --=20 Tanguy From unknown Fri Sep 19 16:07:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 09 Sep 2022 11:24:04 +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