From b12cc46b5a7a3794e44e75ac4a1f485902dd99bc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 05:10:52 +0000 Subject: [PATCH 1/2] deps: bump the python-dependencies group with 4 updates Bumps the python-dependencies group with 4 updates: [pydantic-settings](https://github.com/pydantic/pydantic-settings), [sentry-sdk](https://github.com/getsentry/sentry-python), [ruff](https://github.com/astral-sh/ruff) and [pyright](https://github.com/RobertCraigie/pyright-python). Updates `pydantic-settings` from 2.14.2 to 2.15.0 - [Release notes](https://github.com/pydantic/pydantic-settings/releases) - [Commits](https://github.com/pydantic/pydantic-settings/compare/v2.14.2...v2.15.0) Updates `sentry-sdk` from 2.68.0 to 2.68.1 - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/2.68.0...2.68.1) Updates `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](https://github.com/astral-sh/ruff/compare/0.16.4...0.16.5) Updates `pyright` from 1.1.406 to 1.1.411 - [Release notes](https://github.com/RobertCraigie/pyright-python/releases) - [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.406...v1.1.411) --- updated-dependencies: - dependency-name: pydantic-settings dependency-version: 2.15.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-dependencies - dependency-name: sentry-sdk dependency-version: 2.68.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-dependencies - dependency-name: ruff dependency-version: 0.16.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: python-dependencies - dependency-name: pyright dependency-version: 1.1.411 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: python-dependencies ... Signed-off-by: dependabot[bot] --- pyproject.toml | 8 ++++---- requirements-dev.txt | 4 ++-- requirements.txt | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index caadc44..8cbeb48 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,16 +7,16 @@ requires-python = ">=3.14" dependencies = [ "fastapi==0.141.1", "uvicorn==0.52.4", - "pydantic-settings==2.14.2", - "sentry-sdk==2.68.0", + "pydantic-settings==2.15.0", + "sentry-sdk==2.68.1", "botasaurus @ git+https://github.com/omkarcloud/botasaurus.git@7936afad5f8ca78fe0581a9dabd5f7d6964c6b1a", ] [project.optional-dependencies] dev = [ - "ruff==0.16.4", + "ruff==0.16.5", "PyYAML==6.0.3", - "pyright==1.1.406", + "pyright==1.1.411", ] [tool.ruff] diff --git a/requirements-dev.txt b/requirements-dev.txt index a6510a6..89864ae 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,3 @@ -ruff==0.16.4 +ruff==0.16.5 PyYAML==6.0.3 -pyright==1.1.406 +pyright==1.1.411 diff --git a/requirements.txt b/requirements.txt index 3698693..506ab74 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ fastapi==0.141.1 uvicorn==0.52.4 -pydantic-settings==2.14.2 -sentry-sdk==2.68.0 +pydantic-settings==2.15.0 +sentry-sdk==2.68.1 botasaurus @ git+https://github.com/omkarcloud/botasaurus.git@7936afad5f8ca78fe0581a9dabd5f7d6964c6b1a From 25b539d65948a072e7bea1f9fb674d1be49a4516 Mon Sep 17 00:00:00 2001 From: Gil Desmarais Date: Fri, 4 Sep 2026 19:54:48 +0200 Subject: [PATCH 2/2] fix(types): use Generator return for @contextmanager under pyright 1.1.411 --- tests/support/http.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/support/http.py b/tests/support/http.py index dad961f..c4bebcf 100644 --- a/tests/support/http.py +++ b/tests/support/http.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterator +from collections.abc import Generator from contextlib import contextmanager from typing import Protocol @@ -59,7 +59,7 @@ def test_client( settings: Settings | None = None, engine: ScraperEngine | None = None, execute_side_effect: ExecuteSideEffect | None = None, -) -> Iterator[TestClient]: +) -> Generator[TestClient]: app: FastAPI = create_app(settings) bound_engine: ScraperEngine | None = engine