-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add uv package manager support #847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request migrates the AgentScope package configuration from setup.py to pyproject.toml format, enabling support for modern Python package managers like uv while maintaining backward compatibility.
- Migrated package configuration from setup.py to pyproject.toml following modern Python packaging standards
- Added documentation for uv package manager installation in both English and Chinese README files
- Updated pre-commit configuration to use a newer version of pyroma
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| setup.py | Simplified to minimal backward-compatible wrapper that delegates to pyproject.toml |
| pyproject.toml | New comprehensive package configuration with all dependencies and metadata |
| README.md | Added uv installation instructions and examples |
| README_zh.md | Added Chinese uv installation instructions and examples |
| .pre-commit-config.yaml | Updated pyroma version from 4.0 to 5.0 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
AgentScope Version
[The version of AgentScope you are working on, e.g.
import agentscope; print(agentscope.__version__)]Description
As the title says. #821
Checklist
Please check the following items before code is ready to be reviewed.
pre-commit run --all-filescommand