Content provided by Michael Kennedy and Brian Okken. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Michael Kennedy and Brian Okken or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!
icon Daily Deals

#430 Or you go to jail

29:11
 
Share
 

Manage episode 479655480 series 1305988
Content provided by Michael Kennedy and Brian Okken. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Michael Kennedy and Brian Okken or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.
Topics covered in this episode:
Watch on YouTube
About the show

Sponsored by Porkbun! Use our link pythonbytes.fm/porkbun and get a .app or .dev domain for $5.99 at Porkbun.

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: pip 25.1 has dependency groups, pylock.toml, plus more

  • post What's new in pip 25.1 - Dependency groups!
  • Richard Si
  • Discovered this through Hugo van Kemenade
  • Dependency groups, PEP 735, supported

    # pyproject.toml [dependency-groups] test = ["pytest", "pytest-xdist"] lint = ["mypy", "isort"] # Dependency Groups can include other groups! ✨ dev = [ {include-group = "test"}, {include-group = "lint"} ] 
  • Package installation progress bar

  • Resumable downloads
  • Experimental lockfile generation, PEP 751, with pip lock
    • so cool
  • pip index versions is stable, no longer experimental
    • use this to get a list of available versions
    • ex: python3 -m pip index versions pytest-check
    • combine with --json to get a nice script readable output

Michael #2: aiohttp goes free threaded

  • Thanks to months of consistent contributions by Lysandros Nikolaou, all of the mandatory dependencies of #aiohttp now ship free-threaded variants of #wheels!
  • This unlocks the same in aiohttp!

Brian #3: uv 0.6.15 supports pylock.toml

  • Discovered through Brett Cannon
  • So far, these projects support pylock.toml
    • pip
    • pip-audit
    • pdm
    • uv
  • With uv
    • To export a uv.lock to the pylock.toml format,
      • run: uv export -o pylock.toml
    • To generate a pylock.toml file from a set of requirements,
      • run: uv pip compile -o pylock.toml -r requirements.in
    • To install from a pylock.toml file,
      • run: uv pip sync pylock.toml or uv pip install -r pylock.toml

Michael #4: Whenever

  • via Pat Decker
  • Typed and DST-safe datetimes for Python, available in Rust or pure Python.
  • Whenever helps you write correct and type checked datetime code.
  • It's also way faster than other third-party libraries—and usually the standard library as well.

Extras

Brian:

Michael:

Joke: Can you Vibe?

  continue reading

436 episodes

#430 Or you go to jail

Python Bytes

1,834 subscribers

published

iconShare
 
Manage episode 479655480 series 1305988
Content provided by Michael Kennedy and Brian Okken. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Michael Kennedy and Brian Okken or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.
Topics covered in this episode:
Watch on YouTube
About the show

Sponsored by Porkbun! Use our link pythonbytes.fm/porkbun and get a .app or .dev domain for $5.99 at Porkbun.

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: pip 25.1 has dependency groups, pylock.toml, plus more

  • post What's new in pip 25.1 - Dependency groups!
  • Richard Si
  • Discovered this through Hugo van Kemenade
  • Dependency groups, PEP 735, supported

    # pyproject.toml [dependency-groups] test = ["pytest", "pytest-xdist"] lint = ["mypy", "isort"] # Dependency Groups can include other groups! ✨ dev = [ {include-group = "test"}, {include-group = "lint"} ] 
  • Package installation progress bar

  • Resumable downloads
  • Experimental lockfile generation, PEP 751, with pip lock
    • so cool
  • pip index versions is stable, no longer experimental
    • use this to get a list of available versions
    • ex: python3 -m pip index versions pytest-check
    • combine with --json to get a nice script readable output

Michael #2: aiohttp goes free threaded

  • Thanks to months of consistent contributions by Lysandros Nikolaou, all of the mandatory dependencies of #aiohttp now ship free-threaded variants of #wheels!
  • This unlocks the same in aiohttp!

Brian #3: uv 0.6.15 supports pylock.toml

  • Discovered through Brett Cannon
  • So far, these projects support pylock.toml
    • pip
    • pip-audit
    • pdm
    • uv
  • With uv
    • To export a uv.lock to the pylock.toml format,
      • run: uv export -o pylock.toml
    • To generate a pylock.toml file from a set of requirements,
      • run: uv pip compile -o pylock.toml -r requirements.in
    • To install from a pylock.toml file,
      • run: uv pip sync pylock.toml or uv pip install -r pylock.toml

Michael #4: Whenever

  • via Pat Decker
  • Typed and DST-safe datetimes for Python, available in Rust or pure Python.
  • Whenever helps you write correct and type checked datetime code.
  • It's also way faster than other third-party libraries—and usually the standard library as well.

Extras

Brian:

Michael:

Joke: Can you Vibe?

  continue reading

436 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

icon Daily Deals
icon Daily Deals
icon Daily Deals

Quick Reference Guide

Listen to this show while you explore
Play