Skip to content

chore: update ruff requirement from >=0.17.2 to >=0.17.3 - #14

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/ruff-gte-0.17.3
Nov 2, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/ruff-gte-0.17.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Updates the requirements on ruff to permit the latest version.

Release notes

Sourced from ruff's releases.

0.17.3

Release Notes

Released on 2026-10-26.

Preview features

  • [suspicious] Add shared-clock-mock (#29074)

Bug fixes

  • [pyupgrade] Avoid incorrect conversions to f-strings (UP032) (#25485)

Performance

  • Buffer stdout in ruff format (#29631)
  • Specialize ASCII identifier lexing (#29503)
  • Speed up identifier and keyword lexing (#29463)

Documentation

  • [flake8-bandit] Describe what the rule actually checks for httpx (S113) (#27936)

Contributors

Install ruff 0.17.3

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ruff/releases/download/0.17.3/ruff-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ruff/releases/download/0.17.3/ruff-installer.ps1 | iex"

Download ruff 0.17.3

File Platform Checksum
ruff-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
ruff-x86_64-apple-darwin.tar.gz Intel macOS checksum
ruff-aarch64-pc-windows-msvc.zip ARM64 Windows checksum

... (truncated)

Changelog

Sourced from ruff's changelog.

0.17.3

Released on 2026-10-26.

Preview features

  • [suspicious] Add shared-clock-mock (#29074)

Bug fixes

  • [pyupgrade] Avoid incorrect conversions to f-strings (UP032) (#25485)

Performance

  • Buffer stdout in ruff format (#29631)
  • Specialize ASCII identifier lexing (#29503)
  • Speed up identifier and keyword lexing (#29463)

Documentation

  • [flake8-bandit] Describe what the rule actually checks for httpx (S113) (#27936)

Contributors

0.17.2

Released on 2026-10-22.

Preview features

  • [complexity] Add unnecessary-regular-expression-compile (#25533)

Bug fixes

  • Avoid syntax errors for type variables with starred constraints (UP040, UP046, UP047, RUF053) (#28362)
  • [pydocstyle] Treat backslash-escaped *args and **kwargs as documented (D417) (#29536)
  • [pylint] Avoid false positive on starred elements (PLE0643) (#29483)
  • [pylint] Mark fixes unsafe when deleting comments (PLR5501, PLW0120) (#29414)
  • [pyupgrade] Mark fix unsafe when deleting comments (UP035) (#29413)

Performance

  • Avoid intermediate names in lint name resolution (#29506)
  • Prefilter bidirectional Unicode checks by UTF-8 leading bytes (#29561)
  • Share postfix parsing and reduce expression copies (#29480)

... (truncated)

Commits

@dependabot @github

dependabot Bot commented on behalf of github Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.17.2...0.17.3)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.17.3
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/ruff-gte-0.17.3 branch from 97638aa to d00fb66 Compare November 2, 2026 01:16
@github-actions
github-actions Bot merged commit 1a7e3c0 into main Nov 2, 2026
7 checks passed
@github-actions
github-actions Bot deleted the dependabot/pip/ruff-gte-0.17.3 branch November 2, 2026 01:19
laincat added a commit that referenced this pull request Nov 4, 2026
2026-11-02 的「Dependabot validated merge」在 PR #14 上失败:

  CalledProcessError: Command '['gh', 'pr', 'merge', '14', '--repo',
  laincat/AwesomePyKit', '--squash', '--delete-branch',
  '--match-head-commit', '97638aa...']' returned non-zero exit status 1

脚本先按 sha 校验检查项,再执行带 --match-head-commit 的合并;这中间
Dependabot 又推了新提交(01:16:55 → d00fb66),头提交不再匹配,gh 拒绝
合并,check=True 直接把整轮门禁判红。下一次调度(01:19:27)已经正常合掉
同一个 PR,说明只是竞态。

改动:
- gh pr merge 包在 try/except 里:失败时打印 "PR #N: merge skipped: ..." 并
  继续下一个 PR,让下一次调度重新校验;
- 合并成功后触发 post-merge / release 的 workflow_dispatch 仍然 check=True,
  那一步失败是真问题,不能吞;
- 补一条回归测试:合并调用抛 CalledProcessError 时不抛异常、也不触发后续
  dispatch。

验证:python -m unittest test_dependabot_merge(含新增用例)通过;
ruff check 通过。

Co-authored-by: laincat <1129621+laincat@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant