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

Create Python frozen requirements file #8

Closed
pombredanne opened this issue Jun 10, 2024 · 2 comments · Fixed by #20
Closed

Create Python frozen requirements file #8

pombredanne opened this issue Jun 10, 2024 · 2 comments · Fixed by #20
Assignees

Comments

@pombredanne
Copy link
Member

pombredanne commented Jun 10, 2024

We need to create Python frozen requirements file: this may need a specific convention as a requirements file is not your typical lockfile-only format. We likely want to use using pip freeze.

@pombredanne
Copy link
Member Author

pombredanne commented Jun 20, 2024

For info, the lockfile is named requirements.deplock

@keshav-space
Copy link
Member

As suggested by @pombredanne, use pip inspect instead of pip freeze. #25

pip freeze does not include the relationship between dependencies. Instead, use pip inspect to get the JSON report of the Python environment, which includes the dependency relationships, and store it in the pip-inspect.deplock file.

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