DiscoverPython Bytes#459 Inverted dependency trees
#459 Inverted dependency trees

#459 Inverted dependency trees

Update: 2025-11-24
Share

Description

Topics covered in this episode:


About the show



Sponsored by us! Support our work through:





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.



Michael #0: Black Friday is on at Talk Python





Brian: This is peer pressure in action





Michael #1: PEP 814 – Add frozendict built-in type




  • by Victor Stinner & Donghee Na

  • A new public immutable type frozendict is added to the builtins module.

  • We expect frozendict to be safe by design, as it prevents any unintended modifications. This addition benefits not only CPython’s standard library, but also third-party maintainers who can take advantage of a reliable, immutable dictionary type.

  • To add to existing frozen types in Python.



Brian #2: From Material for MkDocs to Zensical





Michael #3: Tach




  • Keep the streak: pip deps with uv + tach

  • From Gerben Decker

  • We needed some more control over linting our dependency structure, both internal and external.

  • We use tach (which you covered before IIRC), but also some home built linting rules for our specific structure. These are extremely easy to build using an underused feature of ruff: "uv run ruff analyze graph --python python_exe_path .".

  • Example from an app I’m working on (shhhhh not yet announced!)



Brian #4: Some Python Speedups in 3.15 and 3.16





Extras



Brian:





Michael:





Joke: git pull inception

Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

#459 Inverted dependency trees

#459 Inverted dependency trees

Michael Kennedy and Brian Okken