[Feature Request] Subshell Support

Aperta
#318 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python, shell
Ambito
cli

Direzione di ricerca

Start by reviewing how pyenv shell venv_name and pyenv shell --unset currently manage the environment, then compare the subshell behavior described for pew, pipenv, and poetry. Done would require a defined and implemented subshell entry and exit flow that provides the requested isolation and convenience.

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

Descrizione

Tools such as pew, pipenv, and poetry all seem to support the creation of a subshell when entering a virtualenv. Although pyenv provides all the functionality that can be achieved in a subshell within the shell that it is launched, there is a certain degree of isolation as well as convenience associated with a subshell that the current setup

$ pyenv shell venv_name
(venv_name) $ python somescript.py
(venv_name) $ pyenv shell --unset
$ █

lacks.

Is there any possibility that pyenv could provide this same sort of functionality?

Lingua principale
Shell
Stelle
6.7k
Fork
433
Merge medio
1g 8h
PR unite (30g)
11

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-virtualenv

Tutte le issue di pyenv/pyenv-virtualenv

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.