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

package install fails due to SHA fails #9310

Closed
datacubed opened this issue Dec 17, 2020 · 1 comment
Closed

package install fails due to SHA fails #9310

datacubed opened this issue Dec 17, 2020 · 1 comment

Comments

@datacubed
Copy link

datacubed commented Dec 17, 2020

I'm not sure where to post this. But when I goto pip3 install facebook_business I get this:

Collecting facebook-business==9.0.1
  Downloading https://files.pythonhosted.org/packages/d4/87/8848716e1c5379547a57698c2625b41d9f1c41515eb639ae5c53a2efb3d6/facebook_business-9.0.1-py3-none-any.whl (1.0MB)
    100% |████████████████████████████████| 1.0MB 1.2MB/s
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.
    facebook-business==9.0.1 from https://files.pythonhosted.org/packages/d4/87/8848716e1c5379547a57698c2625b41d9f1c41515eb639ae5c53a2efb3d6/facebook_business-9.0.1-py3-none-any.whl#sha256=854e79cf8812cff403ff52d037b38e52d0381d316282de913cd2594f0d6ae12f:
        Expected sha256 854e79cf8812cff403ff52d037b38e52d0381d316282de913cd2594f0d6ae12f
             Got        751b1b2971b4dae84acc10a54bdbc05292c6f9f20b457985152e86583e8ff752

I couldn't find anywhere else to raise this issue:
https://pypi.org/project/facebook-business/
https://github.com/facebook/facebook-python-business-sdk

I don't get how the SHA can be different. I feel it must have been updated in one place and not another?

When I do:
curl -O https://files.pythonhosted.org/packages/d4/87/8848716e1c5379547a57698c2625b41d9f1c41515eb639ae5c53a2efb3d6/facebook_business-9.0.1-py3-none-any.whl sha256sum facebook_business-9.0.1-py3-none-any.whl
I get the correct hash

@ichard26
Copy link
Member

This is either one-off data corruption as it was transferred over the wire or an interrupted download being reported as a hash mismatch. Merging into #11153.

(I was not able to reproduce the error locally copying the expected hash into a requirements file.)

@ichard26 ichard26 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 26, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants