Topics covered in this episode: Git Town solves the problem that using the Git CLI correctlyPEP 751 – A file format to record Python dependencies for installation reproducibility git-who and watchghaShare Python Scripts Like a Pro: uv and PEP 723 for Easy DeploymentExtrasJokeWatch on YouTube About the show Sponsored by Posit Package Manager: pythonbytes.fm/ppm Connect with the hosts Michael: @mkennedy@fosstodon.org / @mkennedy.codes (bsky)Brian: @brianokken@fosstodon.org / @brianokken.bsky.socialShow: @pythonbytes@fosstodon.org / @pythonbytes.fm (bsky) 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 #1: Git Town solves the problem that using the Git CLI correctly Git Town is a reusable implementation of Git workflows for common usage scenarios like contributing to a centralized code repository on platforms like GitHub, GitLab, or Gitea. Think of Git Town as your Bash scripts for Git, but fully engineered with rock-solid support for many use cases, edge cases, and error conditions.Keep using Git the way you do now, but with extra commands to create various branch types, keep them in sync, compress, review, and ship them efficiently.Basic workflow Commands to create, work on, and ship features. git town hack - create a new feature branchgit town sync - update the current branch with all ongoing changesgit town switch - switch between branches visuallygit town propose - propose to ship a branchgit town ship - deliver a completed feature branchAdditional workflow commands Commands to deal with edge cases. git town delete - delete a feature branchgit town rename - rename a branchgit town repo - view the Git repository in the browser Brian #2: PEP 751 – A file format to record Python dependencies for installation reproducibility AcceptedFrom Brett Cannon “PEP 751 has been accepted! This means Python now has a lock file standard that can act as an export target for tools that can create some sort of lock file. And for some tools the format can act as their primary lock file format as well instead of some proprietary format.”File name: pylock.toml or at least something that starts with pylock and ends with .tomlIt’s exciting to see the start of a standardized lock file Michael #3: git-who and watchgha git-who is a command-line tool for answering that eternal question: Who wrote this code?!Unlike git blame, which can tell you who wrote a line of code, git-who tells you the people responsible for entire components or subsystems in a codebase. You can think of git-who sort of like git blame but for file trees rather than individual files. And watchgha - Live display of current GitHub action runs by Ned Batchelder Brian #4: Share Python Scripts Like a Pro: uv and PEP 723 for Easy Deployment Dave JohnsonNice full tutorial discussing single file Python scripts using uv with external dependencies Starting with a script with dependencies.Using uv add --script [HTML_REMOVED] [HTML_REMOVED] to add a /// script block to the topUsing uv runAdding #!/usr/bin/env -S uv run --script shebangEven some Windows advice Extras Brian: April 1 pranks done well BREAKING: Guido van Rossum Returns as Python’s BDFL including Brett Cannon noted as “Famous Python Quotationist”Guido taking credit for “I came for the language but I stayed for the community” which was from Brettthen Brett’s title of “Famous Python Quotationist” is crossed out.Barry Warsaw asking Guido about releasing Python 2.8 Barry is the FLUFL, “Friendly Language Uncle For Life “Mariatta can’t get Guido to respond in chat until she addresses him as “my lord”.“… becoming one with whitespace.”“Indentation is Enlightenment” Upcoming new keyword: maybe Like “if” but more Pythonicas in Maybe: print("Python The Documentary - Coming This Summer!")I’m really hoping there is a documentaryApril 1 pranks done poorly Note: pytest-repeat works fine with Python 3.14, and never had any problemsIf you have to explain the joke, maybe it’s not funny.The explanation pi, an irrational number, as in it cannot be expressed by a ratio of two integers, starts with 3.14159 and then keeps going, and never repeats.Python 3.14 is in alpha and people could be testing with it for packagesTest & Code is doing a series on pytest pluginspytest-repeat is a pytest plugin, and it happened to not have any tests for 3.14 yet.Now the “joke”. I pretended that I had tried pytest-repeat with Python 3.14 and it didn’t work.Test & Code: Python 3.14 won't repeat with pytest-repeatThus, Python 3.14 won’t repeat.Also I mentioned that there was no “rational” explanation.And pi is an irrational number. Michael: pysqlscribe v0.5.0 has the “parse create scripts” feature I ...