You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to install a wheel that I manually added to a private repository, and I am getting the following error:
Using python3.7 (3.7.15)
Updating dependencies
Resolving dependencies... (41.7s)
Package operations: 1 install, 0 updates, 0 removals
• Installing *** Failed
RuntimeError
Retrieved digest for link ***.whl(sha256:7e212339b430e5f63578209c52931feab24d9e18c2337d539b5ac390f252b030) not in poetry.lock metadata ['sha256:3a348d6db3dc8732ee3cdc71b5f94771950698f93573ae74606415749639a24f']
at ~/.local/share/pypoetry/venv/lib/python3.10/site-packages/poetry/installation/chooser.py:144 in _get_links
140│
141│ selected_links.append(link)
142│
143│ if links and not selected_links:
→ 144│ raise RuntimeError(
145│ f"Retrieved digest for link {link.filename}({h}) not in poetry.lock"
146│ f" metadata {hashes}"
147│ )
148│
The "7e2" hash is the correct sha256 hash of the wheel, but I have no idea where poetry gets the "3a3" hash from.
This is almost assuredly an issue with a malformed wheel, but I cannot figure out how to set the wheel with an appropriate hash, or where it retrieves the "3a3" hash from.
I have deleted the cache and the lock file multiple times, and always the same issue.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am trying to install a wheel that I manually added to a private repository, and I am getting the following error:
The "7e2" hash is the correct sha256 hash of the wheel, but I have no idea where poetry gets the "3a3" hash from.
This is almost assuredly an issue with a malformed wheel, but I cannot figure out how to set the wheel with an appropriate hash, or where it retrieves the "3a3" hash from.
I have deleted the cache and the lock file multiple times, and always the same issue.
any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions