Skip to content

chore(deps): update catfood requirement from ~=1.0.9 to ~=2.0.0#293

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/catfood-approx-eq-2.0.0
Open

chore(deps): update catfood requirement from ~=1.0.9 to ~=2.0.0#293
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/catfood-approx-eq-2.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 9, 2026

Updates the requirements on catfood to permit the latest version.

Release notes

Sourced from catfood's releases.

猫粮 2.0.0

! 中断性修改 !

有关 functions.github.token 的迁移

对于 这是谁的Token 函数,请改用 from catfood.functions.github.api import 这是谁的Token。参数和返回值不变。 对于 read_token 函数,请自行编写替代函数。

有关 functions.github.api 中的迁移

请改用 token 参数。


请从对应的模块导入,而不是顶级。 如

from catfood import 这是谁的Token

需要改为

from catfood.functions.github.api import 这是谁的Token

修复

杂项

完整修改记录: DuckDuckStudio/catfood@1.0.10...2.0.0

Commits
  • 3d161ca docs: 移除测试说明和从源构建说明,并添加 Test Pypi 安装警告 (#28)
  • 622f49e depreacted!: 移除已弃用的 functions.github.token 模块和 functions.github.api 下的函数的...
  • 7670d80 chore(pyproject.toml): 添加 Python 版本要求和补全 classifiers (#26)
  • dabb588 chore: 提升版本号到 2.0.0 (#25)
  • a9f8f5f ci(pytest): 修正依赖安装命令,让它测试正确的位置的代码 (#24)
  • a28f2a3 ci(isort): 仅安装检查需要的依赖项 (#23)
  • e2ba414 fix: 补全 __init__.py (#22)
  • 8bbf339 tests: 添加单元测试和测试工作流 (#20)
  • 601acdf ci(pytest): 添加 pytest 测试工作流
  • 4f3fa8c tests: 添加单元测试
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
catfood [< 1.1, > 1.0.9]

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 9, 2026
@dependabot dependabot bot requested a review from DuckDuckStudio as a code owner March 9, 2026 02:35
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 9, 2026
@DuckDuckStudio DuckDuckStudio added the 无法实施/拒绝 无法实施/拒绝的方案 label Mar 18, 2026
Updates the requirements on [catfood](https://github.com/DuckDuckStudio/catfood) to permit the latest version.
- [Release notes](https://github.com/DuckDuckStudio/catfood/releases)
- [Commits](DuckDuckStudio/catfood@1.0.9...2.0.0)

---
updated-dependencies:
- dependency-name: catfood
  dependency-version: 2.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/catfood-approx-eq-2.0.0 branch from 138042e to d780355 Compare April 2, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code 无法实施/拒绝 无法实施/拒绝的方案

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant