deps: update pydantic-settings requirement from >=2.7.0 to >=2.14.1#59
Merged
Merged
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Member
|
@dependabot rebase |
b933910 to
69474db
Compare
Member
|
W46-A NSS-DEP-HEAL Triage (2026-05-26) MINOR (pydantic-settings 2.7→2.14). Lokale Test-Suite (209/209) grün. Kein API-Break entdeckt. CI-rot durch pre-existing mypy-Errors (siehe #60). Status: STAY-OPEN. Empfehlung: Erst #60 (main-CI healen) mergen, dann diesen PR. Lokale Verifikation: 2026-05-26 W46-A Sub-Agent. — Beleg: |
2 tasks
LEEI1337
added a commit
that referenced
this pull request
May 26, 2026
…P2) (#62) * fix(knowledge): migrate qdrant search() to query_points() for v1.18 (#60 P2a) qdrant-client >=1.13 removed the `search()` method. Production code raised `AttributeError: 'QdrantClient' has no attribute 'search'`; tests masked the bug via MagicMock. - src/nss/knowledge/vector_store.py: call query_points() and iterate the QueryResponse.points list. - tests/test_knowledge/test_vector_store.py: mock query_points returning a response object with a .points attribute. Verified locally: 209/209 pytest tests pass with qdrant-client 1.18.0, no behavior change in the search contract (id/score/payload dict shape). Refs: nss#60 (mypy attr-defined on vector_store.py:90) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * chore(types): resolve 26 remaining mypy errors blocking CI (#60 P2b) Heal `mypy --ignore-missing-imports` on main (red since W46). Per-file fixes: - src/nss/middleware.py — type `call_next: RequestResponseEndpoint` and `app: ASGIApp` (starlette types); removes 4× `no-any-return` from `await call_next()` and the `Any` ASGI app param. - src/nss/knowledge/sag_encryption.py — type-annotate decoded payload. - src/nss/knowledge/rag_pipeline.py — annotate `results` so the return type matches `list[dict[str, Any]]`. - src/nss/knowledge/embeddings.py — replace 2× now-stale `type: ignore[union-attr]` with explicit `list[float]`/`list[list[float]]` intermediates (no-any-return). - src/nss/cache.py — handle redis-py 7.4 `Awaitable[bool] | bool` return of `ping()` without awaiting a bool literal. - src/nss/auth.py — return-type for `require_role` factory: `Callable[..., Awaitable[dict[str, Any]]]`. - src/nss/guardian/sentinel.py — `float(...)` cast on cosine result. - src/nss/guardian/server.py — `lifespan(app) -> AsyncIterator[None]`. - src/nss/metrics_server.py — return type on `metrics()` / `metrics_prometheus()`, hoist `PlainTextResponse` import, and widen `kwargs: dict[str, Any]` for uvicorn.run (uvicorn's **kwargs is heterogeneous; `dict[str, str]` produced 11 false-positive arg-type errors against the uvicorn stubs). - src/nss/gateway/server.py — `list[Any]` for `_fire_dpia.entities`. Verified locally (Python 3.12, pytest 9.0.3 + all 10 Dependabot dep-bumps installed simultaneously): mypy = 0 errors, ruff = clean, 209/209 tests pass. Unblocks Dependabot PRs #50-#59. Refs: nss#60 (27 mypy errors). qdrant migration carved out into prior commit so this change is pure annotation work with no runtime delta. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: mackbook <mackbook@mackbooks-MacBook-Air.local> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Updates the requirements on [pydantic-settings](https://github.com/pydantic/pydantic-settings) to permit the latest version. - [Release notes](https://github.com/pydantic/pydantic-settings/releases) - [Commits](pydantic/pydantic-settings@v2.7.0...v2.14.1) --- updated-dependencies: - dependency-name: pydantic-settings dependency-version: 2.14.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
34cadaa to
e8c4294
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the requirements on pydantic-settings to permit the latest version.
Release notes
Sourced from pydantic-settings's releases.
Commits
e95c30bPrepare release 2.14.1 (#859)0c87345Fix field namedclsconflicting with classmethod parameter (#858)7bd0072Bump the python-packages group with 2 updates (#856)b03e573Bump the github-actions group with 3 updates (#853)eaa3b43Bump the python-packages group with 5 updates (#854)9f95615Bump the python-packages group with 4 updates (#850)8916beePrepare release 2.14.0 (#848)39e551cFix CLI descriptions lost underpython -OOby falling back to `json_schema_...9ed7f48Bump the python-packages group with 4 updates (#847)617c690Fixcli_ignore_unknown_args=Truenot working on subcommands (#844)