posit-dev / posit-dev/rsconnect-python

Docs: how does rsconnect choose a Python version

Aperta
#592 0 commenti 4 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Python
Stelle
37
Fork
28
Merge medio
1g 3h
PR unite (30g)
7

Descrizione

The documentation for rsconnect-python has information on how Connect selects a Python version, but not on how rsconnect selects a version when deploying.

I have a vague feeling that the version of Python is decided by the environment from which the command is run - i.e., the first version of Python found on the PATH when using rsconnect deploy...

The section titled Creating a Manifest for Future Deployment alludes to this, but it is no where made explicit:

It will contain the package dependencies from the current Python environment, or from an alternative Python executable specified in the --python option.

https://docs.posit.co/rsconnect-python/#creating-a-manifest-for-future-deployment

I think we (Support, end users) would benefit from making this information explicit.

Guida per i contributori

Apri la guida per i contributori

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.

Direzione di ricerca

Leggi la sezione «Creare un manifest per il deployment futuro» e il comportamento alla base di rsconnect deploy..., inclusa l’opzione --python. Conferma in che modo l’ambiente di deployment seleziona Python, quindi documenta esplicitamente tale selezione e chiarisci come si collega alle indicazioni del manifest.

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

Valutazione

Stack tecnologico
python
Ambito
documentation
Tipo di issue
Documentazione
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.