remove notebooks
Some checks failed
tests / core (macos-latest, py3.11) (push) Has been cancelled
tests / core (macos-latest, py3.12) (push) Has been cancelled
tests / core (macos-latest, py3.13) (push) Has been cancelled
tests / core (ubuntu-latest, py3.11) (push) Has been cancelled
tests / core (ubuntu-latest, py3.12) (push) Has been cancelled
tests / core (ubuntu-latest, py3.13) (push) Has been cancelled
tests / doctor CLI smoke test (push) Has been cancelled

- Delete notebooks/ (personal scratch artifacts; gitignored)
- Move nbformat to --extra migrate; lazy imports in migrate.py and
  cli.py so base CLI loads without it
- Restore langchain-text-splitters in core (chunking dependency)
This commit is contained in:
2026-07-21 00:47:52 +02:00
parent 7de0e716eb
commit c5bf5d2b0c
10 changed files with 19 additions and 11063 deletions

View File

@@ -6,8 +6,6 @@ import platform
from pathlib import Path
from typing import Any
import nbformat
from ocr_pipeline.utils.logging import get_logger
logger = get_logger(__name__)
@@ -36,6 +34,8 @@ def _get_pictures_dir() -> Path:
def parse_notebook_for_images(notebook_path: Path) -> list[Path]:
image_paths = []
try:
import nbformat
with open(notebook_path) as f:
nb = nbformat.read(f, as_version=4)