chore(deps): bump dnspython from 2.9.0 to 2.9.2 in /backend (#8316)

* chore(deps): bump dnspython from 2.9.0 to 2.9.2 in /backend

Bumps [dnspython](https://github.com/rthalley/dnspython) from 2.9.0 to 2.9.2.
- [Release notes](https://github.com/rthalley/dnspython/releases)
- [Changelog](https://github.com/rthalley/dnspython/blob/main/doc/whatsnew.rst)
- [Commits](https://github.com/rthalley/dnspython/compare/v2.9.0...v2.9.2)

---
updated-dependencies:
- dependency-name: dnspython
  dependency-version: 2.9.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* test(gateway): wait for browser session before checking egress

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
This commit is contained in:
dependabot[bot] 2026-11-17 16:01:05 +08:00 committed by GitHub
parent 1cd1a8ac63
commit 16c8e01a99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 5 deletions

View File

@ -401,6 +401,8 @@ def test_browser_stream_acquires_the_session_with_pinned_egress():
session = MagicMock()
for method in ("current_url", "start_screencast", "stop_screencast", "tabs"):
setattr(session, method, AsyncMock())
session.current_url.return_value = None
session.tabs.return_value = []
manager = MagicMock()
manager.acquire_session.return_value.__enter__.return_value = session
@ -412,8 +414,10 @@ def test_browser_stream_acquires_the_session_with_pinned_egress():
patch("deerflow.config.get_app_config", return_value=SimpleNamespace(get_tool_config=lambda _name: None)),
patch("deerflow.community.browser_automation.get_browser_session_manager", return_value=manager),
TestClient(app) as client,
client.websocket_connect("/api/threads/thread-1/browser/stream"),
client.websocket_connect("/api/threads/thread-1/browser/stream") as ws,
):
pass
# The upgrade is accepted before the route reads config and acquires the session.
assert ws.receive_json() == {"type": "tabs", "tabs": []}
manager.acquire_session.assert_called_once()
assert manager.acquire_session.call_args.kwargs["egress_resolver"] is resolve_browser_egress

6
backend/uv.lock generated
View File

@ -1176,11 +1176,11 @@ wheels = [
[[package]]
name = "dnspython"
version = "2.9.0"
version = "2.9.2"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/ef/4a/50822184bd67cc6493f0fb6a880749158fcd31ab3fa07409acfd91f9fc85/dnspython-2.9.0.tar.gz", hash = "sha256:b44dc6b18f07a8b1c56676a19fbfdb5209415b046a9cece286baafa87ff3f7f1", size = 423560, upload-time = "2026-10-09T00:07:24.352Z" }
sdist = { url = "https://files.pythonhosted.org/packages/76/49/900383b471c645a3c397f47b3211d1fcecb3a540c98f683494cdf86b33de/dnspython-2.9.2.tar.gz", hash = "sha256:8d4d39a513e649d634004ce4d39ade2352efcea472a0247535a5c2d18a9d7ba9", size = 455484, upload-time = "2026-11-03T23:56:53.601Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/10/02/cdcc9b7c051786a103c3b09e1003a82fa0c66bcb91ffbdabcfbf7b4163b9/dnspython-2.9.0-py3-none-any.whl", hash = "sha256:9a4aedb833c3c1b49214d04d44d3032ab7a9135f7c1d29a549b4ff78fd82fda9", size = 354822, upload-time = "2026-10-09T00:07:22.622Z" },
{ url = "https://files.pythonhosted.org/packages/1e/0c/5346358b3a20275d256978c35203ddc2c8617f78c1b23795b79ba22ced6d/dnspython-2.9.2-py3-none-any.whl", hash = "sha256:af15f7d385a6ae2fb35a796fde2138004c8c42c7389090e2addc83e3b3340fd8", size = 360455, upload-time = "2026-11-03T23:56:52.088Z" },
]
[[package]]