Skip to content

fix(ci): use available Python versions in migration tests#153

Merged
CalvinAllen merged 1 commit intomainfrom
fix/ci/python-migration-available-versions
Dec 14, 2025
Merged

fix(ci): use available Python versions in migration tests#153
CalvinAllen merged 1 commit intomainfrom
fix/ci/python-migration-available-versions

Conversation

@CalvinAllen
Copy link
Contributor

Summary

  • Fixed Python migration tests to use versions that are actually available for download
  • Windows system: use pre-installed Python (dynamically detected version)
  • Ubuntu/macOS system: use actions/setup-python with Python 3.11.9 (available in python-build-standalone)
  • pyenv-win: dynamically find and install latest available 3.11.x version

Root Causes

  • Ubuntu/macOS system tests failed because pre-installed Python versions (3.12.3, 3.14.2) aren't in python-build-standalone release 20240814
  • Windows system test worked but expected wrong version (3.10.x vs detected 3.9.x)
  • pyenv-win test failed because Python 3.11.9 isn't available in pyenv-win

Test plan

  • All 6 Python migration tests pass:
    • Ubuntu system
    • Ubuntu pyenv
    • macOS system
    • macOS pyenv
    • Windows system
    • Windows pyenv-win

- Windows system: use pre-installed Python (dynamically detected)
- Ubuntu/macOS system: use actions/setup-python with 3.11.9 (available in python-build-standalone)
- pyenv-win: dynamically find and install latest available 3.11.x version

The previous tests failed because:
- Ubuntu/macOS: pre-installed Python versions (3.12.3, 3.14.2) aren't in python-build-standalone
- Windows system: expected 3.10.x but detected 3.9.x
- pyenv-win: Python 3.11.9 not available in pyenv-win
@CalvinAllen CalvinAllen merged commit cca2d21 into main Dec 14, 2025
2 checks passed
@CalvinAllen CalvinAllen deleted the fix/ci/python-migration-available-versions branch December 14, 2025 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant