Ray's Knowledge Base
Unlock

pydftracer CI installs the dftracer prerelease wheel from PyPI, not a git source build

DecisionVerified 30 Sep 2026Holds project: pydftracer
Decision. The context, the choice, why, and the options that were turned down.

Context#

CI installed dftracer with pip install "dftracer @ git+https://github.com/llnl-asr/dftracer.git" --no-deps, which built it from source.

Decision#

Install with pip install --pre --only-binary dftracer dftracer --no-deps. The build tools ninja, cmake and pybind11 were removed from the job. --only-binary makes the job fail fast when no wheel exists for that Python, instead of silently starting a slow source build.

Why#

The user asked for CI to test against the dftracer prerelease instead of installing from the repository. The trade-off: CI tests the newest dftracer on PyPI, not dftracer's develop branch. A change that is merged but not yet uploaded is not tested.

Rejected options#

The git+https source build.

Also found by searching

  • pip install dftracer @ git+https://github.com/llnl-asr/dftracer.git builds from source slowly in CI
  • pydftracer CI spends a long time compiling dftracer with cmake and ninja
  • how do I install the dftracer prerelease wheel in pydftracer CI without a source build
  • pip --pre --only-binary dftracer fail fast when no wheel available
  • pydftracer CI building dftracer from git+https source is slow, needs ninja cmake pybind11
  • pip install --pre --only-binary dftracer fails no matching distribution for this Python
  • how do I make CI test against the dftracer prerelease wheel from PyPI?
  • pip install git+https://github.com/llnl-asr/dftracer.git --no-deps replaced; does CI test develop branch?