Skip to content

Fix CI: skip channel tests when optional deps missing#45

Merged
MarkEdmondson1234 merged 1 commit into
mainfrom
fix/ci-channel-tests-skip
Mar 3, 2026
Merged

Fix CI: skip channel tests when optional deps missing#45
MarkEdmondson1234 merged 1 commit into
mainfrom
fix/ci-channel-tests-skip

Conversation

@sunholo-voight-kampff

Copy link
Copy Markdown
Collaborator

Summary

  • Added pytest.importorskip("httpx") to two async TelegramChannel tests that need httpx
  • The v0.146.0 publish workflow failed because CI installs .[test] not .[channels], so httpx was missing
  • Bumped version to 0.146.1 for re-release after merge

Test plan

  • All 200 tests pass locally
  • CI passes without [channels] deps installed
  • After merge, tag v0.146.1 and verify publish workflow succeeds

🤖 Generated with Claude Code

….146.1

The v0.146.0 publish workflow failed because CI only installs `.[test]`
(not `.[channels]`), so httpx is missing. TelegramChannel.__init__ calls
_check_deps() which raises ImportError. Added pytest.importorskip("httpx")
to the two async tests that instantiate TelegramChannel.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MarkEdmondson1234 MarkEdmondson1234 merged commit 9661015 into main Mar 3, 2026
2 checks passed
@MarkEdmondson1234 MarkEdmondson1234 deleted the fix/ci-channel-tests-skip branch March 3, 2026 11:17
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