If you need to test Python packages or applications across multiple test environments you need tox or Nox. In this video I explain the problems they solve, the differences between them, and how I choose for my projects with over 300 millions of monthly downloads.
🔗 Links
► https://tox.wiki/
► https://nox.thea.codes/
►
https://youtu.be/_FdjW47Au30
► Two Ways to Turbo-Charge tox: https://hynek.me/articles/turbo-charge-tox/
► Why I Like Nox: https://hynek.me/articles/why-i-like-nox/
🤓 ME ELSEWHERE
🏡: https://hynek.me/
🐘: https://mastodon.social/@hynek/
🦋: https://bsky.app/profile/hynek.me
🅇: https://twitter.com/hynek
🧵: https://www.threads.net/@the_hynek
✉️ Newsletter: https://buttondown.email/hynek
❤️ Support my work: https://hynek.me/say-thanks/
🌍 My employer: https://www.variomedia.de/
🙏 CREDITS
Music: @RPLKTR / https://rplktr.com/
📖 Chapters
00:00 Introduction
00:21 About Hynek & agenda
00:55 One thing they have in common: greatness
01:16 What & why?
02:00 Alternatives
02:32 Abstraction
03:00 Matrices
04:11 Sidenote: Just!
05:43 Origin Stories
07:02 File formats
08:00 setup.py: alive and kicking
08:37 Case study: problem statement
09:09 Case study: tox
13:04 Surprise hot take!
14:42 Case study: Nox
17:50 Repetition-free Python version metadata
18:37 Extending tox & Nox
20:28 How do I pick between them?
23:10 The Punch & ❤️❤️❤️