python-poetry / python-poetry/install.python-poetry.org
ERROR: No matching distribution found for poetry==1.5.1
Personne n'a encore pris cette issue.
- Langage dominant
- Python
- Étoiles
- 255
- Forks
- 65
- Merge moyen
- 2 h 48 min
- PR mergées (30 j)
- 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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par reproduire la commande officielle de l’installateur avec Python 3.6 et comparez-la à la commande fonctionnelle avec Python 3.9 décrite dans l’issue. Suivez la manière dont l’installateur sélectionne Poetry 1.5.1 et déterminez à quel endroit une version de Python non prise en charge devrait produire une erreur claire. C’est terminé lorsque l’ancien interpréteur n’échoue plus avec une erreur de distribution trompeuse.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 48/100