[Feature Request] Subshell Support

Đang mở
#318 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python, shell
Lĩnh vực
cli

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
Shell
Star
6.7k
Fork
433
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pyenv/pyenv-virtualenv

Tất cả issue của pyenv/pyenv-virtualenv

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.