Skip to content

Fix CI on 3.9 and raise hibira.ConnectionError for network failures - #2

Merged
deflinhec merged 2 commits into
mainfrom
claude/project-thread-41jdmz
Nov 1, 2026
Merged

deflinhec merged 2 commits into
mainfrom
claude/project-thread-41jdmz

Conversation

@deflinhec

Copy link
Copy Markdown
Member

Two commits that landed after #1 was merged. Both should go in before tagging v0.1.0.

  • CI: setup-uv now creates and activates the test virtualenv. setup-python has no Python 3.9 on the current ubuntu-latest, and uv pip install without a venv failed on every version, so the test matrix on main is red right now.
  • Errors: httpx transport errors (DNS, connect, TLS, proxy, timeout) used to escape as raw httpx exceptions, so except hibira.HibiraError missed them. They now raise hibira.ConnectionError, which is both a HibiraError and a builtin ConnectionError, with the httpx error as __cause__. This applies to Client and AsyncClient. The django-hibira work asked for this.

Ran locally: 44 tests pass, plus ruff and mypy.


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SHtsCCHwKcFDPRqugEWRfU
httpx transport errors (DNS, connect, TLS, proxy, timeout) escaped as raw
httpx exceptions, so except hibira.HibiraError missed them. They now
raise hibira.ConnectionError, a HibiraError and a builtin ConnectionError.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SHtsCCHwKcFDPRqugEWRfU
@deflinhec
deflinhec merged commit 0a76d41 into main Nov 1, 2026
7 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.

2 participants