I value useful documentation about using pyproject.toml and have repeatedly relied on one item as a reference and recommended it to other people.
I said I was “quite proud” of the pyproject-related item: I'm quite proud of that pyproject one.
I had referred back to the item dozens of times: I've referred back to it dozens of times.
I sent a bunch of people in that direction who hadn't yet understood how to use pyproject.toml themselves: sent a bunch of people in that direction who hadn't yet understood how to use pyproject.toml themselves.
I use PyPI Trusted Publishers to publish Python packages from GitHub Actions without storing a password or authentication token. My notes, cookiecutter template, and short tutorial document parts of this publishing workflow.
On 2024-01-15, I shipped a new package to PyPI from GitHub Actions without a password or token for the first time.
I used the Trusted Publishers mechanism PyPI added last year to publish the package.
Trusted Publishers is based on OpenID Connect, which I described as an implementation detail.
I shared notes about my first passwordless PyPI publishing experience at https://t.co/BvyLjuYH3f.
On 2024-01-16, I called the changes to my python-lib cookiecutter template a “Big upgrade.”
I upgraded the template to use pyproject.toml rather than https://t.co/bxI6k1U5cd.
The upgraded template includes a publish.yml workflow that publishes packages to PyPI using Trusted Publishers without needing a password or auth token.
I shared the upgraded python-lib cookiecutter template at https://t.co/cfsBxdzuQY.
I described this work as “TIL driven development”: I accumulated useful tricks across TILs and combined them into a larger solution.
I called the python-lib cookiecutter template change a Big upgrade, using pyproject.toml and adding a publish.yml workflow for passwordless PyPI publishing with Trusted Publishers.
I said my short tutorial on building and publishing a Python library to PyPI works as intended, and called the reported experience validation of that.
Related: pypi security and infrastructure, python wheels and binaries, software supply chain attacks