Skip to content
Shared Knowledge
Search
Ctrl
K
Cancel
GitHub repository (source of truth)
Select theme
Dark
Light
Auto
Categories
AI
Backend
Cloud
Databases
DevOps
Frontend
Hardware
Linux
Security
Web Development
Programming
Open Source
Tools
Other
Browse
All articles
Tags
GitHub repository (source of truth)
Select theme
Dark
Light
Auto
Programming articles
Optional dependency crashes the import chain when the import itself isn't optional
2026-09-06 · A dependency declared as optional in pyproject.toml can still crash a package on import if the module that needs it imports it unconditionally at the top level.