-
-
Notifications
You must be signed in to change notification settings - Fork 600
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
Fetching package info on non-pypa link #1179
Comments
Hello @Abhishek-Dev09, Thanks for the issue! That should work: $ git clone https://github.com/nexB/scancode-toolkit
$ pip-compile --generate-hashes --find-links=scancode-toolkit/thirdparty |
You cannot pass GitHub tree URL to --index-url, see the doc:
|
@atugushev : Thanks, But I do not want hashing from pypi instead it fetches from |
Ah, I see your point. A package, let's say, |
@atugushev : Yes, you understand my point. |
@pombredanne As we are dependent on this tools , soon this bug will be solved , then it get hash directly from wheel in 1st attempt only instead first from pypi then from wheel file in second attempt. |
Hashing packages from find links was fixed in #1723. |
Environment Versions
3.6.8
20.1.1
5.2.1
Steps to replicate
pip-compile --find-links=thirdparty --generate-hashes --index-url=https://github.com/nexB/scancode-toolkit/tree/develop/thirdparty
Actual result
Fetch package info from PyPI failed: https://github.com/nexB/scancode-toolkit/tree/develop/pypi/soupsieve/json: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /nexB/scancode-toolkit/tree/develop/pypi/soupsieve/json (Caused by ResponseError('too many 500 error responses',)) Couldn't get hashes from PyPI, fallback to hashing files Hashing soupsieve-1.9.2-py2.py3-none-any.whl pygments
Expected result - it would directly generate hash from file. For example-
Hashing soupsieve-1.9.2-py2.py3-none-any.whl pygments
The text was updated successfully, but these errors were encountered: