From 9dd45da6e3bd5fbf99774beef15484b120fe3f1c Mon Sep 17 00:00:00 2001 From: Anders Brams Date: Tue, 28 Apr 2026 11:20:56 +0200 Subject: [PATCH] Update README to remove PyPI configuration steps Removed instructions for configuring PyPI Trusted Publishing before the first release. --- README.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/README.md b/README.md index 98b2e9e..e0fb6f9 100644 --- a/README.md +++ b/README.md @@ -173,14 +173,6 @@ book = client.get("/books/{book_id}")(params={"book_id": 1}) Releases are published from the protected `releases` branch. The package version is set manually in `pyproject.toml`, and pushing a release commit to `releases` triggers the GitHub Actions release workflow. The workflow creates the matching `vX.Y.Z` tag after checks pass. -Before the first release, configure PyPI Trusted Publishing for this repository: - -- PyPI project: `openapi-python` -- GitHub workflow: `release.yml` -- GitHub environment: `pypi` - -The GitHub `pypi` environment should be limited to deployments from the `releases` branch. - Release steps: ```bash @@ -190,5 +182,3 @@ uv run python scripts/release.py --version 0.1.0 # 2. If checks pass, push the current commit to the releases branch. uv run python scripts/release.py --version 0.1.0 --push-release-branch ``` - -The release workflow verifies that the version tag does not already exist, runs checks, builds the distributions, validates them with `twine`, creates the release tag, publishes to PyPI, and creates a GitHub Release with generated notes.