Файли
openidea/docs
LU XIANGRUIтаwildcatDownstairs 0b1a675fab fix(python): install from disk never falls back to PyPI, editable only for a local directory (#6617)
Install from Disk resolved only paths starting with '.', and pip runs in a temporary folder, so a bare name like 'mylib' installed the PyPI package of that name. A typed relative path is now sent as './...' (resolved against the project) and '~/' expands to the home folder, so pip always gets an absolute path. Editable installs are offered and accepted only for a local directory: an editable clone of a repository would land in pip's temporary folder. The version control dialog accepts only vcs+scheme:// URLs, and an archive disables editable.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-28 11:09:48 +08:00
..