4 ms·
> Just nuke and recreate venv from scratch using only what you need. That's great until you have dynamic dependencies which means you can run apparently happy
by imglorp 2y ago
> Just nuke and recreate venv from scratch using only what you need.
That's great until you have dynamic dependencies which means you can run apparently happy yet fail later on an import. This means you have to take special care generating your dep list.
- slt2021 2y agoThats what pytest is for, it is important to have tests that cover your most important code paths so these these dynamic imports are ran. Due to dynamic natire of language, coding in python without strong test culture is masochism and full of footguns anyways