Skip to content

fix: declare httpx as direct dependency - #25

Merged
minixalpha merged 2 commits into
mainfrom
fix/declare-httpx-dependency
Aug 23, 2026
Merged

fix: declare httpx as direct dependency#25
minixalpha merged 2 commits into
mainfrom
fix/declare-httpx-dependency

Conversation

@minixalpha

@minixalpha minixalpha commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • Declare httpx>=0.25.0 as a direct runtime dependency.
  • Update the lockfile so installations no longer rely on the anthropic transitive dependency.
  • Record the installation fix in the 0.8.x changelog.

Motivation

nanoPyCodeAgent imports httpx directly for transport error handling. Declaring that dependency explicitly keeps clean and containerized installations correct even if the dependency graph of anthropic changes.

Validation

  • uv lock --check --offline
  • .venv/bin/python -m pytest — 129 passed
  • Clean, uncached installation in the Terminal-Bench openssl-selfsigned-cert container image without --with httpx
  • Verified installed package metadata includes httpx>=0.25.0, import nanopycodeagent succeeds, and the CLI starts successfully

@minixalpha
minixalpha merged commit 5cee257 into main Aug 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant