AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Streamlining Dependency Management with PEP 735
This chapter explores PEP 735, which introduces dependency groups in PyProject.toml to improve Python's dependency management. It contrasts the new format with existing methods and highlights its advantages, such as better organization and the ability to manage independent sets of dependencies.
About the show
Sponsored by ScoutAPM: pythonbytes.fm/scout
Connect with the hosts
Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too.
Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.
Brian #1: Open Source Pledge
Michael #2: Jeff Triplet's DjangoTV
Brian #3: PEP 735 – Dependency Groups in pyproject.toml
ex:
[dependency-groups]
test = ["pytest", "coverage"]
docs = ["sphinx", "sphinx-rtd-theme"]
typing = ["mypy", "types-requests"]
typing-test = [{include-group = "typing"}, {include-group = "test"}, "useful-types"]
“might” work like this: pip install --dependency-groups=test,typing
Michael #4: livereload
Extras
Brian:
Michael:
Joke:
Listen to all your favourite podcasts with AI-powered features
Listen to the best highlights from the podcasts you love and dive into the full episode
Hear something you like? Tap your headphones to save it with AI-generated key takeaways
Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more
Listen to all your favourite podcasts with AI-powered features
Listen to the best highlights from the podcasts you love and dive into the full episode