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

ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS #1067

Closed
spuggy opened this issue Dec 6, 2022 · 3 comments
Closed

ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS #1067

spuggy opened this issue Dec 6, 2022 · 3 comments

Comments

@spuggy
Copy link

spuggy commented Dec 6, 2022

Describe the bug
When we build our project with django-simple-history as a dependency it has suddenly given us the following error. We have not altered any of our code. Is this expected? Apologies as we are slight python newbs.

#0 32.95 [pipenv.exceptions.InstallError]: Collecting django-simple-history==3.1.1
#0 32.95 [pipenv.exceptions.InstallError]: Using cached django_simple_history-3.1.1-py3-none-any.whl (100 kB)
#0 32.95 [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.
#0 32.95 [pipenv.exceptions.InstallError]: django-simple-history==3.1.1 from https://files.pythonhosted.org/packages/8d/6d/19e4820436b3bbe09d7e3d54c09b1c09ed899b0b45aa9bc7304dfbaf8ba2/django_simple_history-3.1.1-py3-none-any.whl (from -r /tmp/pipenv-ekizwl3s-requirements/pipenv-9ayf3rbo-hashed-reqs.txt (line 43)):
#0 32.95 [pipenv.exceptions.InstallError]: Expected sha256 eab6dbddb7da756cc5579f7d6f28a32b2e8bb1697a5c37794d96309793ffec38
#0 32.95 [pipenv.exceptions.InstallError]: Got 5f1568e7325644c4384a6a7ebd2ac01380f09bc9b353f5961b04910c70fb92f2

@spuggy
Copy link
Author

spuggy commented Dec 6, 2022

Am using

pipenv, version 2021.5.29
Python 3.7.3

@korneevm
Copy link

korneevm commented Dec 7, 2022

Same problem here - package checksum on pypi page https://pypi.org/project/django-simple-history/3.1.1/#copy-hash-modal-55dbc878-2839-4a7d-861a-101045658f93 differs from the real file checksum

@ddabble
Copy link
Member

ddabble commented Sep 26, 2023

Looks like the error does not appear anymore when installing django-simple-history==3.1.1 - maybe after #987 was fixed? Closing.

@ddabble ddabble closed this as completed Sep 26, 2023
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

3 participants