-
-
Notifications
You must be signed in to change notification settings - Fork 7
Develop: 迁移使用 uv 管理项目依赖 #47
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
- Updated README to reflect changes in command options for adding plugins. - Modified `pyproject.toml` to adjust paths and set minimum pytest version. - Introduced new module structure in `src/nonebug` with `app.py`, `base.py`, and `fixture.py`. - Implemented context management for testing in `base.py` and `fixture.py`. - Created mixins for API testing and process handling in `mixin` directory. - Added `NoneBugProvider` for matcher management in `provider.py`. - Updated test files to reflect new import paths and structure. build: update project configuration. chore: update project configuration. chore: update project metadata and dependencies
|
还有 devcontainer 没有改 |
|
好 |
…ersions, and reorder imports. chore: Replace Poetry with UV for dependency management in devcontainer. Chore: Rename Codecov workflow job name to 'Test Coverage'. build: update ruff pre-commit hook to v0.14.6
df77c4e to
115ff4b
Compare
|
大概改完了,但是不知道为什么有个测试炸了https://github.com/fllesser/nonebug/actions/runs/19767887172/job/56645035961 |
yanyongyu
left a comment
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.
python 版本还是保留 3.9 啊,代码都别动
pytest 9,3.9 drop 了 |
|
额,刚发现 nb 还没 drop 3.9 呢 |
|
只迁移 uv 就行,配置都可以参考 nb 仓库的 |
This reverts commit 329f1ff. chore: Lower asgiref dependency minimum and add Python 3.9 to Codecov CI matrix. chore: adjust project configuration in pyproject.toml chore: Downgrade nonebot2 to 2.3.0 and remove anyio and exceptiongroup dependencies.
ab9b7f4 to
4abc83c
Compare
|
nonebot2 2.4.x, test_propress 会炸, 指定 matcher 就好了,不知道是什么原因 |
5fb9ab0 to
4329a83
Compare
yanyongyu
left a comment
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.
太多了先看了一部分,ruff isort 的排序结果怎么看着不太对劲啊,把 length sort 删了再试试
…test plugin import paths, and reorder imports.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #47 +/- ##
=======================================
Coverage 92.12% 92.12%
=======================================
Files 14 14
Lines 495 495
=======================================
Hits 456 456
Misses 39 39
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
本来只是想升级 pytest 9 的,不小心改多了(