python-poetry / python-poetry/install.python-poetry.org
ERROR: No matching distribution found for poetry==1.5.1
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 255
- Fork
- 65
- Merge medio
- 2h 48m
- PR unite (30g)
- 1
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il comando ufficiale dell’installer con Python 3.6 e confrontalo con il comando funzionante per Python 3.9 descritto nell’issue. Traccia il modo in cui l’installer seleziona Poetry 1.5.1 e determina dove una versione di Python non supportata dovrebbe produrre un errore chiaro. Il lavoro è completato quando il vecchio interprete non fallisce più con un errore di distribuzione fuorviante.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100