From 55acbea80ff0c1ae8b94e3ed3145eb8cb7a66a8c Mon Sep 17 00:00:00 2001 From: Deborah Jacob Date: Tue, 24 Feb 2026 13:57:24 -0500 Subject: [PATCH 1/2] ci: fix PyPI environment URL in release workflow Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 266eda0..ad395fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,7 +95,7 @@ jobs: runs-on: ubuntu-latest environment: name: pypi - url: https://pypi.org/p/botanu + url: https://pypi.org/botanu permissions: id-token: write # required for OIDC trusted publishing steps: From 0caebfae5fe9f5af24daa00d9f738a3a20710e9b Mon Sep 17 00:00:00 2001 From: Deborah Jacob Date: Tue, 24 Feb 2026 14:06:09 -0500 Subject: [PATCH 2/2] fix: pin httpx < 0.28 and deduplicate starlette constraint starlette 0.29 passes app= to httpx.Client.__init__() which was removed in httpx 0.28, breaking all middleware tests. Co-Authored-By: Claude Opus 4.6 --- pyproject.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a8a26e0..0f2eec6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -144,10 +144,8 @@ dev = [ "pytest-asyncio >= 0.21.0", "pytest-cov >= 4.1.0", "coverage[toml] >= 7.0", - "httpx >= 0.24.0, < 0.28.0; python_version < '3.10'", - "httpx >= 0.24.0; python_version >= '3.10'", - "starlette >= 0.27.0, < 0.30.0; python_version >= '3.10'", - "starlette >= 0.27.0; python_version >= '3.10'", + "httpx >= 0.24.0, < 0.28.0", + "starlette >= 0.27.0, < 0.30.0", "ruff >= 0.4.0", "mypy >= 1.7.0", "pre-commit >= 3.5.0",