You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project with ~1000 lines of pure python. I would like to generate a requirements.txt with hashes (--generate-hashes) that is platform-agnostic, ie I don't want to have to maintain multiple requirements.txt for each OS / architecture.
Some of my dependencies have architecture-specific wheels (i86, x64, osx, Windows, etc), and pip-compile produces hashes for platform-specific wheels. So I need to maintain a combination of requirements.txt, which is really hard.
Describe the solution you'd like
I would like the pip-compile command to generate a hash that refers to some sort of "bundle / manifest of hashes". This way the requirements.txt becomes platform-agnostic. I understand that pip won't understand this "bundle / manifest", so I probably need to ask on the pip repo as well?
Note: In docker containers, there is a similar option. As a user you can refer to a multi-arch image by hash, and docker will automatically pick the right image within the bundle to install on your machine
Alternative Solutions
Additional context
The text was updated successfully, but these errors were encountered:
What's the problem this feature will solve?
I have a project with ~1000 lines of pure python. I would like to generate a requirements.txt with hashes (
--generate-hashes
) that is platform-agnostic, ie I don't want to have to maintain multiple requirements.txt for each OS / architecture.Some of my dependencies have architecture-specific wheels (i86, x64, osx, Windows, etc), and
pip-compile
produces hashes for platform-specific wheels. So I need to maintain a combination of requirements.txt, which is really hard.Describe the solution you'd like
I would like the pip-compile command to generate a hash that refers to some sort of "bundle / manifest of hashes". This way the requirements.txt becomes platform-agnostic. I understand that pip won't understand this "bundle / manifest", so I probably need to ask on the pip repo as well?
Note: In docker containers, there is a similar option. As a user you can refer to a multi-arch image by hash, and docker will automatically pick the right image within the bundle to install on your machine
Alternative Solutions
Additional context
The text was updated successfully, but these errors were encountered: