
Python Bytes #462 LinkedIn Cringe
39 snips
Dec 15, 2025 The hosts dive into the challenges of deprecation warnings often being ignored in Python libraries. They propose innovative solutions to surface these warnings during testing. An exciting highlight is PyAtlas, an interactive map showcasing the top 10,000 Python packages, revealing hidden gems like enhanced pytest tools. Michael introduces a collaborative documentation platform developed by the French and German governments. The discussion also covers quirky tools like the Thanos CLI and offers humorous takes on LinkedIn cringe moments.
AI Snips
Chapters
Transcript
Episode notes
Deprecation Warnings Often Go Unseen
- Deprecation warnings are often invisible by default in many Python environments, so libraries' deprecations may not reach users.
- Michael Kennedy and Brian Okken argue that warnings should escalate and be more visible to prompt fixes.
Make Deprecations Fail Your Tests
- When testing, enable and treat deprecation warnings as failures to catch breaking changes early.
- Use pytest's feature to turn specific warnings into errors so tests fail on deprecated API usage.
Escalate Deprecation Alerts Over Time
- Escalate deprecation messaging over time, from subtle warnings to loud, unmistakable alerts before removal.
- Consider showing each warning at least once per process (e.g., -W once) so developers notice without noisy repetition.

