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

Support Hashed Requirements Across Multiple OSen #52

Open
ghickman opened this issue Mar 29, 2022 · 1 comment
Open

Support Hashed Requirements Across Multiple OSen #52

ghickman opened this issue Mar 29, 2022 · 1 comment

Comments

@ghickman
Copy link
Contributor

We currently have pip-compile set up to created hashed requirements files, which pip installs with --require-hashes by default when it finds --hash lines in a requirements file.

The requirements files pip-compile creates are OS-specific, that is to say it will resolve the dependency tree using the current OS. At install-time pip will find any missing requirements and error because there are no hashes for them. We've seen this with pytest's windows-only dependency atomicwrites. This correctly fails CI.

Potential options (add/delete as necessary):

  • generate a windows requirements file with missing dependencies in CI
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

2 participants