[PR #2266] [MERGED] Fix: Gracefully handle errors during pip package enumeration #2391

Closed
opened 2026-10-28 21:09:27 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/ComfyUI-Manager/pull/2266
Author: @unclepomedev
Created: 11/10/2025
Status: ✅ Merged
Merged: 11/10/2025
Merged by: @ltdrdata

Base: main ← Head: squeeze_pip_uv_missing_exception


📝 Commits (1)

  • ed141e7 Fix: Gracefully handle errors during pip package enumeration

📊 Changes

1 file changed (+7 additions, -3 deletions)

View changed files

📝 glob/manager_core.py (+7 -3)

📄 Description

Issue

#2248

Changes

Modified get_installed_pip_packages() to suppress (squeeze) exceptions in order to prevent unexpected system shutdowns.

Notes

  • An environment-dependent issue. If you prefer to let the system crash early to catch such issues sooner, feel free to close this PR.
  • Please share any suggestions on how this exception should be handled if you have specific requirements.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/ComfyUI-Manager/pull/2266 **Author:** [@unclepomedev](https://github.com/unclepomedev) **Created:** 11/10/2025 **Status:** ✅ Merged **Merged:** 11/10/2025 **Merged by:** [@ltdrdata](https://github.com/ltdrdata) **Base:** `main` ← **Head:** `squeeze_pip_uv_missing_exception` --- ### 📝 Commits (1) - [`ed141e7`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/ed141e7850f9ae7f665496634295c2db98b66193) Fix: Gracefully handle errors during pip package enumeration ### 📊 Changes **1 file changed** (+7 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `glob/manager_core.py` (+7 -3) </details> ### 📄 Description ### Issue #2248 ### Changes Modified get_installed_pip_packages() to suppress (squeeze) exceptions in order to prevent unexpected system shutdowns. ### Notes - An environment-dependent issue. If you prefer to let the system crash early to catch such issues sooner, feel free to close this PR. - Please share any suggestions on how this exception should be handled if you have specific requirements. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-28 21:09:27 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#2391
No description provided.