Skip to content

Python: Chore(deps-dev): Bump ruff from 0.16.4 to 0.16.5 in /python - #8064

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/pip/python/ruff-0.16.5
Open

Python: Chore(deps-dev): Bump ruff from 0.16.4 to 0.16.5 in /python#8064
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/pip/python/ruff-0.16.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 4, 2026

Copy link
Copy Markdown
Contributor

Bumps ruff from 0.16.4 to 0.16.5.

Release notes

Sourced from ruff's releases.

0.16.5

Release Notes

Released on 2026-08-27.

Preview features

  • Allow rules without codes (#28049)
  • Introduce category selectors (#27666)
  • Update preview default rules and categories (#27877)

Bug fixes

  • [flake8-async] Detect blocking generic HTTP requests (ASYNC210) (#28024)
  • [flake8-datetimez] Allow timezone-safe strptime chains (DTZ007) (#28023)
  • [flake8-simplify] Respect side effects in lambda defaults (SIM401) (#28000)

Server

  • Fix duplicated "of" in ClientOptions doc comment (#27978)

Documentation

  • Document rule acceptance guidelines (#27910)
  • Document the new category selectors (#27906)

Contributors

Install ruff 0.16.5

Install prebuilt binaries via shell script

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

Install prebuilt binaries via powershell script

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

Download ruff 0.16.5

... (truncated)

Changelog

Sourced from ruff's changelog.

0.16.5

Released on 2026-08-27.

Preview features

  • Allow rules without codes (#28049)
  • Introduce category selectors (#27666)
  • Update preview default rules and categories (#27877)

Bug fixes

  • [flake8-async] Detect blocking generic HTTP requests (ASYNC210) (#28024)
  • [flake8-datetimez] Allow timezone-safe strptime chains (DTZ007) (#28023)
  • [flake8-simplify] Respect side effects in lambda defaults (SIM401) (#28000)

Server

  • Fix duplicated "of" in ClientOptions doc comment (#27978)

Documentation

  • Document rule acceptance guidelines (#27910)
  • Document the new category selectors (#27906)

Contributors

Commits

Dependabot compatibility score

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)

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.16.4 to 0.16.5.
- [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.16.4...0.16.5)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.16.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Usage: [Issues, PRs], Target: dependencies in the project python Usage: [Issues, PRs], Target: Python labels Sep 4, 2026
Copilot AI balanced review requested due to automatic review settings September 4, 2026 13:06
@dependabot dependabot Bot added the python Usage: [Issues, PRs], Target: Python label Sep 4, 2026
@dependabot dependabot Bot added the dependencies Usage: [Issues, PRs], Target: dependencies in the project label Sep 4, 2026
@dependabot
dependabot Bot deployed to github-app-auth September 4, 2026 13:07 Active
@github-actions github-actions Bot changed the title Chore(deps-dev): Bump ruff from 0.16.4 to 0.16.5 in /python Python: Chore(deps-dev): Bump ruff from 0.16.4 to 0.16.5 in /python Sep 4, 2026
@dependabot
dependabot Bot deployed to github-app-auth September 4, 2026 13:07 Active
@dependabot
dependabot Bot deployed to github-app-auth September 4, 2026 13:07 Active
@dependabot
dependabot Bot deployed to github-app-auth September 4, 2026 13:08 Active

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The committed lockfile still resolves Ruff 0.16.4 and must be regenerated.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates Python development tooling to Ruff 0.16.5.

Changes:

  • Bumps the pinned Ruff version from 0.16.4 to 0.16.5.
File summaries
File Description
python/pyproject.toml Updates the Ruff development dependency.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread python/pyproject.toml
@moonbox3

Copy link
Copy Markdown
Contributor

Address the open PR comment and fix CI/CD checks Copilot

Co-authored-by: moonbox3 <35585003+moonbox3@users.noreply.github.com>

Copilot AI commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Address the open PR comment and fix CI/CD checks Copilot

Done in b4dfb32.

  • Regenerated python/uv.lock; it now resolves ruff 0.16.5 (uv lock --check passes with the pinned uv 0.12.6).
  • CI was failing because python/packages/lab/pyproject.toml still pinned ruff==0.16.4, making the workspace unresolvable (agent-framework:dev vs agent-framework-lab:dev conflict). That pin is now bumped to 0.16.5 as well.
  • Verified ruff check --no-fix reports identical results (92 errors, 16 fixable) on both 0.16.4 and 0.16.5, so the bump introduces no new lint findings.

Copilot AI deployed to github-app-auth September 7, 2026 06:11 Active
@agent-framework-automation agent-framework-automation Bot added the lab Usage: [Issues, PRs], Target: lab packages label Sep 7, 2026
@github-code-quality

Copy link
Copy Markdown

Code Coverage Overview

Languages: Python

Python / code-coverage/python

The overall line coverage in commit 72eebfd in the dependabot/pip/pytho... branch is 91%. Line coverage data for the main branch is not yet available.

Show a line coverage summary of the most covered files.
File main dependabot/pip/pytho... 72eebfd +/-
packages/core/a...work/_skills.py 95%
packages/core/a...ework/_tools.py 94%
packages/core/a...rk/_sessions.py 94%
packages/core/a...ework/_types.py 93%
packages/core/a...bservability.py 93%
packages/core/a.../_compaction.py 93%
packages/openai..._chat_client.py 92%
packages/core/a...amework/_mcp.py 92%
packages/ag-ui/...i/_agent_run.py 91%
packages/foundr...g/_responses.py 87%

@moonbox3

Copy link
Copy Markdown
Contributor

Copilot CI checks are still failing.

Copilot AI commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Copilot CI checks are still failing.

The only failing check left is Python Lab Tests (3.13, ubuntu-latest) (and merge-gatekeeper, which just reflects it). It is not caused by the ruff bump — it's pre-existing on main.

Failure:

lightning/tests/test_lightning.py::test_observability
agentlightning/__init__.py -> litellm.proxy.proxy_server
  -> litellm/proxy/management_endpoints/management_v1/common.py:6
ImportError: cannot import name 'get_flat_dependant' from 'fastapi.dependencies.utils'

Root cause: FastAPI removed get_flat_dependant in 0.141.0 (verified: present in 0.140.0, gone in 0.141.0), and the lock resolves fastapi==0.141.1 with litellm==1.95.0, which still imports it. litellm dropped that import in 1.100.0.

Evidence it's pre-existing: the same test_observability ImportError fails on scheduled main runs 34002461876 (2026-09-06) and 33934047980 (2026-09-05), which do not include this branch.

The fix is to raise the litellm floor in python/pyproject.toml (constraint-dependencies = ["litellm>=1.100.0", ...]) and relock. I tried it locally and it works, but it moves litellm 1.95.0 → 1.100.0 plus litellm-enterprise, litellm-proxy-extras, restrictedpython and adds hiredis (~2k lines of lock churn) — a much larger change than a ruff dev-tool bump should carry, and Dependabot would clobber it on the next rebase.

Do you want me to apply that litellm bump here, or should it land as a separate PR against main?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Usage: [Issues, PRs], Target: dependencies in the project lab Usage: [Issues, PRs], Target: lab packages python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants