Skip to content

Commit

Permalink
Test Python 3.8 and 3.9 wheels with Numpy 1.20.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kbvw committed Aug 16, 2024
1 parent 70e87d8 commit ffe874e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ci/win_install_deps.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pwsh -command "(Get-Content C:\Python310\Lib\distutils\cygwinccompiler.py) -repl
pwsh -command "(Get-Content C:\Python311\Lib\distutils\cygwinccompiler.py) -replace 'msvcr100', 'msvcrt' | Out-File C:\Python311\Lib\distutils\cygwinccompiler.py"

:: install numpy
C:\Python38\python.exe -m pip install numpy<2 cython<3 || goto :error
C:\Python38\python.exe -m pip install "numpy<2" "cython<3" || goto :error
C:\Python39\python.exe -m pip install numpy cython || goto :error
C:\Python310\python.exe -m pip install numpy cython || goto :error
C:\Python311\python.exe -m pip install numpy cython || goto :error
Expand Down
4 changes: 2 additions & 2 deletions ci/win_test_installer.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ echo %NEURONHOME%
if not exist association.hoc.out (start /wait /REALTIME %cd%\ci\association.hoc)

:: install oldest supported numpy
C:\Python38\python.exe -m pip install numpy==1.17.5 || goto :error
C:\Python39\python.exe -m pip install numpy==1.19.5 || goto :error
C:\Python38\python.exe -m pip install numpy==1.20.3 || goto :error
C:\Python39\python.exe -m pip install numpy==1.20.3 || goto :error
C:\Python310\python.exe -m pip install numpy==1.21.6 || goto :error
C:\Python311\python.exe -m pip install numpy==1.23.5 || goto :error
C:\Python312\python.exe -m pip install numpy==1.26.4 || goto :error
Expand Down
4 changes: 2 additions & 2 deletions packaging/python/test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ pytest
setuptools;python_version>='3.12' # From 3.12, no longer installed by default

# Oldest supported numpy versions
numpy==1.17.5;python_version=='3.8'
numpy==1.19.5;python_version=='3.9' and platform_machine!='arm64'
numpy==1.20.3;python_version=='3.8'
numpy==1.20.3;python_version=='3.9' and platform_machine!='arm64'
numpy==1.21.6;python_version=='3.9' and platform_machine=='arm64'
numpy==1.21.6;python_version=='3.10'
numpy==1.23.5;python_version=='3.11'
Expand Down

0 comments on commit ffe874e

Please sign in to comment.