question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Kreshucommented, Aug 3, 2021

I confirm, removing old installation with get-poetry.py --uninstall and installing with new script solves the issue.

0reactions
staticdevcommented, Aug 3, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found