chore(deps): bump cryptography from 46.0.5 to 50.0.0 in /envs/carla_env - #1049
chore(deps): bump cryptography from 46.0.5 to 50.0.0 in /envs/carla_env#1049dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.5 to 50.0.0. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@46.0.5...50.0.0) --- updated-dependencies: - dependency-name: cryptography dependency-version: 50.0.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
There was a problem hiding this comment.
Alignment Review Report
Scope: Dependabot bump of cryptography 46.0.5 → 50.0.0. The diff touches one file (envs/carla_env/uv.lock) and zero Python source files.
Automated Checks
- Lint: PASS (not applicable to diff). No
.pyfiles are modified, so theusort/ruff format/ruff checkpipeline has nothing in this diff to flag. (uvwas not preinstalled in the review sandbox; I installed it and ranruffdirectly to confirm. The repo-wide "would reformat" results are pre-existing / tool-version noise and unrelated to this lockfile change.) - Debug code: CLEAN (not applicable to diff).
check-debug.shonly scanssrc/, which this PR does not touch. Everyprint/TODOit reports is pre-existing docstring/CLI (rich.console) output — none introduced here.
Open RFCs Context
Active RFCs: 000, 001, 002, 003, 005 (In Review), 010 (Draft), 004 (no explicit status). None concern dependency management, lockfiles, or the cryptography / secretstorage packages, so none are implicated by this change.
Tier 1: Fixes Required
None. Lockfile-only change; all wheels/sdist carry pinned sha256 hashes from pypi.org, the package name is correct (no typosquat), and the lock resolves cleanly.
Tier 2: Alignment Discussion
Principle Conflicts
None identified. A transitive-dependency version bump does not touch the Gymnasium API (reset/step/state), reward-in-environment computation, client/server separation, the MCP↔WebSocket dual-API boundary, or agent-reset isolation.
RFC Conflicts
None identified.
Additional Observations (non-blocking)
cryptographyis a deep transitive dependency — pulled in viaauthlib,joserfc,pyjwt[crypto], andsecretstorage. It is not a direct dependency ofcarla_env(whose deps areopenenv,fastapi,pydantic,uvicorn,requests), and nocarla_envcode imports it. Runtime blast radius is minimal.- Large major-version jump (46 → 50). cryptography major releases can drop older OpenSSL/platform support and remove deprecated APIs. Because it is transitive and unused directly here, functional risk is low, but it's worth letting the image-build / env-validation CI confirm the new wheels install on the target platform(s).
- Incidental
secretstoragemarker change. The re-resolve also dropped thesys_platform != 'emscripten' and sys_platform != 'win32'markers fromsecretstorage's innercryptography/jeepneydeps. This is benign:secretstorageremains gated tosys_platform == 'linux'at thekeyringlevel, so it and its deps still won't resolve on Windows/emscripten.
Summary
- 0 mechanical (Tier 1) issues to fix
- 0 alignment (Tier 2) points for human review
- 0 RFC conflicts to discuss
Routine, low-risk Dependabot lockfile bump — no code or alignment concerns. Recommend letting env build/validation CI confirm the new wheels install cleanly before merge.
Sent by Cursor Automation: Pre-review
There was a problem hiding this comment.
Alignment Review Report
Scope: Native Dependabot bump of cryptography 46.0.5 → 50.0.0. Diff = one file (envs/carla_env/uv.lock), zero Python source files.
Automated Checks
- Lint: PASS (not applicable to diff). No
.pymodified, sousort/ruffhave nothing in this diff. (uvisn't preinstalled in the review sandbox; I installed it — the repo-wideruff"would reformat" hits are pre-existing/tool-version noise, none in this diff.)uv lock --check --project envs/carla_env→ PASS (123 pkgs resolved). - Debug code: CLEAN (not applicable).
check-debug.shscanssrc/only; this PR touches nosrc/.
Lockfile Verification (dependabot lock bump)
- Transitive, not direct.
cryptographyis a deep transitive dep (viaauthlib,joserfc,pyjwt[crypto],secretstorage); it is not a declared dep ofcarla_env, and no carla_env code imports it → minimal runtime blast radius. - Hash integrity: all 46/46 locked 50.0.0 artifacts (1 sdist + 45 wheels) match PyPI's published
sha256exactly; none yanked. - Constraint OK: 50.0.0
requires_python!=3.9.0,!=3.9.1,>=3.9is satisfied by carla_env>=3.11; its only runtime dep (cffi) is already locked. - Born-clean lock:
revision = 3already (not in diff); 0 HF-mirror refs at base and head (126pypi.org/simple) → no index-source flip and no revision-bump side effect; norequires-distre-sync. The diff contains only cryptography artifacts + one benignsecretstoragemarker line.
Security (positive signal)
The old 46.0.5 carries 11 advisories; 50.0.0 clears all of them, including CVE-2026-69247 / GHSA-g6cj-pr64-35w5, whose fixed_in is exactly 50.0.0 (others were fixed in 46.0.6 / 46.0.7 / 48.0.1 / 49.0.0). 50.0.0 itself has no known advisories. This is why the bump targets 50.0.0 specifically — the large 46→50 jump is justified, not a red flag.
Open RFCs Context
Active: 000, 001, 002, 003, 005 (In Review), 010 (Draft), 004 (no status header). None cover dependency management / PyPI / lockfiles → no RFC bearing on this change.
Tier 1: Fixes Required
None. Lock is internally consistent, artifacts are authentic, constraints satisfied.
Tier 2: Alignment Discussion
Principle Conflicts
None. A transitive dependency bump doesn't touch the Gymnasium API (reset/step/state), rewards-in-environment, client/server separation, or the MCP↔WebSocket dual-API boundary.
RFC Conflicts
None.
Process / repo-governance flag (recurring, non-blocking)
ALIGNMENT FLAG: native Dependabot uv PR modifies envs/** despite exclude-paths.
- Policy at stake: the dependency-update config in
.github/dependabot.yml. - The concern: the
uvupdater is configureddirectory: "/"+exclude-paths: ["envs/**"], yet this nativedependabot/uv/envs/carla_env/…PR editsenvs/carla_env/uv.lock.exclude-pathsis a valid key, but theuvecosystem isn't honoring it; the intended channel for env bumps is the aggregatecodex/dependabot-envs-*roll-ups. Non-blocking (keeping envs patched — here with real CVE fixes — is desirable), but the config-vs-behavior mismatch is worth reconciling. - Suggested reviewer: @burtenshaw (author of the
exclude-pathsconfig).
Additional Observations (non-blocking)
- Incidental
secretstoragemarker change. The re-resolve dropped thesys_platform != 'emscripten' and sys_platform != 'win32'markers fromsecretstorage's innercryptography/jeepneydeps. Benign:secretstoragestays gated tosys_platform == 'linux'at thekeyringlevel, so it and its deps still won't resolve on Windows/emscripten. - Routine: let the env image-build /
validate-env-locksCI confirm the new wheels resolve on target platform(s).
Summary
- 0 mechanical (Tier 1) issues
- 1 alignment/process (Tier 2) point — the
exclude-pathsbypass (non-blocking, cc @burtenshaw) - 0 RFC conflicts
Security-positive, born-clean transitive dependency bump. Hashes verified authentic against PyPI, lock consistent, constraints satisfied. The only standing note is the recurring Dependabot exclude-paths process mismatch.
Sent by Cursor Automation: Pre-review
| [[package]] | ||
| name = "cryptography" | ||
| version = "46.0.5" | ||
| version = "50.0.0" |
There was a problem hiding this comment.
This is the substantive change (46.0.5 → 50.0.0). Verified against PyPI: all 46 locked artifacts (1 sdist + 45 wheels) match the published sha256 exactly and none are yanked; uv lock --check passes; requires_python (>=3.9, excluding 3.9.0/3.9.1) is satisfied by carla_env's >=3.11.
Security-positive: 46.0.5 carries 11 advisories, all cleared by 50.0.0 — including CVE-2026-69247 (GHSA-g6cj-pr64-35w5), whose fixed_in is exactly 50.0.0, which is why the bump lands on 50.0.0. cryptography is transitive here (via authlib/joserfc/pyjwt[crypto]/secretstorage), not imported by carla_env directly.
|
Closing in favor of aggregate env Dependabot PR #1015. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |


Bumps cryptography from 46.0.5 to 50.0.0.
Changelog
Sourced from cryptography's changelog.
... (truncated)
Commits
dcb7050Prepare for 50.0.0 release (#15372)53fccd9Don't leak how PKCS#7 encryptedKey decryption failed (#15369)d472f97Addfrom __future__ import annotationsto all src/ Python files (#15371)908773dBump downstream dependencies in CI (#15368)2cc07ccBump BoringSSL, OpenSSL, AWS-LC in CI (#15367)c94ede9chore(deps): bump ruff from 0.16.0 to 0.16.1 (#15366)67a8308chore(deps): bump virtualenv from 21.7.0 to 21.7.1 (#15365)95018ffRelease the GIL in one-shot AEAD encrypt/decrypt (#15361)6954733Release the GIL during DH and DSA parameter generation (#15364)6893b94Import _serialization instead of serialization in x509/extensions (#15363)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
Note
Medium Risk
Major-version bump of a security-critical library with behavioral and parsing changes; scope is limited to the Carla env lockfile with no application code edits.
Overview
Updates
envs/carla_env/uv.lockonly, pinningcryptographyfrom 46.0.5 to 50.0.0 (new sdist/wheel hashes). That pulls in the 50.0.0 release, including the CVE-2026-69247 fix for PKCS#7encryptedKeydecryption oracles and tighter X.509/PKCS parsing in several code paths.The lock refresh also drops platform markers on
secretstorage’scryptographyandjeepneyedges so those deps are listed unconditionally in the lock graph; runtime selection still comes from other packages (e.g.keyringon Linux).Reviewed by Cursor Bugbot for commit e61a151. Bugbot is set up for automated code reviews on this repo. Configure here.