From 92c61a14e5e258c9e4bb805480e63079be6db796 Mon Sep 17 00:00:00 2001 From: minixalpha Date: Sun, 23 Aug 2026 15:51:15 +0800 Subject: [PATCH 1/2] fix: declare httpx as direct dependency --- pyproject.toml | 1 + uv.lock | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index cf7825b..7ae167a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,7 @@ classifiers = [ ] dependencies = [ "anthropic>=0.112.0", + "httpx>=0.25.0", ] [project.urls] diff --git a/uv.lock b/uv.lock index 261dcd3..a65ab39 100644 --- a/uv.lock +++ b/uv.lock @@ -192,6 +192,7 @@ name = "nanopycodeagent" source = { editable = "." } dependencies = [ { name = "anthropic" }, + { name = "httpx" }, ] [package.dev-dependencies] @@ -200,7 +201,10 @@ dev = [ ] [package.metadata] -requires-dist = [{ name = "anthropic", specifier = ">=0.112.0" }] +requires-dist = [ + { name = "anthropic", specifier = ">=0.112.0" }, + { name = "httpx", specifier = ">=0.25.0" }, +] [package.metadata.requires-dev] dev = [{ name = "pytest", specifier = ">=9.1.1" }] From 9d12b80190a53a2b05f6fec26888a72c6e4cdb5c Mon Sep 17 00:00:00 2001 From: minixalpha Date: Sun, 23 Aug 2026 16:07:41 +0800 Subject: [PATCH 2/2] docs: record httpx dependency fix --- docs/changelogs/0.8.x.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/changelogs/0.8.x.md b/docs/changelogs/0.8.x.md index b11c1b5..42de3ec 100644 --- a/docs/changelogs/0.8.x.md +++ b/docs/changelogs/0.8.x.md @@ -22,6 +22,10 @@ All notable changes in the **0.8.x** release series are documented here. and `--version`, keep the run itself on stdout, return benchmark-safe exit codes, and preserve API and transport error text on stderr. +### Fixed +- Declare `httpx` as a direct runtime dependency so clean and containerized + installations do not rely on `anthropic` to install it transitively. +