From 8aed136162f3d4505d2a2387e8666b8e59e55584 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 3 Mar 2026 18:02:25 -0800 Subject: [PATCH 1/5] Clarify that uv sync no longer wants --extra dev in CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee7d577..65be820 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,6 +53,10 @@ infrastructure overhaul. (Bernhard Merkle, #150). #### Infrastructure +- Changes pyproject.toml to use uv more idiomatically. + - Local devs write `uv sync` instead of `uv sync --extra dev`. + - From PyPI (with uv or pip) you can use `typeagent[dev]` + to install the dev dependencies with the package. - Move _typeagent/_ to _src/typeagent/_ (Bernhard Merkle, #139). - Move tests and test data to _tests/_ directory (Bernhard Merkle, #144). - Move ancillary dirs into subdirs (Bernhard Merkle, #145). From 8edadd4971d5c2929a7f8cfca03154b0a1816308 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 3 Mar 2026 18:03:41 -0800 Subject: [PATCH 2/5] Fix uv sync call in release workflow --- .github/workflows/release-py.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-py.yml b/.github/workflows/release-py.yml index bdb8997..e6cd62a 100644 --- a/.github/workflows/release-py.yml +++ b/.github/workflows/release-py.yml @@ -32,7 +32,7 @@ jobs: echo "$HOME/.local/bin" >> "$GITHUB_PATH" - name: Create .venv and install deps - run: uv sync --extra dev + run: uv sync - name: Build sdist + wheel (via make) run: make build # runs `uv build`, outputs to dist/ From c14da75e4ed93d6a22cc29bd4179e9dd5c02ab08 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 3 Mar 2026 18:04:05 -0800 Subject: [PATCH 3/5] Make failing to create the PR less fatal --- tools/release.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tools/release.py b/tools/release.py index ba235f0..22a4ea1 100755 --- a/tools/release.py +++ b/tools/release.py @@ -449,8 +449,11 @@ def main(): ) if exit_code != 0: - print("Error: Failed to create PR", file=sys.stderr) - return 1 + if args.force: + print("Warning: Failed to create PR -- you can create it yourself", file=sys.stderr) + else: + print("Error: Failed to create PR -- but you can create it yourself", file=sys.stderr) + return 1 if args.dry_run: print(f"\n[DRY RUN] Release process completed successfully!") @@ -461,8 +464,11 @@ def main(): print(f"\nRelease process completed successfully!") print(f"Created branch: {branch_name}") print(f"Created tag: {tag_name}") - print(f"Created PR: {pr_url}") + if exit_code == 0: + print(f"Created PR: {pr_url}") print(f"\nNext steps:") + if exit_code == 0: + print(f" 0. Create the PR (since it wasn't created)") print(f" 1. Get the PR approved and merged") print(f" 2. The GitHub Actions release workflow will be triggered by the tag") From 9ec07adbc65920711c2dc0641f14ffe50300dfc7 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 3 Mar 2026 18:08:04 -0800 Subject: [PATCH 4/5] Bump version to 0.4.0 --- pyproject.toml | 2 +- uv.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 379f43e..d95ae0e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "uv_build" [project] name = "typeagent" -version = "0.3.3" +version = "0.4.0" description = "Incremental message indexing and querying pipelines using Structured RAG" readme = { file = "README.md", content-type = "text/markdown" } license = "MIT" diff --git a/uv.lock b/uv.lock index e26630a..71d8343 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,5 @@ version = 1 -revision = 2 +revision = 3 requires-python = ">=3.12" resolution-markers = [ "python_full_version >= '3.13'", @@ -2360,7 +2360,7 @@ wheels = [ [[package]] name = "typeagent" -version = "0.3.3" +version = "0.4.0" source = { editable = "." } dependencies = [ { name = "azure-identity" }, From 0462bfeda62ff7c8446a038b7e566a90e02b2281 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 3 Mar 2026 18:08:04 -0800 Subject: [PATCH 5/5] Bump version to 0.4.0.dev for development --- pyproject.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d95ae0e..01470ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "uv_build" [project] name = "typeagent" -version = "0.4.0" +version = "0.4.0.dev" description = "Incremental message indexing and querying pipelines using Structured RAG" readme = { file = "README.md", content-type = "text/markdown" } license = "MIT" diff --git a/uv.lock b/uv.lock index 71d8343..b4dbf24 100644 --- a/uv.lock +++ b/uv.lock @@ -2360,7 +2360,7 @@ wheels = [ [[package]] name = "typeagent" -version = "0.4.0" +version = "0.4.0.dev0" source = { editable = "." } dependencies = [ { name = "azure-identity" },