Skip to content

Commit

Permalink
ci: Fix windows install error by switching to Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtseng committed Jan 7, 2025
1 parent 637bed5 commit 49b3e70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ commands:

- run:
name: install python
command: choco install --allow-downgrade -y python --version=3.8.10
# Use python3.9 in Windows instead of python3.8 because otherwise
# pytest-notebook's indirect dependency pywinpty will fail to build.
command: choco install --allow-downgrade -y python --version=3.9.13
shell: powershell.exe

- run:
Expand Down
2 changes: 1 addition & 1 deletion ci/build_and_activate_venv.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ If ($venv -eq $null) {
$venv = "venv"
}

virtualenv -p python3.8 $venv
virtualenv -p python3.9 $venv
& $venv\Scripts\activate
pip install ".[docs,parallel,test]"

0 comments on commit 49b3e70

Please sign in to comment.