-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Package]: pipx #21093
Comments
pipx can be installed with Click here to see the full output of that command
|
Recently, package maintainers have started adopting PEP-668 Externally Managed Environments, which prevents packages from being installed in the interpreter's default (or externally managed) environment and encourages the use of virtual environments. This feature was introduced starting with pip 23.0, but it is not yet activated in Termux environment, as it is not currently marked as externally managed. However, if we decide to adopt it in the future, it is recommended to also package pipx as documented:
Even though it might be somehow confusing for users who are accustomed to installing packages directly without using virtual environments at first, I believe that PEP-668 provides significant benefits once adopted, given that:
Hi @Biswa96, I understand that adding a package available via the language's package manager might seem unnecessary, but due to the reasons outlined above, I believe pipx's case is different. Could you please reconsider, or perhaps initiate a discussion about PEP-668 in Termux environment? |
Actually, I explored the issue for a while with an intention to contribute, but it turned out to be more complex than anticipated. It seems a discussion on how to approach this would be beneficial. Initially, I marked the default Termux Python installation as externally managed, and this approach worked:
|
It is not possible in termux-packages because not all python dependencies are packaged and pulled using pip instead. For reference, see |
Why is it worth to add this package?
Install and Run Python Applications in Isolated Environments.
I apologize for the fact that this package can actually be installed by pip, but I think it is necessary to provide a separate system package for this package, similar to python-pip.
The reason is that if you use pip to install it, it creates a lot of unnecessary and confusing cache files, but I installed pipx in order to avoid this kind of confusion.
Home page URL
https://pipx.pypa.io/
Source code URL
https://github.com/pypa/pipx
Packaging policy acknowledgement
The project is actively developed.
The project has existing packages and is "well known".
Licensed under an open source license.
Not available through a language package manager: pip, npm, cpan, cargo, etc.
Not taking up too much disk space (< 100MiB per architecture, exceptions can be made)
Not duplicating the functionality of existing packages.
Not serving hacking, malware, phishing, spamming, spying, ddos functionality.
I certify that I have read Termux Packaging Policy and understand that my request will be denied if it is found lacking.
Additional information
No response
The text was updated successfully, but these errors were encountered: