-
Notifications
You must be signed in to change notification settings - Fork 2
PYT-3877: migrate images to use contrast-agent-bundle #572
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9239ae5 to
ab43c8c
Compare
|
Images built: |
|
Images built: |
lazorchakp
reviewed
Jan 12, 2026
lazorchakp
reviewed
Jan 12, 2026
|
Images built: |
lazorchakp
approved these changes
Jan 12, 2026
gamingrobot
approved these changes
Jan 12, 2026
f5239ac to
7f0663c
Compare
|
Images built: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change switches the script for downloading the Contrast Python agent to use a prebuilt bundle.
Previously, the CI job would download wheels for supported versions and platforms then merged them into a single wheel. Other projects also want to have a single wheel that supports all platforms, trading a larger artifact size for simpler deployment processes. So we extracted the approach here into the Python agent's deployment pipeline for easier consumption by Contrast tools.
Now, the fetch script will download a single artifact that is uploaded to the
contrast-agent-bundleproject. The download is not hardcoded to any platform or Python version, so when new support is added, the image will also extend its support without additional code changes.pipis no longer a dependency of the project. It has been replaced withcurl, which is a dependency of most other agents as well. Hashes are checked to verify integrity. To removepip, I chose to also remove the ability to download the latest agent. That capability was never used and was included to make maintenance easier, but with the bundle approach it's obsolete.