Migrating to OpenTelemetry Python v1.34.0
Version v1.34.0 introduces 2 breaking changes. This guide details how to update your code.
Released: 6/4/2025
2
Breaking Changes
2
Migration Steps
3
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
BatchLogRecordProcessorBatchSpanProcessorBatchLogRecordProcessor.emitBreaking Changes
●Issue #1
Support for Python 3.8 has been dropped. Users must upgrade to Python 3.9 or newer.
●Issue #2
Mypy type checking support has been dropped in favor of using sdk/resources for type checking.
Migration Steps
- 1Ensure your environment uses Python 3.9 or newer, as Python 3.8 is no longer supported.
- 2If you relied on mypy checks, note that they have been replaced by checks within sdk/resources.
Release Summary
This release drops support for Python 3.8, updates type checking mechanisms, and includes refactoring in log and span processors along with a fix for a shutdown recursion error.
Need More Details?
View the full release notes and all changes for OpenTelemetry Python v1.34.0.
View Full Changelog