mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 14:59:51 +08:00
The plugin installer and the plugin worker run their children with a POSIX-only allowlist (PATH, HOME, LANG, TMPDIR, ...). On Windows that drops SYSTEMROOT, which Winsock and the TLS providers need: pip fails to build its SSL context, so every plugin install exited 2, and a worker cannot open a socket (WinError 10106), so asyncio and HTTP clients fail before plugin code runs. Keep SYSTEMROOT, WINDIR, TEMP, TMP, USERPROFILE and PATHEXT when present. They carry no credentials; provider keys are still dropped.