Skip to content

Conversation

@brettlangdon
Copy link
Member

Description

When installing from S3 artifacts using --find-links, pip is additive to PyPI. If a newer version exists on PyPI, pip will fetch it instead of the S3 version. This PR adds helper scripts to ensure S3-only installation:

pip download --no-index --find-links <s3-index.html> ddtrace==<version>
pip install ./ddtrace-*.whl

New Scripts

/download.sh and /install.sh are generated for each S3 path (commit, pipeline, branch) with version and S3 URL baked in.

Common options:

  • --python-version <version> - Target specific Python version (default: current)
  • --platform <platform> - Target specific platform (default: current)

download.sh - Downloads wheel to disk

  • --dest <path> - Output directory (default: current directory)
  • Example: curl -sSL https://dd-trace-py-builds.s3.amazonaws.com/89763210/download.sh | bash -s -- --dest /tmp

install.sh - Downloads and installs via pip

  • Example: curl -sSL https://dd-trace-py-builds.s3.amazonaws.com/89763210/install.sh | bash

Testing

Risks

Additional Notes

@brettlangdon brettlangdon added the changelog/no-changelog A changelog entry is not required for this PR. label Jan 9, 2026
@brettlangdon brettlangdon requested review from a team as code owners January 9, 2026 01:17
Copy link
Contributor

@KowalskiThomas KowalskiThomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 🤩

@brettlangdon brettlangdon enabled auto-merge (squash) January 9, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog A changelog entry is not required for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants