The exec sandbox has no GUI session, so Figure.show() can block until the
tool timeout. schemdraw's Drawing defaults to show=True and calls show() on
context exit even after save(), which makes a successfully saved plot look
like a timed-out execution. Pin MPLBACKEND=Agg for model-authored programs.
Co-Authored-By: Claude Code <noreply@anthropic.com>
Two processes (the CLI launcher and the uvicorn server) can install a
RotatingFileHandler for the same log file. On Windows the rename inside
doRollover() fails with WinError 32 while the other process holds the file
open, and the stock handler then raises on every subsequent emit: records
are dropped and stderr floods with --- Logging error --- tracebacks.
TolerantRotatingFileHandler reopens the current file after a failed
rotation, writes a single warning to stderr, and retries the rotation on
the next emit so it completes once the other process is gone.
Fixes#2563
DeepSeek-V4.1-Flash is natively multimodal, but every `deepseek-*` id
matched the broad `deepseek` override and resolved to
`supports_vision: False`. Mastery Path then refused to open source pages
with "The active model cannot inspect original pages", and the
multimodal layer stripped images before the request was sent — the model
was never asked.
Add narrow, vision-only overrides for the ids this model ships under,
including the namespaced spellings gateways publish, following the
existing Qwen-VL convention of listing both forms. Other DeepSeek text
models stay fail-closed, and the broader `deepseek` entry keeps
supplying response-format and thinking-tag handling.
The upstream fix already shipped in v1.7.2 (manifest drops docling's
format-video extra, keeping docling[xbrl] and
docling-slim[format-iwork,format-opendocument]). Extend the #2327
regression test to the resolved source-extras plan that
scripts/install_extras.py feeds to pip in the official image, so
re-adding format-video / resemblyzer / webrtcvad anywhere in the
parser-docling module graph (including the shared parsing module)
fails before it breaks the no-gcc container.
The dev extra still pinned safety<3.0.0, but Safety was already dropped
from .pre-commit-config.yaml ("Replaced Safety with pip-audit due to
version 3.x breakdown") and nothing else runs it. safety 2.3.5 requires
packaging<22, while DeepTutor requires packaging>=24.2.
scripts/install_extras.py passes only the missing extras to pip, so pip
does not weigh DeepTutor's own requirements. The documented setup step
`python scripts/install_extras.py dev` therefore downgraded packaging
from 26.3 to 21.3, broke deeptutor's and litellm's requirements
(pip check), and held pytest at 8.4.2, because pytest 9 needs
packaging>=24.
Drop the unused pin from pyproject.toml and requirements/dev.txt, which
must stay in sync.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>