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

CASMPET-7271: Remove requests dependencies from virtual environment #627

Merged
merged 2 commits into from
Nov 9, 2024

Conversation

mharding-hpe
Copy link
Contributor

On the latest vshasta run with the updated csm-testing RPM, it hit hit SSL failures and dependency warnings when trying to use the requests package. I determined that the problem was that even though we were using the system requests package, we also needed to use the system versions of its package dependencies. That will both resolve the dependency warnings and allow it to make requests using the system certificates.

This PR does the above, moving the dependent packages out of the virtual environment and adding them as RPM requirements. I verified that this fixes the problem on vex, and also tested it further on mug, to make sure there were no problems.

This PR also makes the RPM spec file slightly more concise by moving some of the repeated requirements lines into a separate include file. That makes no functional difference, but makes the SPEC file slightly less cluttered.

@mharding-hpe mharding-hpe merged commit a5b9c4a into release/1.6 Nov 9, 2024
3 checks passed
@mharding-hpe mharding-hpe deleted the casmpet-7271 branch November 9, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants