Repository navigation
ci(deps): update python to ==3.13.* (cnv-4.99) - #2189
renovate[bot] wants to merge 1 commit into
Conversation
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features:
🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
|
D/S test |
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
openshift-virtualization-qe-bot
left a comment
There was a problem hiding this comment.
D/S test tox -e verify-bugs-are-open failed: cnv-tests-tox-executor/17300
2381590 to
22e9f42
Compare
|
/approve |
|
/approve cancel |
|
/lgtm cancel |
|
closing as the repo is not going to sue 3.13 for now due to bitwarden client issue |
Pull request was closed
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
…6430) ##### What this PR does / why we need it: On FIPS-enabled clusters, the `ocp-virt-validation-checkup-rhel9` image uses RHEL 9.8 as base with the system Python interpreter. The system Python links `hashlib` against RHEL's system OpenSSL, which enforces FIPS mode when the cluster has FIPS enabled (`/proc/sys/crypto/fips_enabled = 1`). In FIPS mode, `hashlib.md5()` without `usedforsecurity=False` raises `UnsupportedDigestmodError`, causing all SSH connectivity checks into VMs to fail: ``` Function: rrmngmnt.host.run_command Kwargs: {'command': ['exit'], 'tcp_timeout': 60} Last exception: UnsupportedDigestmodError: [digital envelope routines] unsupported. ``` **Root cause:** `paramiko.pkey.md5` (imported from `hashlib`) is called by: - `PKey.get_fingerprint()` — used for display/logging of host key fingerprints in all host key policies (`AutoAddPolicy`, `RejectPolicy`, `WarningPolicy`) and during SSH client auth - `PKey._read_private_key_pem()` — used for password-protected PEM key decryption CI (Jenkins) uses the `openshift-virtualization-tests:latest` image (Fedora 41 + `uv` standalone Python) which bundles its own OpenSSL that does not inherit the host FIPS policy — hence no failure there. **Upstream status:** Known paramiko bug ([issue #396](paramiko/paramiko#396), open since 2014). Multiple PRs submitted ([#1928](paramiko/paramiko#1928), [#2189](paramiko/paramiko#2189), [#2496](paramiko/paramiko#2496), [#2624](paramiko/paramiko#2624)) — none merged. No fix in `paramiko 5.0.0`. **Fix:** Patch `paramiko.pkey.md5` at import time via `vars()` to use `usedforsecurity=False`. This tells OpenSSL FIPS that the MD5 usage is not for security purposes (fingerprint display/logging only). **Validated on a FIPS-enabled cluster:** `test_clone_from_block_to_fs_using_dv_template` fails without the patch and passes with it on the `ocp-virt-validation-checkup-rhel9` image. ##### Which issue(s) this PR fixes: CNV-98463 ##### Special notes for reviewer: `vars(paramiko.pkey).update(...)` is used instead of direct attribute assignment to avoid mypy `attr-defined`/`method-assign` errors on third-party module patching, without requiring `# type: ignore` (prohibited by AGENTS.md) or a broad `ignore_errors` mypy override. ##### jira-ticket: CNV-98463 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Improved compatibility for automated test runs in FIPS-enabled environments. Application behavior and user-facing functionality are unchanged; this update affects test setup only and does not alter security protections. No new end-user features or other behavior changes are included. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Ramón Lobillo <[email protected]> Co-authored-by: Claude Sonnet 4.6 (1M context) <[email protected]>
…edHatQE#6430) ##### What this PR does / why we need it: On FIPS-enabled clusters, the `ocp-virt-validation-checkup-rhel9` image uses RHEL 9.8 as base with the system Python interpreter. The system Python links `hashlib` against RHEL's system OpenSSL, which enforces FIPS mode when the cluster has FIPS enabled (`/proc/sys/crypto/fips_enabled = 1`). In FIPS mode, `hashlib.md5()` without `usedforsecurity=False` raises `UnsupportedDigestmodError`, causing all SSH connectivity checks into VMs to fail: ``` Function: rrmngmnt.host.run_command Kwargs: {'command': ['exit'], 'tcp_timeout': 60} Last exception: UnsupportedDigestmodError: [digital envelope routines] unsupported. ``` **Root cause:** `paramiko.pkey.md5` (imported from `hashlib`) is called by: - `PKey.get_fingerprint()` — used for display/logging of host key fingerprints in all host key policies (`AutoAddPolicy`, `RejectPolicy`, `WarningPolicy`) and during SSH client auth - `PKey._read_private_key_pem()` — used for password-protected PEM key decryption CI (Jenkins) uses the `openshift-virtualization-tests:latest` image (Fedora 41 + `uv` standalone Python) which bundles its own OpenSSL that does not inherit the host FIPS policy — hence no failure there. **Upstream status:** Known paramiko bug ([issue RedHatQE#396](paramiko/paramiko#396), open since 2014). Multiple PRs submitted ([RedHatQE#1928](paramiko/paramiko#1928), [RedHatQE#2189](paramiko/paramiko#2189), [RedHatQE#2496](paramiko/paramiko#2496), [RedHatQE#2624](paramiko/paramiko#2624)) — none merged. No fix in `paramiko 5.0.0`. **Fix:** Patch `paramiko.pkey.md5` at import time via `vars()` to use `usedforsecurity=False`. This tells OpenSSL FIPS that the MD5 usage is not for security purposes (fingerprint display/logging only). **Validated on a FIPS-enabled cluster:** `test_clone_from_block_to_fs_using_dv_template` fails without the patch and passes with it on the `ocp-virt-validation-checkup-rhel9` image. ##### Which issue(s) this PR fixes: CNV-98463 ##### Special notes for reviewer: `vars(paramiko.pkey).update(...)` is used instead of direct attribute assignment to avoid mypy `attr-defined`/`method-assign` errors on third-party module patching, without requiring `# type: ignore` (prohibited by AGENTS.md) or a broad `ignore_errors` mypy override. ##### jira-ticket: CNV-98463 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Improved compatibility for automated test runs in FIPS-enabled environments. Application behavior and user-facing functionality are unchanged; this update affects test setup only and does not alter security protections. No new end-user features or other behavior changes are included. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Ramón Lobillo <[email protected]> Co-authored-by: Claude Sonnet 4.6 (1M context) <[email protected]>
…edHatQE#6430) ##### What this PR does / why we need it: On FIPS-enabled clusters, the `ocp-virt-validation-checkup-rhel9` image uses RHEL 9.8 as base with the system Python interpreter. The system Python links `hashlib` against RHEL's system OpenSSL, which enforces FIPS mode when the cluster has FIPS enabled (`/proc/sys/crypto/fips_enabled = 1`). In FIPS mode, `hashlib.md5()` without `usedforsecurity=False` raises `UnsupportedDigestmodError`, causing all SSH connectivity checks into VMs to fail: ``` Function: rrmngmnt.host.run_command Kwargs: {'command': ['exit'], 'tcp_timeout': 60} Last exception: UnsupportedDigestmodError: [digital envelope routines] unsupported. ``` **Root cause:** `paramiko.pkey.md5` (imported from `hashlib`) is called by: - `PKey.get_fingerprint()` — used for display/logging of host key fingerprints in all host key policies (`AutoAddPolicy`, `RejectPolicy`, `WarningPolicy`) and during SSH client auth - `PKey._read_private_key_pem()` — used for password-protected PEM key decryption CI (Jenkins) uses the `openshift-virtualization-tests:latest` image (Fedora 41 + `uv` standalone Python) which bundles its own OpenSSL that does not inherit the host FIPS policy — hence no failure there. **Upstream status:** Known paramiko bug ([issue RedHatQE#396](paramiko/paramiko#396), open since 2014). Multiple PRs submitted ([RedHatQE#1928](paramiko/paramiko#1928), [RedHatQE#2189](paramiko/paramiko#2189), [RedHatQE#2496](paramiko/paramiko#2496), [RedHatQE#2624](paramiko/paramiko#2624)) — none merged. No fix in `paramiko 5.0.0`. **Fix:** Patch `paramiko.pkey.md5` at import time via `vars()` to use `usedforsecurity=False`. This tells OpenSSL FIPS that the MD5 usage is not for security purposes (fingerprint display/logging only). **Validated on a FIPS-enabled cluster:** `test_clone_from_block_to_fs_using_dv_template` fails without the patch and passes with it on the `ocp-virt-validation-checkup-rhel9` image. ##### Which issue(s) this PR fixes: CNV-98463 ##### Special notes for reviewer: `vars(paramiko.pkey).update(...)` is used instead of direct attribute assignment to avoid mypy `attr-defined`/`method-assign` errors on third-party module patching, without requiring `# type: ignore` (prohibited by AGENTS.md) or a broad `ignore_errors` mypy override. ##### jira-ticket: CNV-98463 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Improved compatibility for automated test runs in FIPS-enabled environments. Application behavior and user-facing functionality are unchanged; this update affects test setup only and does not alter security protections. No new end-user features or other behavior changes are included. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Ramón Lobillo <[email protected]> Co-authored-by: Claude Sonnet 4.6 (1M context) <[email protected]>
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
==3.12.*->==3.13.*Release Notes
python/cpython (python)
v3.13.7Compare Source
v3.13.6Compare Source
v3.13.5Compare Source
v3.13.4Compare Source
v3.13.3Compare Source
v3.13.2Compare Source
v3.13.1Compare Source
v3.13.0Compare Source
Configuration
📅 Schedule: Branch creation - "after 18:00 on Friday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.