Spaces:
Running
Running
Exclude Python/system packages from sync
Browse filesAdded exclusions for Python/system package directories to prevent syncing issues.
- jupyter-devdata-sync.py +8 -0
jupyter-devdata-sync.py
CHANGED
|
@@ -49,6 +49,14 @@ EXCLUDE = {
|
|
| 49 |
"HuggingClaw",
|
| 50 |
"HuggingClaw-Workspace",
|
| 51 |
"browser-deps",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
}
|
| 53 |
|
| 54 |
|
|
|
|
| 49 |
"HuggingClaw",
|
| 50 |
"HuggingClaw-Workspace",
|
| 51 |
"browser-deps",
|
| 52 |
+
# Exclude Python/system package directories — these contain thousands of files
|
| 53 |
+
# (e.g. .local/lib/python3.11/site-packages/) and must not be synced to the
|
| 54 |
+
# HF Dataset. Syncing them causes 10,000+ file fetches on every restore and
|
| 55 |
+
# can restore a broken jsonschema that crashes JupyterLab on boot.
|
| 56 |
+
".local",
|
| 57 |
+
"lib",
|
| 58 |
+
"site-packages",
|
| 59 |
+
"__pycache__",
|
| 60 |
}
|
| 61 |
|
| 62 |
|