Can't self update to latest preview 1.2.0a2 (missing sha256sum)
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).
- OS version and name: Debian 11
- Poetry version: 1.1.7
- Link of a Gist with the contents of your pyproject.toml file: N/A
Issue
poetry --version
Poetry version 1.1.7
poetry self update --preview
Updating to 1.2.0a2
RuntimeError
Could not find poetry-1.2.0a2-linux.sha256sum file
at ~/.poetry/lib/poetry/console/commands/self/update.py:260 in _update
256│ try:
257│ r = urlopen(base_url + "/{}/{}".format(version, checksum))
258│ except HTTPError as e:
259│ if e.code == 404:
→ 260│ raise RuntimeError("Could not find {} file".format(checksum))
261│
262│ raise
263│
264│ checksum = r.read().decode().strip()
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Cannot update to latest pre-release due to missing ... - GitHub
Issue. Updating to the latest pre-release fails due to missing sha256sum file. poetry self update -vvv --preview.
Read more >Could not find poetry-1.2.2-linux.sha256sum file
Updating via poetry self update is not possible for these installation. Uninstall Poetry and reinstall with the recommended installer. More ...
Read more >poetry - PyPI
Poetry helps you declare, manage and install dependencies of Python projects, ensuring you have the right stack everywhere. Poetry Install. Poetry replaces ...
Read more >Important notes — Borg - Deduplicating Archiver 1.2.2 ...
Run borg upgrade --tam <repository> on every client for each repository. This will list all archives, including archive IDs, for easy comparison with...
Read more >Changelog — Python 3.11.1 documentation
gh-90473: Emscripten and WASI have no home directory and cannot provide PEP 370 ... gh-91456: Deprecate current default auto() behavior: In 3.13 the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I confirm, removing old installation with
get-poetry.py --uninstall
and installing with new script solves the issue.You are right, I made a confusion. I installed poetry in two machines and the one I got this error was with
get-poetry.py
.