FS#78808 - [python] add python-pipx to optdepends

Attached to Project: Arch Linux
Opened by Arkadiy Illarionov (qarkai) - Friday, 16 June 2023, 19:40 GMT
Last edited by David Runge (dvzrv) - Saturday, 02 September 2023, 13:05 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To David Runge (dvzrv)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Since python package already mention python-pipx in externally-managed error message.

Also it is recommended in PEP 668:
> Consider arranging things so your distro’s package / environment for Python for end users (e.g., python3 on Fedora or python3-full on Debian) depends on pipx.
This task depends upon

Closed by  David Runge (dvzrv)
Saturday, 02 September 2023, 13:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with https://gitlab.archlinux.org/archlinux/p ackaging/packages/python/-/commit/6b9251 a91b8fbf1054f54732a0725d7c0a99f451
Comment by David Runge (dvzrv) - Saturday, 15 July 2023, 10:05 GMT
@qarkai: Thanks for the ticket.

I'm afraid I don't fully understand the point you are trying to make in your reasoning as to why this should be added.
Could you please elaborate?
Comment by Arkadiy Illarionov (qarkai) - Saturday, 15 July 2023, 10:16 GMT
It's an upstream recommendation, that's all rationale.
Comment by Christian Heusel (gromit) - Saturday, 15 July 2023, 10:23 GMT
@dvzrv since system global / user global pip install is now blocked that we implemented PEP668 I guess the suggestion here is to optdepend on pipx which still can be used.
Comment by David Runge (dvzrv) - Saturday, 02 September 2023, 13:05 GMT
Thanks for the clarification (a direct link to the section in PEP668 would have been useful here).

I have replaced python-pip with python-pipx in python's optdepends in https://gitlab.archlinux.org/archlinux/packaging/packages/python/-/commit/6b9251a91b8fbf1054f54732a0725d7c0a99f451