Skip to content
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

Request support for pip format requirements*txt files #1554

Open
mcandre opened this issue Oct 2, 2024 · 0 comments
Open

Request support for pip format requirements*txt files #1554

mcandre opened this issue Oct 2, 2024 · 0 comments

Comments

@mcandre
Copy link

mcandre commented Oct 2, 2024

How would this feature be useful?

pipx's spec metadata JSON system for tracking packages does not appear to be very portable. It hardcodes multiple file paths in terms of the particular user who runs pipx install... commands. It doesn't support version constraints. The format is verbose and cumbersome to generate by hand.

Describe the solution you'd like

Native pip already offers a basic format for more modern package tracking with requirements*txt files. Would like to see pipx add support for this format.

When the user runs pipx install without specifying a spec metadata JSON file option, then pipx should automatically look for requirements.txt and apply that configuration when possible.

When the user runs pipx install -r <path>, then pipx should load the given custom pip configuration file path (e.g. requirements-dev.txt).

Describe alternatives you've considered

Moving into a monastery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant