Suggestion: Installing prerequisites within the scope of the pyenv installer script itself

Aperta
#157 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
shell
Ambito
cli

Direzione di ricerca

Start by reading the pyenv-installer script and the linked pyenv wiki page on suggested build environments. The issue proposes detecting and installing Git and Python build prerequisites; done would mean the installer handles those prerequisites before pyenv is used to install Python. The issue has had no comment for 353 days, so check for maintainer guidance before taking it on.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Assuming we agree that the installers job is to install prerequisites it should have practically no prerequisites itself.

Accepted, that git is installed 99% of hosts already, but if it doesn't, then this script should be able to detect and fix it.

Now the other part:

pyenv-installer should install pyenv, which itself is an installer for python (so it should be able to install dependencies ahead, but ...)

so even if pyenv can't install the dependencies of python packages the pyenv installer should be able to do that:

https://github.com/pyenv/pyenv/wiki#suggested-build-environment

(so that pyenv install python 3.10.4 won't fail 30 seconds later).

Lingua principale
Shell
Stelle
4.1k
Fork
454
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pyenv/pyenv-installer

Tutte le issue di pyenv/pyenv-installer

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.