Nhat Ha
06/25/2026, 2:53 AMcryptography package to >=48.0 in our environment due to security requirements, but we're blocked by c7n's pinned dependency.
• What we found:
◦ `c7n 0.9.51`(latest) pins`cryptography`to`46.0.7`
◦ All`c7n`versions`>=0.9.47`are pinned to specific cryptography versions (44.0.3,45.0.7,46.0.5, or`46.0.7`)
◦ `cryptography >=48.0`is incompatible with any current`c7n`release
is there a plan to support cryptography >= 48.0 in an upcoming c7n release? Or is there a recommended workaround (e.g., using a version constraint range instead of a pinned version) that would allow consumers to upgrade cryptography independently?
Thanks!AJ Kerrigan
06/25/2026, 9:42 PMcryptography versions (we have in the past, but temporarily in response to breakages/incompatibilities)
2. we do freeze/lock package versions for releases, in an attempt to keep the c7n environment fairly predictable and avoid surprises
We're coming up on a month since the last release, so about ready to do a pass of upgrades which will update cryptography to the latest that all of our dependencies allow.
That last bit is relevant because c7n_oci depends on cryptography<47 (issue). Because c7n has a unified dep tree across all supported providers, we can't update to 48 until that OCI issue is resolved.AJ Kerrigan
06/25/2026, 9:53 PMcryptography you certainly could try a target pip upgrade of that package.AJ Kerrigan
06/25/2026, 9:58 PMNhat Ha
06/26/2026, 6:37 AM