Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.15.z] New improvements and fixes to pytest req updates plugin #16787

Merged

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #16692

Problem Statement

  • UV package manager support was not available
  • Broker requirement not being handled well as optional backends/installations were activated
  • pyYMAL requirement was not handled well
  • airgun and nailgun git installations were not handled well as they don't have versions to compare

Solution

  • UV package manager support is added
  • Broker handled for optional backends/installations
  • pyYMAL requirement now handled
  • airgun and nailgun git installations are handled and now wont be reported as deviation but would be updated

Logs:

# pytest -s --collect-only tests/foreman/api/test_product.py --update-all-reqs
============= test session starts ===============
platform darwin -- Python 3.12.2, pytest-8.3.3, pluggy-1.5.0
Using Python 3.12.2 environment at /Users/jyejare/venv/uv_robo_master
 Updated https://github.com/SatelliteQE/airgun.git (98c53e4)
 Updated https://github.com/SatelliteQE/nailgun.git (08bbd9a)                                                                                                                                                         Resolved 83 packages in 2.83s
Audited 83 packages in 0.15ms
Required requirements are updated.
Optional Requirements are up to date.
To update requirements, run the pytest with '--update-required-reqs' OR '--update-all-reqs' option.

* New fixes and improvements to pytest req updates plugin

* Pre commit fixes

* More granular reporting

(cherry picked from commit 59f2b4a)
@Satellite-QE Satellite-QE requested a review from a team as a code owner October 25, 2024 12:10
@Satellite-QE Satellite-QE added 6.15.z Introduced in or relating directly to Satellite 6.15 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Oct 25, 2024
@jyejare jyejare enabled auto-merge (squash) October 25, 2024 12:14
@jyejare jyejare merged commit 235f594 into 6.15.z Oct 25, 2024
13 checks passed
@jyejare jyejare deleted the cherry-pick-6.15.z-59f2b4afa45fce37d90ad9ea19912ae37f88cfb7 branch October 25, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.15.z Introduced in or relating directly to Satellite 6.15 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants