Skip to content

Conversation

@rwgk
Copy link
Collaborator

@rwgk rwgk commented Jan 14, 2026

Fix Windows workflow bug and harden CI workflows with --only-binary=:all:

Fix bug in Windows workflow where pip install used . directory instead of wheel files, causing setuptools-scm to build from source in shallow clones and produce invalid fallback versions (0.1.dev...). The bug was noticed because pathfinder was first built with an invalid version number due to the shallow clone, and only then replaced with a wheel in a subsequent step.

Changes:

  • Windows: Change pip install . to pip install ./*.whl to prevent source builds
  • Linux: Already had the correct pattern, but add --only-binary=:all:
  • Both workflows: Systematically add --only-binary=:all: to all pip install commands to make intent explicit and guard against accidental source builds

This ensures CI tests the exact artifacts that would be distributed.

…all:

Fix bug in Windows workflow where pip install used '.' directory instead
of wheel files, causing setuptools-scm to build from source in shallow
clones and produce invalid fallback versions (0.1.dev...). The bug was
noticed because pathfinder was first built with an invalid version number
due to the shallow clone, and only then replaced with a wheel in a
subsequent step.

Changes:
- Windows: Change 'pip install .' to 'pip install ./*.whl' to prevent source builds
- Linux: Already had the correct pattern, but add --only-binary=:all:
- Both workflows: Systematically add --only-binary=:all: to all pip install
  commands to make intent explicit and guard against accidental source builds

This ensures CI tests the exact artifacts that would be distributed.
@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Jan 14, 2026

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@rwgk
Copy link
Collaborator Author

rwgk commented Jan 14, 2026

/ok to test

@rwgk rwgk requested a review from mdboom January 14, 2026 22:58
@github-actions

This comment has been minimized.

@kkraus14 kkraus14 merged commit 9711fe3 into NVIDIA:main Jan 15, 2026
80 checks passed
@github-actions
Copy link

Doc Preview CI
Preview removed because the pull request was closed or merged.

@rwgk rwgk deleted the test-wheel-fix branch January 15, 2026 05:05
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