Ruff 0.17.6 fixes a syntax-breaking autofix
Also: LangChain's streaming fix, OpenRouter's Python floor, and a Mistune patch
Ruff fixed a cleanup rule that could turn a valid inline try into broken Python. Check your Ruff version if your editor or CI applies fixes.
The main thing

Ruff 0.17.6 fixes the fixer. The November 19, 2026 release fixes RUF072, the rule for useless finally blocks. Its autofix could leave a syntax error when the try body was written inline. Removing dead code shouldn't make the rest of the file stop running.
If CI only reports lint findings, this bug doesn't rewrite anything. If your editor fixes on save or your hook applies fixes, bump the version there as well as in CI. A new CLI on your laptop doesn't update a pinned hook.
Other changes can move the lint baseline even without a rewrite. Ruff used to miss some uses of local variables before assignment (F823) when the same name was assigned more than once. It now avoids false positives from loop rules (PLR1733 and PLR1736) when the collection changes during the loop.
For test suites, the unused-variable rule (F841) now ignores __traceback_hide__. If your code uses that special name to hide a helper from pytest tracebacks, an “unused” local can be doing real work. Check whether you can retire a local lint suppression when you bump the pin.
One thing to try separately: preview mode adds a fix for TC010, the runtime string union rule.
Ruff now decodes in-memory notebooks straight from their source strings and streams JSON diagnostics to the writer. The release notes don't put a number on either change.
Before you upgrade

LangChain preserves streamed Responses tool arguments. Try langchain-openai==1.8.5 if you stream tool calls, and test that the assembled arguments survive to the end of the stream. The preceding 1.8.4 release makes in-stream server errors retryable and notes a LangGraph floor of 1.2.16. Check the combination if you pin both.
LangChain's OpenRouter integration drops Python 3.10. The November 19, 2026 release, 0.3.0, needs Python 3.11 or later and langchain-core 1.8.3 or later. On Python 3.10, the maintainers say you'll still resolve the 0.2.x line. A successful install is no guarantee you got the new release; look at what resolved.
Patch check

Mistune fixes two parser slowdowns. If your app renders user-supplied Markdown, upgrade from versions below 3.3.4 to 3.3.4 or later. The advisories describe quadratic parsing time for some links and inline images. The concern is CPU time spent on the input, before you have any HTML to sanitize.
django-docutils changes its rendering defaults. If you render reStructuredText from users, upgrade from versions below 0.30.0 to 0.30.0. The advisory says the old defaults could expose local files, fetch remote content or emit raw HTML. The fix disables file insertion and raw directives by default.
Check the version your editor actually calls; that's the Ruff upgrade you'll feel first.