|WARNING| dts: update cryptography dependency to avoid test discovery failure on ppc
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Fri Oct 23 00:30:39 CEST 2026
Test-Label: ai-code-review
Test-Status: WARNING
https://dpdk.org/patch/171874
_AI Code Review_
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-10-22
# DPDK Patch Review
## ERRORS
None identified.
## WARNINGS
**1. Dependency update without explicit rationale for minimum version**
The patch updates `cryptography` from 44.0.0 to 50.0.2 (a jump of 6 major versions) and `cffi` from 1.17.1 to 2.1.1 (a major version bump), but the commit message only explains that "updating cryptography resolves this conflict" without specifying:
- Whether 50.0.2 is specifically required or if any version > 44.0.0 would work
- The minimum version that fixes the issue
- Whether the major version bump to cffi 2.x introduces any compatibility concerns
The commit message mentions "If this proposed change is problematic for any reason, further investigation can be done into which particular cryptography version resolves this" -- this investigation should be done before submitting.
**Suggested fix**: Test with intermediate versions (e.g., 45.0.0, 46.0.0) to identify the minimum version that resolves the namespace collision, and document that in the commit message. Verify that cffi 2.x does not introduce breaking changes for DPDK DTS usage.
---
**2. Missing verification of x86 behavior with new version**
The commit message notes that cryptography 44.0.0 "was tested on x86 and no top-level tests regular package was found" but does not state whether the updated version (50.0.2) was tested on x86 to ensure it does not introduce the same issue there.
**Suggested fix**: Test cryptography 50.0.2 on x86_64 to confirm no top-level `tests` package is present in the wheel, and document this in the commit message.
---
**3. Poetry lock file update shows unrelated dependency version changes**
The lock file shows changes to `typing-extensions` (4.12.2 removed, only 4.15.0 remains) and constraint adjustments (`>=4.6.0,<4.7.0 || >4.7.0` - `>=4.6.0,!=4.7.0`). While these may be side effects of Poetry's constraint resolution, the commit message should note if these changes were tested and are intentional.
**Suggested fix**: Verify that the removal of `typing-extensions` 4.12.2 and the constraint change do not break compatibility on any supported Python versions (3.9-3.14 based on the wheel list), and mention this in the commit message if testing was done.
---
**4. Large version jump increases risk of undocumented breaking changes**
Jumping from cryptography 44.0.0 to 50.0.2 skips releases 45.x, 46.x, 47.x, 48.x, and 49.x. Cryptography is a security-critical dependency, and major version increments can include API changes or deprecations that may not surface immediately in testing but could affect users.
**Suggested fix**: Review the cryptography release notes for versions 45-50 to identify any breaking changes, deprecations, or security fixes, and confirm that DTS does not use any deprecated APIs. Document this review in the commit message.
---
Review-Result: WARNING
More information about the test-report
mailing list