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

aws/codebuild/standard:5.0-23.02.16 python build fails checking hashes of requirements #605

Open
brandstaetter opened this issue Mar 8, 2023 · 0 comments

Comments

@brandstaetter
Copy link

Describe the bug
One of our builds suddenly started failing on a build after a change in an unrelated file.

aws/codebuild/standard:5.0-22.10.27 works, aws/codebuild/standard:5.0-23.02.16 fails

To Reproduce
Steps to reproduce the behavior:

  1. Trigger a build building Python, managing the requirements with pip and pipenv
  2. Check build logs
  3. Logs state that the build failed because the hashes of the dependencies do not match up with the ones in the pipfile.lock file

Expected behavior
Build is successful

Logs

...
An error occurred while installing pip-shims==0.5.3 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' --hash=sha256:05b00ade9d1e686a98bb656dd9b0608a933897283dc21913fad6ea5409ff7e91 --hash=sha256:16ca9f87485667b16b978b68a1aae4f9cc082c0fa018aed28567f9f34a590569! Will try again.
...
[pipenv.exceptions.InstallError]: ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them
...

Platform (please complete the following information):

  • OS: Linux x86

Additional context
N/A

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