hash mismatch for local pypi deps #10520
Unanswered
Abhinav-Upadhya-ni
asked this question in
Q&A
Replies: 1 comment 7 replies
-
What am I missing? Is there a subtlety in how Poetry computes or stores hashes for local wheels, or is there a bug in how Poetry handles local wheel dependencies in custom groups? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
When using local wheel files(path = "/absolute/path/pkg.whl") as dependencies in poetry 2.x, the lock/install flow fails with hash mismatch if the wheel is rebuilt after the initial lock.
This worked in poetry 1.8.x, but in 2.x the wheel file's sha256 is pinned into poetry.lock. Any change to wheel(even with same version and filename) causes:
poetry version: 2.1.3
Beta Was this translation helpful? Give feedback.
All reactions