microsoft / microsoft/vscode-python-environments

Use the Prefix path for the environment when autofinding projects

未关闭
#406 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug help wanted needs PR
主要语言
TypeScript
星标
138
派生
62
平均合并
1 天 4 小时
30 天内合并 PR
35

描述

Actually, we need to use the Prefix path for the environment. This is not always good enough. I think for now `.venv` is ok, but really we should use the sysPrefix path for environment for the workspace and ignore all `pyproject.toml` or `setup.py` from there.

_Originally posted by @karthiknadig in https://github.com/microsoft/vscode-python-environments/pull/405#discussion_r2087610280_

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

未指定文件或测试。首先跟踪项目的 autofinding 入口点以及它如何选择环境路径;将当前 `.venv` 的行为与所请求的 Prefix 或 sysPrefix 路径进行比较。当 workspace 发现使用环境的 sysPrefix,并忽略其中的 `pyproject.toml` 和 `setup.py` 时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python, typescript
领域
devtools, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。