Migrating to Weights & Biases v0.27.0
Version v0.27.0 introduces 2 breaking changes. This guide details how to update your code.
Released: 5/14/2026
2
Breaking Changes
2
Migration Steps
7
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
wandb.sandboxrun.write_logs()stop_on_fatal_errorfinish_timeoutfinish_timeout_raisescapture_loggersx_stats_no_cgroupBreaking Changes
●Issue #1
Support for Python 3.9 has been dropped. Code running on Python 3.9 will fail.
●Issue #2
Pydantic v1 is no longer supported. Users must upgrade to Pydantic v2.6 or newer. This removes the vendored `wandb_orjson` extension and the `WANDB_DISABLE_ORJSON` / `WANDB_BUILD_SKIP_ORJSON` environment variables.
Migration Steps
- 1Ensure your environment uses Python 3.10 or newer.
- 2Ensure your environment uses Pydantic version 2.6 or newer.
Release Summary
This release drops support for Python 3.9 and Pydantic v1, requiring Pydantic v2.6 or newer. New features include enhanced logging control and sandbox CLI access.
Need More Details?
View the full release notes and all changes for Weights & Biases v0.27.0.
View Full Changelog