`pip` timeouts can cause complete deletion of package directory contents on Windows
@chennes is already working on this.
Since Jun 29, 2026.
Assessment
This issue has not been assessed yet.
Description
For background see https://github.com/FreeCAD/FreeCAD/issues/25810
The Addon Manager calls pip with a predefined timeout. This is problematic for several reasons:
- The main mechanism for doing the update does not update the UI with any kind of indication that it's still going, and the timeout is now very long.
- It's not cancellable by the user, even though the underlying call is, so it could be.
- On Windows, when the
pip --upgradecall is terminated by a timeout, it deletes the contents of the target directory. So we need to make a backup before beginning. This would be a good idea anyway, so if the upgrade fails it can be dealt with.
- Dominant language
- Python
- Stars
- 24
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FreeCAD/AddonManager
-
Difficulty 3/5 1-2 days Newbie friendliness 56/100
FreeCAD/AddonManager#534 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
FreeCAD/AddonManager#532 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 22/100
FreeCAD/AddonManager#529 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
FreeCAD/AddonManager#528 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
FreeCAD/AddonManager#527 · 1 comment ·
All issues in FreeCAD/AddonManager
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
hugohe3/ppt-master#366 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 89/100
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
521xueweihan/HelloGitHub#4716 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
pcqpcq/open-source-android-apps#619 ·
Maintainers usually reply within 1 day
-
contribution Windows 主机
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Lee-xeo/Claude-Cage#1519 ·
Maintainers usually reply within 1 day