Repository navigation
Commit cde3834
build(release): stop building releases with a yanked builder
Every `uv lock` in this repo prints:
warning: `build==1.5.1` is yanked (reason: "Considers breaking changes,
will discuss re-releasing as a new major version.")
It is easy to read past, because nothing fails. A yanked release still
installs when it is pinned exactly, and build 1.5.1 was pinned in two
places: uv.lock, which produces the wheels python-compat smoke-tests, and
publish-pypi.yml, which produces the artifacts that go to PyPI. So the
warning was not cosmetic -- it said the release path runs on a version
upstream has withdrawn, and would keep saying so until someone looked.
Both move to 1.6.0, the supported successor. Keeping them together
matters: a release built by a different builder than the one CI exercises
is the kind of difference that only shows up in the published artifact.
tests/unit/test_publish_workflows.py asserts the exact install command, so
it moves too, and the workflow now carries the reason inline.
requirements-docker.lock is unchanged -- build is a `dev` dependency and
the cloud/postgres export does not include it.
Verified locally with build 1.6.0 installed: both wheels build the way
python-compat builds them (`python -m build --wheel --no-isolation` for
the runtime and for sdk/, agentflow_runtime-2.1.0 and
agentflow_client-2.1.0), scripts/wheel_smoke.py reports "top-level policy
OK", `uv lock --check` passes (256 packages) and prints no yank warning,
`uv export` leaves requirements-docker.lock untouched, and
test_publish_workflows.py passes (5 passed).
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ybRVCaL1Lyd9d5kFTndh31 parent 5839a7f commit cde3834
4 files changed
Lines changed: 25 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
82 | 88 | | |
83 | | - | |
| 89 | + | |
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
7 | 21 | | |
8 | 22 | | |
9 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments