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

Pip freeze path #10488

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Conversation

ericmarkmartin
Copy link
Contributor

@ericmarkmartin ericmarkmartin commented Jan 11, 2025

Summary

Resolves #5952

Add a --path option to uv pip freeze to be compatible with pip freeze

Test Plan

New snapshot tests

@ericmarkmartin ericmarkmartin marked this pull request as ready for review January 11, 2025 06:37
@charliermarsh charliermarsh self-assigned this Jan 11, 2025
@charliermarsh charliermarsh self-requested a review January 11, 2025 13:38
@charliermarsh charliermarsh added enhancement New feature or improvement to existing functionality compatibility Compatibility with a specification or another tool cli Related to the command line interface labels Jan 11, 2025
@ericmarkmartin
Copy link
Contributor Author

One thing to point out here, the behavior of pip freeze --path when passed a non-existent directory. I replicated this behavior in the PR but I wasn't sure if it's somewhere we might want uv to diverge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the command line interface compatibility Compatibility with a specification or another tool enhancement New feature or improvement to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature request: support uv pip freeze --path <path>
2 participants