Skip to content

Fix Windows wheel smoke test venv usage#3852

Open
wuyua9 wants to merge 2 commits into
ApeWorX:mainfrom
wuyua9:fix/windows-wheel-venv-wuyua9
Open

Fix Windows wheel smoke test venv usage#3852
wuyua9 wants to merge 2 commits into
ApeWorX:mainfrom
wuyua9:fix/windows-wheel-venv-wuyua9

Conversation

@wuyua9

@wuyua9 wuyua9 commented May 27, 2026

Copy link
Copy Markdown

Summary

The Windows wheel smoke script currently activates the test virtualenv inside a separate bash.exe -c process. That activation does not persist for the following install/import steps, so the smoke test can run against the wrong interpreter environment.

This keeps the temporary directory, virtualenv activation, wheel install, and import check in the same shell session. It also asserts that both the Python executable and imported web3 package come from the venv-test environment.

Tests

  • bash -n web3/scripts/release/test_windows_wheel_install.sh
  • git diff --check origin/main...HEAD
  • conflict-marker scan for web3/scripts/release/test_windows_wheel_install.sh

The Windows-specific script was not executed locally because this environment is not the CircleCI Windows executor.

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.

1 participant