Ci/python enable checks - #236
Conversation
Add a Build workflow running ruff check, mypy --strict and pytest across the supported Python matrix (3.10/3.11/3.12), plus the client/delegated/multipart test suites. Declare typing_extensions as a runtime dependency (the generated SDK imports NotRequired/deprecated from it) and respx as a dev dependency (used by the HTTP-mocking tests). pyproject.toml, tests/ and .github/ are hand-maintained in this repo (the sync from the monorepo overlays only generated code and preserves them), so these gates persist across syncs. The generated SDK is emitted lint- and type-clean by the monorepo generator, so no hand-edits to dfns_sdk/ are needed.
Repo-owned tests for dfns_sdk.auth.KeySigner: Ed25519 + ECDSA(P-256) assertion structure (kind/credId/clientData) and signature verification against the public key over the exact clientData bytes, Ed25519 determinism, and app_origin propagation. Generates ephemeral keys in-test (cryptography), no fixtures. NOTE: unsigned (author away) — amend/re-sign on review. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Caution Review the following alerts detected in dependencies. According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. Learn more about Socket for GitHub.
|
Co-authored-by: James Barrios <jamesbarrios@dfns.co>
|
@SocketSecurity ignore pypi/typing-extensions@4.16.0 |
No description provided.