Topics covered in this episode:- Django 5.0 beta 1 released
- git bash, terminals, and Windows
- Mastering Integration Testing with FastAPI
- Reuven Learner has been banned for trading in rare animals (Pythons and Pandas)
- Extras
- Joke
Watch on YouTube
About the show
Sponsored by us! Support our work through:
- Our courses at Talk Python Training
- The Complete pytest Course
- Patreon Supporters
Connect with the hosts
- Michael: @mkennedy@fosstodon.org
- Brian: @brianokken@fosstodon.org
- Show: @pythonbytes@fosstodon.org
Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Tuesdays at 11am PT. Older video versions available there too.
Brian #1: Django 5.0 beta 1 released
- Django 5.0 release notes
- supports Python 3.10, 3.11, 3.12
- Facet filters in the admin
- Simplified templates for form field rendering
- Database-computed default values
- Database generated model field
- More options for declaring field choices
- More Django news
- Djangonaut Space now accepting applications for our next contributor mentorship cohort
- Take the Django Developers Survey 2023
Michael #2: git bash, terminals, and Windows
- See the screenshot
- Requires Windows 10
- Install the Windows Terminal from the Microsoft Store
Brian #3: Mastering Integration Testing with FastAPI
- Alex Jacobs
- Some great integration testing techniques
- Focused on FastAPI, but relevant to many frameworks.
- Mocking authentication
- Mocking external APIs
- Fun use of parametrize and indirect fixtures for mocking responses.
- Mocking MongoDB
- Mocking AWS S3
Michael #4: Reuven Learner has been banned for trading in rare animals (Pythons and Pandas)
- via Pat Decker
- Reuven, like us, teaches Python and Data Sci
- Tried to advertise his courses (Python and Pandas courses) on Meta
- Got permanently (life-time) banned for selling rare and endangered animals.
- Sometimes I really hate these big tech companies
- My recent beefs have been with app store reviewers and surveillance-based capitalism
Extras
Brian:
- Where did everyone go? - Ned Batchelder
- I do feel like we’re more fragmented than before, but I am feeling like we have a community on Mastodon.
- reminder that Mastodon has text search now
- On Sunday, I released Ch9, Coverage, as part of The Complete pytest course, specifically part of pytest Working with Projects.
- It was super fun. I’ve used coverage a lot since writing the book, for example, I demonstrate branch coverage. It’s so much more effective to teach in video than in printed screenshots.
Michael:
- Autin shell enhancer by Ellie Huxtable recommended by recommended by Nik
- JupyterCon 2023 videos are out
- More shells follow up from Teemu Hukkanen for “editor like” features Zsh and Bash
- ruff format and strings, aka format.quote-style = "single"
- Glyph’s programming your computer talk is up.
Joke: this is what the experts do