Repository navigation
[Bugfix] Constrain setuptools to retain pkg_resources compatibility - #558
Merged
Keithwwa merged 2 commits intoSep 22, 2026
Merged
Conversation
|
🚫 PR 合入质量检查未通过,PR 已被禁止合入。 未通过项:
请按上述提示整改后,重新推送(push)或评论本 PR 即可触发再次检查。 |
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The dependency constraint directly addresses the reported installation failure and is propagated through the project’s runtime requirements.
Review effort: Lite
Findings: None
What changed in this PR
Pins Setuptools to a version retaining pkg_resources, preventing fresh installations from failing during MMEngine configuration parsing.
Changes:
- Adds
setuptools<=80.10.2to runtime dependencies.
| File | Description |
|---|---|
requirements/runtime.txt |
Constrains Setuptools for compatibility with MMEngine. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
4 tasks done
Keithwwa
reviewed
Sep 22, 2026
|
🚫 PR 合入质量检查未通过,PR 已被禁止合入。 未通过项:
请按上述提示整改后,重新推送(push)或评论本 PR 即可触发再次检查。 |
|
✅ PR 合入质量五项检查全部通过,允许合入。 |
|
✅ PR 合入质量五项检查全部通过,允许合入。 |
Keithwwa
approved these changes
Sep 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for your contribution; we appreciate it a lot.
PR Type / PR类型
Related Issue | 关联 Issue
Fixes #484
🔍 Motivation / 变更动机
Setuptools 82.0.0 removed
pkg_resources, while the current stablemmengine-litestill imports it when MMEngine parses lazy-import configuration files. Fresh AISBench installations can therefore fail withModuleNotFoundError: No module named pkg_resourcesbefore evaluation begins.📝 Modification / 修改内容
Constrain Setuptools to
<=80.10.2, the latest release before the 81/82 removal transition, so the stable MMEngine dependency retains access topkg_resources.📐 Associated Test Results / 关联测试结果
setuptools<=80.10.2.git show --checkpasses.None. The upper bound can be removed after AISBench adopts a stable MMEngine release that uses
importlib.metadatainstead ofpkg_resources.✅ Checklist / 检查列表
Before PR:
After PR:
👥 Collaboration Info / 协作信息