Skip to content

Commit 79d1bd0

Browse files
authored
[Release 2.4] cherry pick of Use numpy 2.0.0rc1 for windows builds #1945 (#1957)
* Builder install_cuda cleanup * Use numpy 2.0.0rc1 for windows builds (#1941) * Use numpy 2.0.0rc1 for windows builds * Use numpy 2.0.0rc1 for windows builds * use older numpy for 3.8 * add atalman channel * Revert "Builder install_cuda cleanup" This reverts commit fe908e1.
1 parent 9c3a83d commit 79d1bd0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

windows/condaenv.bat

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ FOR %%v IN (%DESIRED_PYTHON%) DO (
1010
set PYTHON_VERSION_STR=!PYTHON_VERSION_STR:.=!
1111
conda remove -n py!PYTHON_VERSION_STR! --all -y || rmdir %CONDA_HOME%\envs\py!PYTHON_VERSION_STR! /s
1212
if "%%v" == "3.8" call conda create -n py!PYTHON_VERSION_STR! -y -q numpy=1.11 pyyaml boto3 cmake ninja typing_extensions setuptools python=%%v
13-
if "%%v" == "3.9" call conda create -n py!PYTHON_VERSION_STR! -y -q numpy>=1.11 pyyaml boto3 cmake ninja typing_extensions setuptools python=%%v
14-
if "%%v" == "3.10" call conda create -n py!PYTHON_VERSION_STR! -y -q -c=conda-forge numpy=1.21.3 pyyaml boto3 cmake ninja typing_extensions setuptools python=%%v
15-
if "%%v" == "3.11" call conda create -n py!PYTHON_VERSION_STR! -y -q -c=conda-forge numpy=1.23.4 pyyaml boto3 cmake ninja typing_extensions setuptools python=%%v
16-
if "%%v" == "3.12" call conda create -n py!PYTHON_VERSION_STR! -y -q -c=conda-forge numpy=1.26.0 pyyaml boto3 cmake ninja typing_extensions setuptools python=%%v
13+
if "%%v" == "3.9" call conda create -n py!PYTHON_VERSION_STR! -y -q -c=atalman numpy=2.0.0rc1 pyyaml boto3 cmake ninja typing_extensions setuptools python=%%v
14+
if "%%v" == "3.10" call conda create -n py!PYTHON_VERSION_STR! -y -q -c=conda-forge -c=atalman numpy=2.0.0rc1 pyyaml boto3 cmake ninja typing_extensions setuptools python=%%v
15+
if "%%v" == "3.11" call conda create -n py!PYTHON_VERSION_STR! -y -q -c=conda-forge -c=atalman numpy=2.0.0rc1 pyyaml boto3 cmake ninja typing_extensions setuptools python=%%v
16+
if "%%v" == "3.12" call conda create -n py!PYTHON_VERSION_STR! -y -q -c=conda-forge -c=atalman numpy=2.0.0rc1 pyyaml boto3 cmake ninja typing_extensions setuptools python=%%v
1717
call conda run -n py!PYTHON_VERSION_STR! pip install mkl-include
1818
call conda run -n py!PYTHON_VERSION_STR! pip install mkl-static
1919
)

0 commit comments

Comments
 (0)