build(deps): add qrcode to dingtalk + feishu extras (parity with messaging)#11627
Conversation
|
…aging) #4b1567f4 (anthhub) added qrcode to the messaging extra for Weixin's QR login. The same package is needed by: * hermes_cli/dingtalk_auth.py — QR device-flow auth shipped in #11574 * gateway/platforms/feishu.py:3962 — Feishu QR login These extras are independent of [messaging] (users can install hermes-agent[dingtalk] or hermes-agent[feishu] without [messaging]), so the dep needs to be declared on each. Pin matches anthhub's choice (>=7.0,<8) for consistency. The all extra inherits from all three, so it picks up qrcode transitively. Adds parallel tests to tests/test_project_metadata.py — same shape as test_messaging_extra_includes_qrcode_for_weixin_setup. Refs #9431.
f00ff3d to
21d1876
Compare
|
…aging) (NousResearch#11627) #30ab7d40 (anthhub) added qrcode to the messaging extra for Weixin's QR login. The same package is needed by: * hermes_cli/dingtalk_auth.py — QR device-flow auth shipped in NousResearch#11574 * gateway/platforms/feishu.py:3962 — Feishu QR login These extras are independent of [messaging] (users can install hermes-agent[dingtalk] or hermes-agent[feishu] without [messaging]), so the dep needs to be declared on each. Pin matches anthhub's choice (>=7.0,<8) for consistency. The all extra inherits from all three, so it picks up qrcode transitively. Adds parallel tests to tests/test_project_metadata.py — same shape as test_messaging_extra_includes_qrcode_for_weixin_setup. Refs NousResearch#9431.
…aging) (NousResearch#11627) #2e399644 (anthhub) added qrcode to the messaging extra for Weixin's QR login. The same package is needed by: * hermes_cli/dingtalk_auth.py — QR device-flow auth shipped in NousResearch#11574 * gateway/platforms/feishu.py:3962 — Feishu QR login These extras are independent of [messaging] (users can install hermes-agent[dingtalk] or hermes-agent[feishu] without [messaging]), so the dep needs to be declared on each. Pin matches anthhub's choice (>=7.0,<8) for consistency. The all extra inherits from all three, so it picks up qrcode transitively. Adds parallel tests to tests/test_project_metadata.py — same shape as test_messaging_extra_includes_qrcode_for_weixin_setup. Refs NousResearch#9431.
…aging) (NousResearch#11627) #4b1567f4 (anthhub) added qrcode to the messaging extra for Weixin's QR login. The same package is needed by: * hermes_cli/dingtalk_auth.py — QR device-flow auth shipped in NousResearch#11574 * gateway/platforms/feishu.py:3962 — Feishu QR login These extras are independent of [messaging] (users can install hermes-agent[dingtalk] or hermes-agent[feishu] without [messaging]), so the dep needs to be declared on each. Pin matches anthhub's choice (>=7.0,<8) for consistency. The all extra inherits from all three, so it picks up qrcode transitively. Adds parallel tests to tests/test_project_metadata.py — same shape as test_messaging_extra_includes_qrcode_for_weixin_setup. Refs NousResearch#9431.
…aging) (NousResearch#11627) #4b1567f4 (anthhub) added qrcode to the messaging extra for Weixin's QR login. The same package is needed by: * hermes_cli/dingtalk_auth.py — QR device-flow auth shipped in NousResearch#11574 * gateway/platforms/feishu.py:3962 — Feishu QR login These extras are independent of [messaging] (users can install hermes-agent[dingtalk] or hermes-agent[feishu] without [messaging]), so the dep needs to be declared on each. Pin matches anthhub's choice (>=7.0,<8) for consistency. The all extra inherits from all three, so it picks up qrcode transitively. Adds parallel tests to tests/test_project_metadata.py — same shape as test_messaging_extra_includes_qrcode_for_weixin_setup. Refs NousResearch#9431.
…aging) (NousResearch#11627) #367e9557 (anthhub) added qrcode to the messaging extra for Weixin's QR login. The same package is needed by: * hermes_cli/dingtalk_auth.py — QR device-flow auth shipped in NousResearch#11574 * gateway/platforms/feishu.py:3962 — Feishu QR login These extras are independent of [messaging] (users can install hermes-agent[dingtalk] or hermes-agent[feishu] without [messaging]), so the dep needs to be declared on each. Pin matches anthhub's choice (>=7.0,<8) for consistency. The all extra inherits from all three, so it picks up qrcode transitively. Adds parallel tests to tests/test_project_metadata.py — same shape as test_messaging_extra_includes_qrcode_for_weixin_setup. Refs NousResearch#9431.
Summary
Completes the
qrcodepackaging work started in #4b1567f4 by @anthhub.@anthhub landed
qrcode>=7.0,<8on themessagingextra for Weixin's QR login (addressing part of #9431). This PR adds the same dep to thedingtalkandfeishuextras, which use the same Pythonqrcodepackage but are independent of[messaging]:hermes_cli/dingtalk_auth.py— QR device-flow auth shipped in feat(dingtalk): QR-code device-flow authorization for setup wizard #11574gateway/platforms/feishu.py:3962— Feishu QR login renderingUsers who install
hermes-agent[dingtalk]orhermes-agent[feishu]without[messaging]currently hit the same "QR render failed" error @zhangzhiqiangcs originally reported. Declaring the dep on each extra closes that gap.Changes
pyproject.toml:dingtalkextra — addqrcode>=7.0,<8feishuextra — addqrcode>=7.0,<8messagingchoice (<8) for consistency.tests/test_project_metadata.py— addstest_dingtalk_extra_includes_qrcode_for_qr_authandtest_feishu_extra_includes_qrcode_for_qr_login, mirroring @anthhub'stest_messaging_extra_includes_qrcode_for_weixin_setup.The
allextra inherits from all three, so it picks upqrcodetransitively.Tests
Closes
Closes #9431 — fully resolves the original report once this lands alongside @anthhub's messaging fix.