fix: remove script runners from NonDownloadCommands lists (#242)

Script runners (run, start, stop, restart, test, etc.) are not
package management commands — remove them so they go through the
proxy instead of being skipped.
This commit is contained in:
Sahil Bansal
2026-05-06 21:13:03 +05:30
committed by GitHub
parent d8abfb6c41
commit 5122a1594c
3 changed files with 7 additions and 24 deletions
-4
View File
@@ -62,10 +62,6 @@ func DefaultPoetryPackageManagerConfig() PypiPackageManagerConfig {
return PypiPackageManagerConfig{
InstallCommands: []string{"add"},
NonDownloadCommands: []string{
// Script runners — "run" executes a command in the venv (e.g., `poetry run uvicorn app:app`).
// "shell" activates the venv shell. Both may start long-running processes and must not
// have proxy env vars set against them.
"run", "shell",
// Removal
"remove",
// Inspection / read-only