дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-06 10:07:11 +02:00
Root detection only skipped environments named `venv` / `.venv`. A venv with another name in the project (e.g. `code10`) was walked into, and any package in its site-packages that ships `pyproject.toml`, `setup.py` or `requirements.txt` became a source root. Source roots go on PYTHONPATH for runs, so a package directory with an `io` package shadowed the standard library and Python 3.10 failed at startup with `init_sys_streams: module 'io' has no attribute 'open'`. A directory with `pyvenv.cfg` (venv, virtualenv, uv) or `conda-meta` (conda) is now an excluded root and not searched for modules; creating one re-runs detection. Project discovery in the workspace folder picker skips such directories too, so packages inside an environment are not offered as projects.