microsoft / microsoft/vscode-python-environments
Extension support for environment managers
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 138
- Fork
- 62
- Merge trung bình
- 1 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 35
Mô tả
# Overview
The intent of the Python Environments extension is to enable developers to provide support for their favorite Python environment and package managers by shipping support via its own extension. This extension provides mechanisms for users to interact with environment managers to create, select, and install packages, etc. Your extension will depend on this extension for user interactions, and you can handle the various core features of the environment manager in your extension. This ensures a consistent experience for the user with specific support for each environment manager.
We are looking for community support to build and maintain these extensions!
## APIs
This extension provides a set of APIs for developers to register their own Environment and Package managers. We are also looking for feedback on the APIs. See here for more details: https://github.com/microsoft/vscode-python-environments?tab=readme-ov-file#api-reference-proposed
## Help wanted
### Environment manager
| Env manager | Status |
| --- | --- |
| `venv` | Built-in [1] |
| `conda` | Expecting community extension [2] |
| `poetry` | Expecting community extension |
| `pyenv` | Expecting community extension |
| `pixi` | [In progress](https://github.com/jjjermiah/pixi-vscode) @jjjermiah |
| `hatch` | [In progress](https://github.com/flying-sheep/vscode-hatch) @flying-sheep |
| `pipenv` | Expecting community extension |
| `uv` | Expecting community extension |
| `activaState` | Expecting community extension |
[1]: `venv` (built-in) will use `uv` if available for environment creation, package install and delete.
[2] : We have demo support for `conda` to show case some of the features of the extension. But we are expecting community extension for full featured support (like for example stacked envs in conda)
### Package manager
| Package Manager | Status |
| --- | --- |
| `pip` | Built-in |
| `conda` | Expecting community extension [1] |
[1] : We have demo support for `conda` to show case some of the features of the extension. But we are expecting community extension for full featured support.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với tài liệu tham chiếu API được đề xuất và liên kết trong issue, rồi so sánh các bảng environment-manager và package-manager. Chọn một manager và xác định đầy đủ các hỗ trợ được kỳ vọng thông qua các API đăng ký; để hoàn thành sẽ cần một tiện ích mở rộng cộng đồng được duy trì, nhưng issue không nêu tệp repository hay bài kiểm thử nào.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python, typescript, vscode
- Lĩnh vực
- developer-experience, tooling
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100