-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Private repository dependency isn't exported with sha256 hash #1631
Comments
Did you find any work around @petergaultney ? This is burning my team badly as well.... |
I've been blocked by this problem too, and have had a look into it. In my case, the private repo is hosted on jfrog artifactory, and the problem is ultimately caused by an artifactory bug. To briefly describe this what happens:
Solutions:
Next actions:
|
I recommend commenting on this https://www.jfrog.com/jira/browse/RTFACT-18495 ARTIFACTORY issue and voting - JFROG hasn't even responded, so it seems like it needs a bit more attention. |
I think it would be a really nice feature if poetry generated hashes when they weren't present. @robpob10 have you drafted anything up? I'd love to help move this forward |
I'd also be interested in helping this move forward as it seems to be a blocker in our suggested workflow with poetry. |
In some cases, legacy repositories might not provide a checksum as a url fragment or use a deprecated algorithm. In these scenarios, this change ensures that poetry downloads and calculates the sha256 checksum for the file. Resolves: python-poetry#1631 python-poetry#1553
In some cases, legacy repositories might not provide a checksum as a url fragment or use a deprecated algorithm. In these scenarios, this change ensures that poetry downloads and calculates the sha256 checksum for the file. Resolves: python-poetry#1631 python-poetry#1553
in my case I am using gemfury to store packages. |
Similar issue here. Appears to be related to non pypi repos. Not sure exporting md5 would be useful since pip would refuse to install it with a md5 hash. |
Is seems this could be a good use case for a plugin if it doesn't make its way in to core? |
In some cases, legacy repositories might not provide a checksum as a url fragment or use a deprecated algorithm. In these scenarios, this change ensures that poetry downloads and calculates the sha256 checksum for the file. Resolves: python-poetry#1631 python-poetry#1553
In some cases, legacy repositories might not provide a checksum as a url fragment or use a deprecated algorithm. In these scenarios, this change ensures that poetry downloads and calculates the sha256 checksum for the file. Resolves: python-poetry#1631 python-poetry#1553
Just for reference same issue with Nexus: https://issues.sonatype.org/browse/NEXUS-24127 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
MD5 hashes aren't supported by
pip
, and SHA256 hashes should be preferred for other reasons as well.However, it appears that
poetry
doesn't want to use/calculate the SHA256 hash for a package installed from a private repository.All my other packages have the right type of hash embedded in the
poetry.lock
.Note
xoipy
, which hasmd5
s specified. The repository itself provides the SHA256 sums, though I have not yet found the code that actually pulls those down, so I can't confirm thatpoetry
is receiving them. If/when I do, I will update this report.The text was updated successfully, but these errors were encountered: