Dependency validation failed: redis (agent-framework-redis)

未关闭 适合新手
#9,946 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

失败的是 python/packages/redis/agent_framework_redis/_vector_store.py 的第 715 行和第 759 行,每行都带有一个 # pyright: ignore 注释,用于 reportUnknownMemberType。在 redis 8.x 下,pyright 现在报告这些注释是不必要的。请阅读这两行,确认在较新的 redis 客户端下不再需要该 ignore。删除这些注释或缩小其作用范围,然后在 redis 包上重新运行 pyright。当 pyright 在扩大后的范围内对 redis 8.0.1 和 8.1.0 都通过时,即完成。

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

描述

Automated dependency range validation found candidate versions that failed checks.

  • Package: agent-framework-redis
  • Project path: packages/redis
  • Dependency: redis
  • Original requirements: redis>=6.4.0,<7.2.1
  • Final requirements after run: redis>=6.4.0,<8.0.0
Failed versions and errors
  • 8.1.0
Task 'pyright' failed.
/tmp/dep-range-redis-csztz92f/python/packages/redis/agent_framework_redis/_vector_store.py
  /tmp/dep-range-redis-csztz92f/python/packages/redis/agent_framework_redis/_vector_store.py:715:71 - error: Unnecessary "# pyright: ignore" rule: "reportUnknownMemberType" (reportUnnecessaryTypeIgnoreComment)
  /tmp/dep-range-redis-csztz92f/python/packages/redis/agent_framework_redis/_vector_store.py:759:79 - error: Unnecessary "# pyright: ignore" rule: "reportUnknownMemberType" (reportUnnecessaryTypeIgnoreComment)
2 errors, 0 warnings, 0 informations
  • 8.0.1
Task 'pyright' failed.
/tmp/dep-range-redis-csztz92f/python/packages/redis/agent_framework_redis/_vector_store.py
  /tmp/dep-range-redis-csztz92f/python/packages/redis/agent_framework_redis/_vector_store.py:715:71 - error: Unnecessary "# pyright: ignore" rule: "reportUnknownMemberType" (reportUnnecessaryTypeIgnoreComment)
  /tmp/dep-range-redis-csztz92f/python/packages/redis/agent_framework_redis/_vector_store.py:759:79 - error: Unnecessary "# pyright: ignore" rule: "reportUnknownMemberType" (reportUnnecessaryTypeIgnoreComment)
2 errors, 0 warnings, 0 informations

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

主要语言
Python
星标
14.5k
派生
2.6k
平均合并
2 天 13 小时
30 天内合并 PR
343

环境准备

在 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 摘要。