diff --git a/PROJECT.md b/PROJECT.md index 52c2843..a287c72 100644 --- a/PROJECT.md +++ b/PROJECT.md @@ -953,9 +953,10 @@ immutability is enabled for future GitHub releases. Prepare a draft with all assets and checksums before publishing it, since published assets and the associated tag become immutable. Corrections require a new version. See [the release protection guide](docs/releases.md). Separate TestPyPI and PyPI -Python-package workflows are present but await account configuration and a -hosted publication check. Windows binary and GitHub Release automation remain -planned work. +Python-package workflows are present. The user confirmed a TestPyPI `0.1.0` +upload and installation, as well as the pending PyPI Trusted Publisher setup. +Production PyPI publication, Windows binaries, and GitHub Release automation +remain planned. ## 22. PyPI diff --git a/TODO.md b/TODO.md index 88897f5..8c8eb96 100644 --- a/TODO.md +++ b/TODO.md @@ -536,22 +536,27 @@ the scope of this local CLI test. ### 34. TestPyPI -- [ ] Prepare a TestPyPI account and project -- [ ] Upload the first test release -- [ ] Test installation from TestPyPI +- [x] Prepare a TestPyPI account and project +- [x] Upload the first test release +- [x] Test installation from TestPyPI + +The user confirmed that version `0.1.0` was published to TestPyPI through the +workflow and installed successfully in a fresh environment; `matnocr --version` +and `matnocr doctor` passed. ### 35. PyPI Trusted Publishing - [ ] Create the PyPI project -- [ ] Configure GitHub Trusted Publishing +- [x] Configure GitHub Trusted Publishing - [ ] Use OIDC instead of a long-lived API token - [x] Create a separate release workflow The separate `testpypi.yml` and `release.yml` workflows build and test on Windows, then publish the same wheel and sdist through OIDC in a restricted job. The PyPI workflow also checks that the tag matches the package version and that -the tagged commit is on `main`. Account setup, Trusted Publisher registration, -and a successful hosted publication are still pending. +the tagged commit is on `main`. The user confirmed the `pypi` GitHub environment +and pending Trusted Publisher configuration. The PyPI project and production +publication are still pending. ### 36. Test PyPI installation diff --git a/docs/releases.md b/docs/releases.md index 8fb4a66..f652462 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -31,11 +31,13 @@ The repository has separate Python-package workflows: `pyproject.toml` and that the tagged commit is on `main`. Both workflows run checks and build the wheel and sdist on Windows before a -separate job publishes them through OIDC. They require matching pending Trusted -Publishers on TestPyPI and PyPI; neither has been used for a hosted upload yet. -The `pypi` environment can require a reviewer before publication. These -workflows publish Python packages only. Windows binary builds and the complete -GitHub Release pipeline remain planned work in `TODO.md`. +separate job publishes them through OIDC. The user confirmed a successful +TestPyPI upload and fresh-environment installation of version `0.1.0`. The user +also confirmed configuration of the `pypi` GitHub environment and pending PyPI +Trusted Publisher. The PyPI project will be created on first publication. The +`pypi` environment can require a reviewer before publication. These workflows +publish Python packages only. Windows binary builds and the complete GitHub +Release pipeline remain planned work in `TODO.md`. ## Publishing Order for a Complete Release