GNU bug report logs - #64869
[PATCH 0/2] Add pipx package manager for Python applications

Previous Next

Package: guix-patches;

Reported by: Wojtek Kosior <koszko <at> koszko.org>

Date: Wed, 26 Jul 2023 09:07:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Wojtek Kosior <koszko <at> koszko.org>
Subject: bug#64869: closed ([PATCH 0/2] Add pipx package manager for
 Python applications)
Date: Sun, 27 Jul 2025 13:30:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#64869: [PATCH 0/2] Add pipx package manager for Python applications

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 64869 <at> debbugs.gnu.org.

-- 
64869: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64869
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 64869-done <at> debbugs.gnu.org
Subject: [PATCH 0/2] Add pipx package manager for Python applications
Date: Sun, 27 Jul 2025 14:29:22 +0100
[Message part 3 (text/plain, inline)]
Hi,

I've pushed the latest version based on this proposal and kept author header:
master origin/master 9ed9dada4eb021844ee69effca197b390b4f17a2

--
Oleg
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Wojtek Kosior <koszko <at> koszko.org>
To: guix-patches <at> gnu.org
Cc: Wojtek Kosior <koszko <at> koszko.org>
Subject: [PATCH 0/2] Add pipx package manager for Python applications
Date: Wed, 26 Jul 2023 11:05:37 +0200
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




This bug report was last modified 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.