From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SL1oMkriwGQvTAAASxT56A (envelope-from ) for ; Wed, 26 Jul 2023 11:07:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yBNrMUriwGTY7gAAG6o9tA (envelope-from ) for ; Wed, 26 Jul 2023 11:07:22 +0200 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 0BEBB4F750 for ; Wed, 26 Jul 2023 11:07:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=XavopWbY; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690362442; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=1SCO9s6tesRQG6phxjmAvPTakzmNlk1CU91a3BhgDVo=; b=Mq8wG9uvXO9lP45OVB+YSie6JHrGIpx2RKXi1wPLqNrWq/mXTDHy7RCznJDPNCoielduMC fvj+wcon1MxXzXYXtYGftwy0bdWUvA5zGNlyvjLVdWNYhIqJE1HjePci3MTPq4qeHynlOE xP89Ah2QAGiH49FrIrbwf0g8LLxA/hJHRIxVkY9P8H8xfNHraFW3z5SWW+j9jgaVuXui5K HshFNKwrxVXxWS6h1kvAsKFHCezy6Y0cIqBOgOuCNdyenCTE4lUmjPlkVUBl17/cXooNUq s02lLCBh02ZNb1X05A/VCbEl0qk64ij3ie9C1o+vw//4OxH1y5d4TuQGRMG5wA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=XavopWbY; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690362442; a=rsa-sha256; cv=none; b=ps4v2i+8qki/l+gsg6yFf1lW08Neny/LDFboKk8j4zGRg3d1LxDdw1SqDLrhKIRbc6pYhD XWj+iia3FEPPbrC+1oiGR7DkFlVDjbAq5P9LAjieckIlBnsQ/pnAnUALJkuYubTmYeo1Ka 9h6BNNtFuifXZJPOFtRcrXzmpySEHAkq+uhSD9AvxezuBvz/rPq/Hwo+JWnJPnWBz2i8Gg /TH9qn695G40EonaCi8L+Y0TIcbXGdLP/O/nee3MRgo+Uc7m/xO5hBC2bgHWyiGY+6KqVI 1E7Fml9pe9O0NnyGkhAJjt2XyabwS2Y+4ytRIan/XzthohqQguN54z/clYz7KQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOaUA-0006bv-Nt; Wed, 26 Jul 2023 05:07:10 -0400 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 1qOaU7-0006bY-SQ for guix-patches@gnu.org; Wed, 26 Jul 2023 05:07:08 -0400 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 1qOaU3-0008Ct-QY for guix-patches@gnu.org; Wed, 26 Jul 2023 05:07:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qOaU2-0006nG-0j; Wed, 26 Jul 2023 05:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64869] [PATCH 0/2] Add pipx package manager for Python applications Resent-From: Wojtek Kosior Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Wed, 26 Jul 2023 09:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64869 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64869@debbugs.gnu.org Cc: Wojtek Kosior , Lars-Dominik Braun , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by submit@debbugs.gnu.org id=B.169036241526097 (code B ref -1); Wed, 26 Jul 2023 09:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jul 2023 09:06:55 +0000 Received: from localhost ([127.0.0.1]:47534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOaTu-0006mq-W7 for submit@debbugs.gnu.org; Wed, 26 Jul 2023 05:06:55 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOaTs-0006md-N6 for submit@debbugs.gnu.org; Wed, 26 Jul 2023 05:06:53 -0400 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 1qOaTm-0006Vz-49 for guix-patches@gnu.org; Wed, 26 Jul 2023 05:06:46 -0400 Received: from koszko.org ([93.95.227.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qOaTj-0008Au-Rs for guix-patches@gnu.org; Wed, 26 Jul 2023 05:06:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; s=mail; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:Cc: To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=1SCO9s6tesRQG6phxjmAvPTakzmNlk1CU91a3BhgDVo=; b=XavopWbYX6Qw9oD2UBVdKQ2XrI QLiWCXZIGiZ+zf6RiPeN9E4Ojo69lOi8zydhwcCwVCDDcp/aGcnZfcafrNyh+L6xB8ILp6nyOOpIA BdxpdxcqG3ritQT9FJSqdRztKiTkhVAQrSSnqK9A7RrSJRSy9cFkkt4o/iqY5wDoWaPPDmsSkgddR /LLsoBGZuGYqpDPXpbjA1DoE+55lCiYyjziXwmARFucT7K4q0AZ9XPBDe9AMWNM4J8AS5+CxHCYYn d86u+oN7QUG3TKaz9fpwytaBsOyny8AaMj9cRe6kcTqzvcPnT20RbkEF9+eXH1ZyjTVp7dGAP33y8 vgZxqKMHxuXx/MOJxGg5O5rsaimR8p0EWmnkPBy5TKGZKuB6If4Xb0DHV+UfNuYBoKgFXn9ZiwVUP DyNuaSpghxSyJ37RbE19AtPDsE0uw9v0uTM65ndiVCcUlR1++rnHxn0GmbejS/QtacAE8UTyz3XT9 +MpknTTLE8iLSBb17eireQInTyaq8GImgVjZe41feM8aMvMMgFZYnU9QIvovTBn1Zsm5ORgt51oCb 1EX2w1pj8bjN+hIWAcObXGMY/HSYxwIrwbM+kV1H6V+yWeqfuoWK68FY1SiH3VPJRpb33H0ToNUph f2uKMs43FIcGV7QT/dSkZ/AKSXTkhNp7qOiB4FPhg=; Received: from [77.252.47.76] (helo=localhost.localdomain) by koszko.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qOaTe-00022w-DB; Wed, 26 Jul 2023 11:06:38 +0200 Date: Wed, 26 Jul 2023 11:05:37 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=93.95.227.159; envelope-from=koszko@koszko.org; helo=koszko.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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-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: , Reply-to: Wojtek Kosior X-ACL-Warn: , Wojtek Kosior via Guix-patches From: Wojtek Kosior via Guix-patches via 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-Spam-Score: -6.15 X-Migadu-Queue-Id: 0BEBB4F750 X-Migadu-Spam-Score: -6.15 X-Migadu-Scanner: mx0.migadu.com X-TUID: MNULm55upz4V This series adds pipx, a tool similar to pip but oriented towards installation of Python applications rather than libraries, with automatic isolation of installed packages. Other distros are now changing pip to recommend using pipx instead[1]. Whether or not Guix will do the same, it seems like a good idea to at least have pipx available in the repos. I was unsure whether python-pipx should go into python-build or python-xyz. python-pip is declared in the former, python-virtualenv in the latter. In the end I chose python-xyz. Tests have been disabled because those of python-userpath rely on `docker pull` and those of python-pipx rely on application wheels from PyPI. It might be possible to enable at least some tests of python-pipx by using wheels from Guix. Rn I did not, however, have time to investigate. I tested the new package(s) with: #BEGIN_EXAMPLE ./pre-inst-env guix lint python-userpath python-pipx guix gc -D /gnu/store/*python-userpath-1.9.0 /gnu/store/*python-pipx-1.2.0 ./pre-inst-env guix build python-userpath --rounds=3 ./pre-inst-env guix build python-pipx --rounds=3 ./pre-inst-env guix shell -C coreutils python-pipx findutils which less bash --network --no-cwd pipx install pycowsay pipx ensurepath bash -l pycowsay moooo pipx uninstall pycowsay #END_EXAMPLE [1] https://pythonspeed.com/articles/externally-managed-environment-pep-668/ Wojtek Kosior (2): gnu: Add python-userpath. gnu: Add python-pipx. gnu/packages/python-xyz.scm | 77 +++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) base-commit: 76e041f9eef85bb039c5251d3350c62ee2066883 -- 2.41.0