Python Bytes is a weekly podcast hosted by Michael Kennedy and Brian Okken. The show is a short discussion on the headlines and noteworthy news in the Python, developer, and data science space.
#332 A Python, a Slurpee, and Some Chaos
April 18, 2023
00:36:56
35.61 MB
Downloads: 0
Watch on YouTube
About the show
Sponsored by InfluxDB from Influxdata.
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: huak - A Python package manager written in Rust. Inspired by Cargo
- Suggested by Owen
- Tons of workflows
activate
- activate a virtual environmentadd
add a dependency to a project- pip install it into your virtual environment, and add it to the dependency list in
pyproject.toml
- pip install it into your virtual environment, and add it to the dependency list in
test
- run pytestupdate
update dependencieslint
- runruff
, installing it first if necessaryfix
- autofix fixable lint conflictsbuild
- build wheel in isolated virtual environment usinghatchling
- Honestly
- I was considering building my own workflow tool, but this is darned close to what I want.
- Even though it’s still “in an experimental state”.
- There are rough edges (ruff edges, get it), but still, way cool.
- I just don’t know how to pronounce it. Is it like “walk”, or more like “whack”?
- After reviewing the proposed Cyber Resilience Act and Product Liability Act, the PSF has found issues that put the mission of our organization and the health of the open-source software community at risk.
- As currently written, the authors of open-source components might bear legal and financial responsibility for the way their components are applied in someone else’s commercial product.
- The risk of huge potential costs would make it impossible in practice for us to continue to provide Python and PyPI to the European public.
Brian #3: ChaosToolkit
- Suggested by the maintainer, Sylvain Hellegouarch
- Declare and store your Chaos Engineering experiments as JSON/YAML files so you can collaborate and orchestrate them as any other piece of code.
- Extensible through an Open API
- Can be automated in CI/CD pipeline
Michael #4: PEP 711 – PyBI: a standard format for distributing Python Binaries
- “Like wheels, but instead of a pre-built python package, it’s a pre-built python interpreter”