Skip to content

chore(deps): bump pytest-jira to >=0.5.0,<1.0.0 (MTV-7694) - #871

Merged
myakove merged 2 commits into
mainfrom
feat/pytest-jira-0.5.0
Nov 23, 2026
Merged

myakove merged 2 commits into
mainfrom
feat/pytest-jira-0.5.0

Conversation

@myakove

@myakove myakove commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Update pytest-jira constraint in pyproject.toml from >=0.4.0 to >=0.5.0,<1.0.0.
  • Lock pytest-jira==0.5.0 in uv.lock while preserving lockfile revision = 5 (generated with uv 0.13.9).

Upstream Release Provenance (pytest-jira 0.5.0)

Jira

Verification

  • uvx uv@latest lock --upgrade-package pytest-jira --refresh-package pytest-jira (uv 0.13.9, revision = 5 preserved; only pytest-jira updated 0.4.0 -> 0.5.0)
  • uv sync — verified importlib.metadata.version("pytest-jira") == "0.5.0"
  • pre-commit run --all-files passed

Assisted-by: PI (gemini-4-neon)

Update pytest-jira version constraint in pyproject.toml and refresh uv.lock.

Assisted-by: PI (gemini-4-neon)
Signed-off-by: Meni Yakove <myakove@gmail.com>
@rh-bot-1

Copy link
Copy Markdown

Report bugs in Issues

Welcome! 🎉

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

🔄 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: Disabled for this repository
  • Branch Labeling: Branch-specific labels are applied to track the target branch
  • Auto-verification: Auto-verified users have their PRs automatically marked as verified
  • Labels: All label categories are enabled (default configuration)

📋 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 (PR author or approvers)
  • /hold cancel - Unblock PR merging (PR author or approvers)
  • /verified - Mark PR as verified
  • /verified cancel - Remove verification status
  • /reprocess - Trigger complete PR workflow reprocessing (useful if webhook failed or configuration changed)
  • /regenerate-welcome - Regenerate this welcome message
  • /security-override - Set security check runs to pass (maintainers only)
  • /security-override cancel - Re-run security checks

Review & Approval

  • /lgtm - Approve changes (looks good to me)
  • /approve - Approve PR (approvers only)
  • /automerge - Enable automatic merging when all requirements are met (effective maintainers and approvers only)
  • /automerge cancel - Remove automerge label (effective 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 conventional-title - Validate commit message format
  • /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
  • /cherry-pick-retry <branch> - Retry a failed cherry-pick (merged PRs only)

Branch Management

  • /rebase - Rebase this PR branch onto its base branch

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. Status Checks: All required status checks must pass
  3. No Blockers: No wip, hold, has-conflicts labels and PR must be mergeable (no conflicts)
  4. Verified: PR must be marked as verified

📊 Review Process

Approvers and Reviewers

Approvers:

  • krcmarik
  • myakove
  • solenoci

Reviewers:

  • krcmarik
  • myakove
  • solenoci
Available Labels
  • hold
  • verified
  • wip
  • lgtm
  • approve
  • automerge
AI Features
  • Conventional Title: Mode: fix (EnMaaS/rits/deepseek-ai/DeepSeek-V4.1-Flash-1017)
  • Cherry-Pick Conflict Resolution: Enabled (EnMaaS/rits/deepseek-ai/DeepSeek-V4.1-Flash-1017)
Security Checks
  • Suspicious Path Detection: Monitors paths: .claude/, .vscode/, .cursor/, .devcontainer/, .pi/, .github/workflows/, .github/actions/
  • Committer Identity Check: Verifies last committer matches PR author
  • Mandatory: Security checks block merge (use /security-override to bypass — maintainers only)

💡 Tips

  • WIP Status: Use /wip when your PR is not ready for review
  • Verification: The verified label is removed on new commits unless the push is detected as a clean rebase
  • 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.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 1

  • uv.lock is excluded by !**/*.lock

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

Run configuration

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

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The pytest-jira dependency requirement changes from >=0.4.0 to >=0.5.0,<1.0.0.

Changes

Dependency update

Layer / File(s) Summary
Update pytest-jira version constraint
pyproject.toml
The minimum required version changes to 0.5.0. Versions 1.0.0 and later are excluded.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: prabinovredhat, krcmarik

Merge Risk: Minimal · up to c7f90 · assessed changes only

Merge Risk: ⚪ Minimal · up to c7f90

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the change: bumping the pytest-jira constraint to >=0.5.0,<1.0.0 in pyproject.toml. The raw summary confirms this exact dependency change, and the objectives describe the same update w…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title names the change: bumping the pytest-jira constraint to >=0.5.0,<1.0.0 in pyproject.toml. The raw summary confirms this exact dependency change, and the objectives describe the same update with a uv.lock refresh. The title includes a ticket reference (MTV-7694) and a conventional-commit prefix (chore(deps)), which are acceptable. The title is specific and accurate.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 6cd4267 and ffeefa0.

Files ignored due to path filters: 1

  • uv.lock is excluded by !**/*.lock
Files selected for processing: 1

  • pyproject.toml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@qodo-code-review

qodo-code-review Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Bump pytest-jira to 0.5.0

⚙️ Configuration changes 🕐 Less than 5 minutes

Grey Divider

AI Description

• Require pytest-jira 0.5.0 or newer while excluding version 1.0 and above.
• Lock pytest-jira to 0.5.0 for reproducible installs.
Merge Risk 🟢 Low

Blast radius 🟢 Low 💥 1 capability

  • 1 affected end-to-end capability after fault-specific containment; implementation boundaries do not widen its functional scope.
  • This is one bounded integration whose end-to-end outcome is associating selected pytest tests with JIRA reporting.
  • The dependency and lockfile changes select the implementation used by the test runner; package installation and plugin loading are hops in the same behavior, not separate capabilities.
  • The repository documentation identifies this as an opt-in integration and shows no current marked tests.
Sources

pyproject.toml[60-60]

  "pytest-jira>=0.5.0,<1.0.0",

uv.lock[1954-1954]

version = "0.5.0"
Behavioral complexity 🟢 Low 🧩 Straightforward

  • Before, the project accepted pytest-jira versions >=0.4.0 and the lockfile selected 0.4.0.
  • After, the project requires >=0.5.0,<1.0.0 and the lockfile selects 0.5.0, with the follow-up also changing the lockfile revision from 3 to 5.
  • The new correctness condition is that the selected plugin remains compatible with the existing opt-in --jira configuration and any future JIRA-marked tests.
  • This remains a direct dependency-selection and lockfile-metadata change, not newly introduced application branching, state coordination, transformation logic, or concurrency; the package artifact and revision changes are mechanical consequences of dependency resolution.
Sources

pyproject.toml[60-60]

  "pytest-jira>=0.5.0,<1.0.0",

uv.lock[1954-1954]

version = "0.5.0"

uv.lock[2-2]

revision = 5
Potential damage 🟡 Medium 🩹 Temporary loss

  • The affected capability is an optional reporting integration, not the core migration test behavior.
  • If the upgraded plugin cannot initialize or report correctly when explicitly activated, JIRA-linked reporting is unavailable for that run.
  • Reverting the dependency or disabling --jira restores the repository's ordinary test execution, while any already-missed external JIRA updates would require rerunning or manual compensation; no repository persistent state is changed by this dependency update.
  • The follow-up uv.lock revision and refreshed artifact metadata do not alter this consequence.
  • Recoverable by reverting or repinning pytest-jira, disabling the optional integration, or correcting the JIRA configuration and rerunning the affected tests.
  • There is no evidence of automatic repair or of irreversible repository data effects.
Sources

pyproject.toml[60-60]

  "pytest-jira>=0.5.0,<1.0.0",

docs/optional-integrations-and-secrets.md[31-31]

At the moment no test class in `tests/` carries a `pytest.mark.jira` marker, so `--jira` changes nothing until a test adds one.

uv.lock[1954-1954]

version = "0.5.0"
Assessed commit c7f9019
High-Level Assessment

Updating the declared constraint and lockfile together is appropriate for this version bump. No different architectural approach is warranted.

Files changed (2) +6 / -6

Other (2) +6 / -6
pyproject.tomlRequire pytest-jira 0.5.x or later below 1.0 +1/-1

Require pytest-jira 0.5.x or later below 1.0

• Raises the minimum pytest-jira version from 0.4.0 to 0.5.0 and adds an upper bound below 1.0.0.

pyproject.toml

uv.lockLock pytest-jira 0.5.0 +5/-5

Lock pytest-jira 0.5.0

• Updates the resolved package, distribution URLs and hashes, and recorded dependency constraint. The lockfile revision also changes from 5 to 3.

uv.lock

@qodo-code-review

qodo-code-review Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Remediation recommended

1. Lockfile format silently downgraded from revision 5 to 3 ✓ Resolved

Resolving commit: c7f9019

Resolution reason
The author restored the uv.lock header from revision 3 to revision 5, undoing the silent format
downgrade the finding flagged.
Description
The revision header in uv.lock changes from 5 to 3, a change the PR's stated commands (`uv lock
--upgrade-package`) would not produce with a current uv, so the lock was regenerated by an older uv
binary. Every developer or CI job running a uv version that writes revision 5 will then see the
lockfile rewritten on the next uv lock, creating churn and making uv lock --check style gates
fail.


Informational

2. Lock pins a release published the same day ✗ Dismissed

Dismissed as Intentional

Dismissal explanation
pytest-jira (rhevm-qe-automation/pytest_jira) is Red Hat QE's own plugin; 0.5.0 (commit 73072ab, PR
#176 by rnetser, CI publish run 45182811054) adds Jira Cloud OAuth 2.0 service-account support and
credential-redaction tests, and was explicitly requested. Provenance documented in PR body.
Description
The lock pins pytest-jira 0.5.0, whose sdist and wheel upload-time is 2026-11-23, the same day
as this PR, and the sdist size grew from about 57 KB to 92 KB. A same-day release from a third-party
package is installed into every environment that resolves the lock, so its content has had little
public scrutiny before it is adopted.
Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The lock now pins pytest-jira 0.5.0, uploaded the same day as this PR, with a much larger sdist than 0.4.0. Adopting a same-day third-party release without reviewing its changes widens supply-chain exposure.

## Fix Focus Areas
- uv.lock[1951-1967]

## Recommended Fix
Check the pytest-jira 0.5.0 changelog and source diff against 0.4.0 for new network calls, install-time scripts, or new dependencies, and confirm the sdist hash against the publisher's release. Keep the `<1.0.0` cap in place.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

Context sources
⚠️ Tickets: not configured — No jira integration is connected for the linked tickets
✅ Compliance rules (platform): 93 rules
✅ Skills: remote-debugging
✅ Cross-repo context — repo relationships
Review mode: Auto: 🚀 Fast: Localized dependency constraint and lock update with low behavioral risk.

Grey Divider

Tip of the day
💡 Did you know, you can keep summaries lean with Findings visible per group, which tucks the rest behind a View link

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

Comment thread uv.lock Resolved
Comment thread uv.lock Resolved
coderabbitai[bot]
coderabbitai Bot previously approved these changes Nov 23, 2026
Assisted-by: PI (gemini-4-neon)
Signed-off-by: Meni Yakove <myakove@gmail.com>
@myakove

myakove commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator Author

/qodo

The following review comments were reviewed and a decision was made:

uv.lock:2 (qodo finding) — Lockfile format silently downgraded from revision 5 to 3

Addressed: Fixed in c7f9019: regenerated uv.lock with uv 0.13.9 (uvx uv@latest lock --upgrade-package pytest-jira --refresh-package pytest-jira) so revision = 5 is preserved and only pytest-jira changes.


Assisted-by: PI (gemini-4-neon)

@qodo-code-review

Copy link
Copy Markdown

The following review comments were reviewed and a decision was made:

uv.lock:2 (qodo finding) — Lockfile format silently downgraded from revision 5 to 3

Addressed: Fixed in c7f9019: regenerated uv.lock with uv 0.13.9 (uvx uv@latest lock --upgrade-package pytest-jira --refresh-package pytest-jira) so revision = 5 is preserved and only pytest-jira changes.


Assisted-by: PI (gemini-4-neon)

The lockfile fix from the latest message is in place. uv.lock line 2 reads revision = 5, so the format downgrade (finding 1) is resolved.

The pytest-jira pin is unchanged: pyproject.toml requires >=0.5.0,<1.0.0 and uv.lock:1953-1961 locks 0.5.0. The same-day supply-chain concern (finding 2) was dismissed as intentional by the author, so it is closed. I did not re-check the sdist hash or the 0.5.0 source diff against 0.4.0.

I can:

  • Re-review the uv.lock diff to confirm only the pytest-jira entry changed.
  • Explain either finding in more detail.
  • Run a fresh review of the PR if you want the current state re-checked.

@myakove

myakove commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator Author

/qodo review

@myakove
myakove merged commit 451ee0b into main Nov 23, 2026
8 of 11 checks passed
@myakove
myakove deleted the feat/pytest-jira-0.5.0 branch November 23, 2026 13:46
@rh-bot-1

Copy link
Copy Markdown

New container for ghcr.io/redhatqe/mtv-api-tests:latest published

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