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

Install the expected version of cryptography instead of pinning it #34932

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

alopezz
Copy link
Contributor

@alopezz alopezz commented Mar 10, 2025

What does this PR do?

This cleans up some of what was done in #34619 to build cryptography against the Agent's OpenSSL on FIPS builds. The main change is dynamically setting the version of cryptography we build to match what the integrations expect.

Motivation

BARX-668

#34619 left cryptography pinned to the version matching integrations requirements at that time; that's obviously problematic because it could produce mismatches as integrations bump this dependency and we don't want to keep them in sync manually.

Describe how you validated your changes

The build passes and loading cryptography's openssl backend from the Agent's embedded Python works.

Possible Drawbacks / Trade-offs

Additional Notes

@alopezz alopezz added changelog/no-changelog qa/done QA done before merge and regressions are covered by tests labels Mar 10, 2025
@alopezz alopezz requested a review from a team as a code owner March 10, 2025 09:24
@github-actions github-actions bot added the short review PR is simple enough to be reviewed quickly label Mar 10, 2025
@alopezz
Copy link
Contributor Author

alopezz commented Mar 11, 2025

/merge

@dd-devflow
Copy link

dd-devflow bot commented Mar 11, 2025

View all feedbacks in Devflow UI.
2025-03-11 08:14:46 UTC ℹ️ Start processing command /merge


2025-03-11 08:14:50 UTC ℹ️ MergeQueue: pull request added to the queue

The median merge time in main is 31m.


2025-03-11 08:42:01 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue dd-mergequeue bot merged commit 31e647b into main Mar 11, 2025
295 checks passed
@dd-mergequeue dd-mergequeue bot deleted the alopez/cryptography-version-dynamic branch March 11, 2025 08:41
@github-actions github-actions bot added this to the 7.65.0 milestone Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog qa/done QA done before merge and regressions are covered by tests short review PR is simple enough to be reviewed quickly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants