From 04686cff847755dc1641d0523c54ca34b67390e9 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 5 Apr 2026 03:56:59 +0000 Subject: [PATCH 1/2] Prepare for first PyPI release Remove future-tense caveat from README install section, document exact trusted publisher values in RELEASE.md, and pin packaging>=24.2 in dev dependencies to support PEP 639 license metadata validation with twine. https://claude.ai/code/session_01Ct4jacV8CSUBGi9R4m9dxP --- README.md | 2 -- RELEASE.md | 25 +++++++++++++++++++++---- pyproject.toml | 1 + 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9b9975d..6425f93 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,6 @@ On macOS or Linux, replace `py -3` with `python3` in the commands below. ### From PyPI -After the first public PyPI release: - ```bash py -3 -m pip install broadside-ai ``` diff --git a/RELEASE.md b/RELEASE.md index 356fd74..edd3fff 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -10,10 +10,27 @@ Use this checklist when publishing Broadside-AI. 4. Add `pypi` and `testpypi` environments in GitHub with the protections you want. 5. Confirm the publish workflows can request `id-token: write`. -For PyPI Trusted Publishing, the workflow file paths in this repo are: - -- `.github/workflows/publish.yml` for PyPI -- `.github/workflows/publish-testpypi.yml` for TestPyPI +### Trusted publisher values + +**PyPI** (create as pending publisher at ): + +| Field | Value | +| ----------------- | -------------------------------------- | +| Project name | `broadside-ai` | +| Owner | `HuginnIndustries` | +| Repository name | `Broadside-AI` | +| Workflow name | `publish.yml` | +| Environment name | `pypi` | + +**TestPyPI** (create at ): + +| Field | Value | +| ----------------- | -------------------------------------- | +| Project name | `broadside-ai` | +| Owner | `HuginnIndustries` | +| Repository name | `Broadside-AI` | +| Workflow name | `publish-testpypi.yml` | +| Environment name | `testpypi` | ## Local release gate diff --git a/pyproject.toml b/pyproject.toml index e899c0f..4855f72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,6 +40,7 @@ openai = ["openai>=1.50.0"] all = ["anthropic>=0.40.0", "openai>=1.50.0"] dev = [ "build>=1.2.2", + "packaging>=24.2", "pytest>=8.0.0", "pytest-asyncio>=0.24.0", "ruff>=0.8.0", From 9a28d8ab97b4bb8192442d61b576656db556aef0 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 5 Apr 2026 03:57:27 +0000 Subject: [PATCH 2/2] Update README source install section to remove pre-release framing https://claude.ai/code/session_01Ct4jacV8CSUBGi9R4m9dxP --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6425f93..565be83 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ py -3 -m pip install "broadside-ai[all]" ### From a downloaded ZIP or cloned repo -This works now, even before the PyPI package is published. +If you prefer to install from source: Windows PowerShell, if you downloaded the GitHub ZIP: