codeflare-sdk
codeflare-sdk copied to clipboard
build(deps): bump cryptography from 43.0.3 to 46.0.3
Bumps cryptography from 43.0.3 to 46.0.3.
Changelog
Sourced from cryptography's changelog.
46.0.3 - 2025-10-15
* Fixed compilation when using LibreSSL 4.2.0... _v46-0-2:
46.0.2 - 2025-09-30
- Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.5.4.
.. _v46-0-1:
46.0.1 - 2025-09-16
* Fixed an issue where users installing via ``pip`` on Python 3.14 development versions would not properly install a dependency. * Fixed an issue building the free-threaded macOS 3.14 wheels... _v46-0-0:
46.0.0 - 2025-09-16
- BACKWARDS INCOMPATIBLE: Support for Python 3.7 has been removed.
- Support for OpenSSL < 3.0 is deprecated and will be removed in the next release.
- Support for
x86_64macOS (including publishing wheels) is deprecated and will be removed in two releases. We will switch to publishing anarm64only wheel for macOS.- Support for 32-bit Windows (including publishing wheels) is deprecated and will be removed in two releases. Users should move to a 64-bit Python installation.
- Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.5.3.
- We now build
ppc64lemanylinuxwheels and publish them to PyPI.- We now build
win_arm64(Windows on Arm) wheels and publish them to PyPI.- Added support for free-threaded Python 3.14.
- Removed the deprecated
get_attribute_for_oidmethod on :class:~cryptography.x509.CertificateSigningRequest. Users should use :meth:~cryptography.x509.Attributes.get_attribute_for_oidinstead.- Removed the deprecated
CAST5,SEED,IDEA, andBlowfishclasses from the cipher module. These are still available in :doc:/hazmat/decrepit/index.- In X.509, when performing a PSS signature with a SHA-3 hash, it is now encoded with the official NIST SHA3 OID.
.. _v45-0-7:
... (truncated)
Commits
c0af4ddrelease 46.0.3 (#13681)99efe5abump version for 46.0.2 (#13531)e735cfcrelease 46.0.1 (#13450)4e457ffExplicitly specify python in mac uv build invocation (#13447)2726efdDepend on CFFI 2.0.0 or newer on Python > 3.8 (#13448)6223062release 46.0.0 (#13446)563c491Update comment for pyopenssl-release tag (#13445)d2f6f7fBump downstream dependencies in CI (#13439)e7ab02bwe'll ship this with 3.5.3 why not (#13442)0b68a4bAnother pair of bump dependencies fix (#13444)- Additional commits viewable in compare view
You can trigger a rebase of this PR 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 mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@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)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Additional Changes added
- cryptography package | 43.0.3 → 46.0.3
- RSA key size | 2048 → 3072 bits
- RFC 5280 compliance | Added certificate extensions
- Certificate storage | ./tls-* → ~/.local/share/codeflare/tls/
- File permissions | Default → 0600 (secure)
- Auto-generation mtls config| Manual → Automatic in wait_ready()
- Auto-cleanup mtls config | Manual → Automatic in down()
- Refresh capability | None → cluster.refresh_certificates()
- Warning messages | None → Helpful warnings in connection methods
- Unit tests | Updated for new behaviour
Verification
- poetry build & pip install into your jupyter notebook
- Run through the demo notebook 2_basic_interactive.ipynb
- After cluster creation and execution of
cluster.wait_ready()verify that filesca.crt tls.crt tls.keyare create at/opt/app-root/src/.local/share/codeflare/tls/<clustername>-<namespace> - execution of the train function should work
- after cluster.down() verify that the previously create files are removed
New changes are detected. LGTM label has been removed.
[APPROVALNOTIFIER] This PR is APPROVED
Approval requirements bypassed by manually added approval.
This pull-request has been approved by:
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Codecov Report
:x: Patch coverage is 47.28682% with 68 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 91.34%. Comparing base (8eac545) to head (38a22d3).
:warning: Report is 2 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/codeflare_sdk/common/utils/generate_cert.py | 44.95% | 60 Missing :warning: |
| src/codeflare_sdk/ray/cluster/cluster.py | 57.89% | 8 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #931 +/- ##
==========================================
- Coverage 94.13% 91.34% -2.79%
==========================================
Files 24 24
Lines 2096 2206 +110
==========================================
+ Hits 1973 2015 +42
- Misses 123 191 +68
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
rebase
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.