Skip to content

chore(deps): update catfood requirement from ~=1.0.9 to ~=2.1.0#314

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/catfood-approx-eq-2.1.0
Open

chore(deps): update catfood requirement from ~=1.0.9 to ~=2.1.0#314
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/catfood-approx-eq-2.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 11, 2026

Updates the requirements on catfood to permit the latest version.

Release notes

Sourced from catfood's releases.

猫粮 2.1.0

新增

重构

  • refactor(func/terminal): 重构 runCommand 函数来优化异常处理和代码样式 by @​DuckDuckStudio in DuckDuckStudio/catfood#38
    • 在收到 KeyboardInterrupt 异常时对重新抛出的异常使用 raise...from
    • 移除不必要的立即抛出
    • KeyboardInterrupttry...except 统一到 while 里面
    • 显式添加 check=False,我们会在后面检查退出代码是否为 0
    • 移除 if...return 后面的 else (Pylint no-else-return / R1705)

杂项

PyPI: https://pypi.org/project/catfood/2.1.0/ 完整修改记录: DuckDuckStudio/catfood@2.0.0...2.1.0

Commits
  • a06af91 tests: 更新测试代码 (合并 #40)
  • a3f51d0 chore(pylint): 在测试代码中添加一些 Pylint 禁用注释
  • 16fb104 tests(func/github/api): 统一测试函数 raise_exc 定义到模块级别
  • 4d85a89 refactor(func/terminal): 重构 runCommand 函数来优化异常处理和代码样式 (合并 #38)
  • 714c056 tests(func/terminal): 测试参数为 str 且成功的情况
  • 8955bf8 docs(func/terminal): 使用原样 URL 以避免 Pylint 的 line-too-long
  • a8d3410 tests(func/terminal): 更新测试中模拟运行函数的签名
  • 5a239bb refactor(func/terminal): 移除 if...return 后面的 else
  • 7c4786b refactor(func/terminal): 显式添加 check=False,我们会在后面检查退出代码是否为 0
  • 697964e refactor(func/terminal): 将 KeyboardInterrupt 的 try...except 统一到 while 里面
  • 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 will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 11, 2026
@dependabot dependabot Bot requested a review from DuckDuckStudio as a code owner May 11, 2026 02:57
@dependabot dependabot Bot added the python Pull requests that update Python code label May 11, 2026
@DuckDuckStudio DuckDuckStudio added the DEV-需要注意 DEV:需要注意的任务,可能含有重要信息 label May 11, 2026
@DuckDuckStudio DuckDuckStudio self-assigned this May 11, 2026
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 DEV-需要注意 DEV:需要注意的任务,可能含有重要信息 python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant