python-poetry / python-poetry/install.python-poetry.org

ERROR: No matching distribution found for poetry==1.5.1

Open
#121 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
255
Forks
65
Avg merge
2h 48m
Merged PRs (30d)
1

Description

I had an issue installing on both Rocky Linux 8.7 and Ubuntu 20.04 LTS. Where the Official installer was failing to select a version that was available in the repo, and was just blindly trying to install v1.5.1. The solution was to specify a newer version of pythoon

Official instructions state the command to install is
curl -sSL https://install.python-poetry.org | python3 -

But this was resulting in Python 3.6 being used, which apparently is no longer supported. I had 3.9 installed on the systems.
The installer should really run a check to see if the python version it is using is too old and not supported and give an appropriate error. Alternatively, it could select the most up to date version that is available on that repo. Either way, it shouldn't fail with this error.

curl -sSL https://install.python-poetry.org | python3.9 - worked, but I wasted a fair bit of time working out why it was failing.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the official installer command with Python 3.6 and compare it with the working Python 3.9 command described in the issue. Trace how the installer selects Poetry 1.5.1 and determine where an unsupported Python version should produce a clear error. Done means the old interpreter no longer fails with a misleading distribution error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.