Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Dependency bounds test failed

未关闭
#9,519 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
52/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
python

调研方向

Start with packages/a2a/tests/test_a2a_group_chat.py and the lowest-direct dependency bounds workflow for packages/a2a; inspect how the test environment installs the agent-framework-orchestrations package. Reproduce the collection failure and check the package dependency configuration. Done when the test collects and the lower-bound workflow can proceed to upper-bound validation.

由索引模型根据 Issue 内容生成。

描述

Automated dependency bounds test mode failed before dependency upper-bound validation could run.

The weekly dependency maintenance workflow kept only development and tool dependency updates for the generated PR, if any, and skipped dependency range updates for this run.

lower scenario (lowest-direct)
  • Package: agent-framework-a2a
  • Project path: packages/a2a
Task 'test' failed for packages/a2a at resolution 'lowest-direct'.
...
=================== ERRORS ====================================
________________ ERROR collecting tests/test_a2a_group_chat.py _________________
ImportError while importing test module '/home/runner/work/agent-framework/agent-framework/python/packages/a2a/tests/test_a2a_group_chat.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../core/agent_framework/orchestrations/__init__.py:75: in __getattr__
    return getattr(importlib.import_module(IMPORT_PATH), name)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../../_temp/uv-python-dir/cpython-3.13.16-linux-x86_64-gnu/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1404: in _gcd_import
    ???
<frozen importlib._bootstrap>:1369: in _find_and_load
    ???
<frozen importlib._bootstrap>:1333: in _find_and_load_unlocked
    ???
E   ModuleNotFoundError: No module named 'agent_framework_orchestrations'

The above exception was the direct cause of the following exception:
../../../../../_temp/uv-python-dir/cpython-3.13.16-linux-x86_64-gnu/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_a2a_group_chat.py:22: in <module>
    from agent_framework.orchestrations import ConcurrentBuilder, GroupChatBuilder, GroupChatState
../core/agent_framework/orchestrations/__init__.py:77: in __getattr__
    raise ModuleNotFoundError(
E   ModuleNotFoundError: The 'agent-framework-orchestrations' package is not installed, please do `pip install agent-framework-orchestrations`
=========================== short test summary info ============================
ERROR tests/test_a2a_group_chat.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
1 error in 1.82s

Workflow run: https://github.com/microsoft/agent-framework/actions/runs/39198073056

主要语言
Python
星标
14.2k
派生
2.5k
平均合并
2 天 9 小时
30 天内合并 PR
392

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/agent-framework 的其他 Issue

查看 microsoft/agent-framework 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。