Skip to content

ci(deps): update python to ==3.13.* (cnv-4.99) - #2189

Closed
renovate[bot] wants to merge 1 commit into
cnv-4.99from
renovate/cnv-4.99-python-deps
Closed

renovate[bot] wants to merge 1 commit into
cnv-4.99from
renovate/cnv-4.99-python-deps

Conversation

@renovate

@renovate renovate Bot commented Sep 26, 2025 •

Copy link
Copy Markdown
Contributor

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:

Package Type Update Change
python (source) requires-python minor ==3.12.* -> ==3.13.*

Release Notes

python/cpython (python)

v3.13.7

Compare Source

v3.13.6

Compare Source

v3.13.5

Compare Source

v3.13.4

Compare Source

v3.13.3

Compare Source

v3.13.2

Compare Source

v3.13.1

Compare Source

v3.13.0

Compare 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@openshift-virtualization-qe-bot

Copy link
Copy Markdown

Report bugs in Issues

Welcome! 🎉

This pull request will be automatically processed with the following features:

Note: You are an auto-verified user. Your PRs will be automatically verified and may be auto-merged when all requirements are met.

🔄 Automatic Actions

  • Reviewer Assignment: Reviewers are automatically assigned based on the OWNERS file in the repository root
  • Size Labeling: PR size labels (XS, S, M, L, XL, XXL) are automatically applied based on changes
  • Issue Creation: A tracking issue is created for this PR and will be closed when the PR is merged or closed
  • Pre-commit Checks: pre-commit runs automatically if .pre-commit-config.yaml exists
  • Branch Labeling: Branch-specific labels are applied to track the target branch
  • Auto-verification: Auto-verified users have their PRs automatically marked as verified

📋 Available Commands

PR Status Management

  • /wip - Mark PR as work in progress (adds WIP: prefix to title)
  • /wip cancel - Remove work in progress status
  • /hold - Block PR merging (approvers only)
  • /hold cancel - Unblock PR merging
  • /verified - Mark PR as verified
  • /verified cancel - Remove verification status

Review & Approval

  • /lgtm - Approve changes (looks good to me)
  • /approve - Approve PR (approvers only)
  • /automerge - Enable automatic merging when all requirements are met (maintainers and approvers only)
  • /assign-reviewers - Assign reviewers based on OWNERS file
  • /assign-reviewer @username - Assign specific reviewer
  • /check-can-merge - Check if PR meets merge requirements

Testing & Validation

  • /retest tox - Run Python test suite with tox
  • /retest build-container - Rebuild and test container image
  • /retest all - Run all available tests

Container Operations

  • /build-and-push-container - Build and push container image (tagged with PR number)
    • Supports additional build arguments: /build-and-push-container --build-arg KEY=value

Cherry-pick Operations

  • /cherry-pick <branch> - Schedule cherry-pick to target branch when PR is merged
    • Multiple branches: /cherry-pick branch1 branch2 branch3

Label Management

  • /<label-name> - Add a label to the PR
  • /<label-name> cancel - Remove a label from the PR

✅ Merge Requirements

This PR will be automatically approved when the following conditions are met:

  1. Approval: /approve from at least one approver
  2. LGTM Count: Minimum 2 /lgtm from reviewers
  3. Status Checks: All required status checks must pass
  4. No Blockers: No WIP, hold, or conflict labels
  5. Verified: PR must be marked as verified (if verification is enabled)

📊 Review Process

Approvers and Reviewers

Approvers:

  • dshchedr
  • myakove
  • rnetser
  • vsibirsk

Reviewers:

  • RoniKishner
  • dshchedr
  • rnetser
  • vsibirsk
Available Labels
  • hold
  • verified
  • wip
  • lgtm
  • approve
  • automerge

💡 Tips

  • WIP Status: Use /wip when your PR is not ready for review
  • Verification: The verified label is automatically removed on each new commit
  • Cherry-picking: Cherry-pick labels are processed when the PR is merged
  • Container Builds: Container images are automatically tagged with the PR number
  • Permission Levels: Some commands require approver permissions
  • Auto-verified Users: Certain users have automatic verification and merge privileges

For more information, please refer to the project documentation or contact the maintainers.

@openshift-virtualization-qe-bot

Copy link
Copy Markdown

D/S test tox -e verify-tc-requirement-polarion failed: cnv-tests-tox-executor/17297

@coderabbitai

coderabbitai Bot commented Sep 26, 2025

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

D/S test tox -e verify-bugs-are-open failed: cnv-tests-tox-executor/17300

@rnetser

rnetser commented Sep 29, 2025

Copy link
Copy Markdown
Collaborator

/approve
/lgtm

@rnetser

rnetser commented Sep 29, 2025

Copy link
Copy Markdown
Collaborator

/approve cancel
/;gtm cancel

@rnetser

rnetser commented Sep 29, 2025

Copy link
Copy Markdown
Collaborator

/lgtm cancel

@rnetser

rnetser commented Sep 29, 2025

Copy link
Copy Markdown
Collaborator

closing as the repo is not going to sue 3.13 for now due to bitwarden client issue

@rnetser rnetser closed this Sep 29, 2025
auto-merge was automatically disabled September 29, 2025 12:27

Pull request was closed

@renovate

renovate Bot commented Sep 29, 2025

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (==3.13.*). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate
renovate Bot deleted the renovate/cnv-4.99-python-deps branch September 29, 2025 12:28
rnetser pushed a commit that referenced this pull request Oct 5, 2026
…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]>
ameya-keskar pushed a commit to ameya-keskar/openshift-virtualization-tests that referenced this pull request Oct 6, 2026
…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]>
Ahmad-Hafe pushed a commit to Ahmad-Hafe/openshift-virtualization-tests that referenced this pull request Oct 8, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants