Change 3.6 to 3.7 in tests pipeline
This commit is contained in:
Родитель
77fddfffb2
Коммит
494accd5f7
2
SETUP.md
2
SETUP.md
|
@ -42,7 +42,7 @@ Another alternative is to run all the recommender utilities directly from a loca
|
|||
### Requirements
|
||||
|
||||
* A machine running Linux, MacOS or Windows
|
||||
* An optional requirement is Anaconda with Python version >= 3.6
|
||||
* An optional requirement is Anaconda with Python version >= 3.6, <= 3.9
|
||||
* This is pre-installed on Azure DSVM such that one can run the following steps directly. To setup on your local machine, [Miniconda](https://docs.conda.io/en/latest/miniconda.html) is a quick way to get started.
|
||||
|
||||
Alternatively a [virtual environment](#using-a-virtual-environment) can be used instead of Anaconda.
|
||||
|
|
|
@ -32,7 +32,7 @@ extends:
|
|||
task_name: "Test - Nightly Linux CPU"
|
||||
timeout: 180
|
||||
conda_env: "nightly_linux_cpu"
|
||||
conda_opts: "python=3.6"
|
||||
conda_opts: "python=3.7"
|
||||
pip_opts: "[examples,dev,experimental] 'scikit-surprise@https://github.com/NicolasHug/Surprise/archive/refs/tags/v1.1.1.tar.gz' 'pymanopt@https://github.com/pymanopt/pymanopt/archive/fb36a272cdeecb21992cfd9271eb82baafeb316d.zip' --no-cache --no-binary scikit-surprise"
|
||||
pytest_markers: "not spark and not gpu"
|
||||
pytest_params: "-x"
|
||||
|
|
|
@ -31,7 +31,7 @@ extends:
|
|||
task_name: "Test - Nightly Linux GPU"
|
||||
timeout: 420
|
||||
conda_env: "nightly_linux_gpu"
|
||||
conda_opts: "-c conda-forge python=3.6 cudatoolkit=11.2 cudnn=8.1"
|
||||
conda_opts: "-c conda-forge python=3.7 cudatoolkit=11.2 cudnn=8.1"
|
||||
pip_opts: "[gpu,examples,dev] -f https://download.pytorch.org/whl/cu111/torch_stable.html"
|
||||
pytest_markers: "not spark and gpu"
|
||||
pytest_params: "-x"
|
||||
|
|
|
@ -32,7 +32,7 @@ extends:
|
|||
task_name: "Test - Nightly Linux Spark"
|
||||
timeout: 180
|
||||
conda_env: "nightly_linux_spark"
|
||||
conda_opts: "python=3.6"
|
||||
conda_opts: "python=3.7"
|
||||
pip_opts: "[spark,examples,dev]"
|
||||
pytest_markers: "spark and not gpu"
|
||||
pytest_params: "-x"
|
||||
|
|
|
@ -59,6 +59,6 @@ extends:
|
|||
- unit
|
||||
task_name: "Test - Unit Notebook Linux CPU"
|
||||
conda_env: "unit_notebook_linux_cpu"
|
||||
conda_opts: "python=3.6"
|
||||
conda_opts: "python=3.7"
|
||||
pip_opts: "[examples,dev,experimental] 'scikit-surprise@https://github.com/NicolasHug/Surprise/archive/refs/tags/v1.1.1.tar.gz' 'pymanopt@https://github.com/pymanopt/pymanopt/archive/fb36a272cdeecb21992cfd9271eb82baafeb316d.zip' --no-cache --no-binary scikit-surprise"
|
||||
pytest_markers: "notebooks and not spark and not gpu"
|
||||
|
|
|
@ -59,6 +59,6 @@ extends:
|
|||
- unit
|
||||
task_name: "Test - Unit Notebook Linux GPU"
|
||||
conda_env: "unit_notebook_linux_gpu"
|
||||
conda_opts: "-c conda-forge python=3.6 cudatoolkit=11.2 cudnn=8.1"
|
||||
conda_opts: "-c conda-forge python=3.7 cudatoolkit=11.2 cudnn=8.1"
|
||||
pip_opts: "[gpu,examples,dev] -f https://download.pytorch.org/whl/cu111/torch_stable.html"
|
||||
pytest_markers: "notebooks and not spark and gpu"
|
||||
|
|
|
@ -59,6 +59,6 @@ extends:
|
|||
- unit
|
||||
task_name: "Test - Unit Notebook Linux Spark"
|
||||
conda_env: "unit_notebook_linux_spark"
|
||||
conda_opts: "python=3.6"
|
||||
conda_opts: "python=3.7"
|
||||
pip_opts: "[spark,examples,dev]"
|
||||
pytest_markers: "notebooks and spark and not gpu"
|
||||
|
|
|
@ -59,6 +59,6 @@ extends:
|
|||
- unit
|
||||
task_name: "Test - Unit Linux CPU"
|
||||
conda_env: "unit_linux_cpu"
|
||||
conda_opts: "python=3.6"
|
||||
conda_opts: "python=3.7"
|
||||
pip_opts: "[dev,experimental] 'scikit-surprise@https://github.com/NicolasHug/Surprise/archive/refs/tags/v1.1.1.tar.gz' 'pymanopt@https://github.com/pymanopt/pymanopt/archive/fb36a272cdeecb21992cfd9271eb82baafeb316d.zip' --no-cache --no-binary scikit-surprise"
|
||||
pytest_markers: "not notebooks and not spark and not gpu"
|
||||
|
|
|
@ -59,6 +59,6 @@ extends:
|
|||
- unit
|
||||
task_name: "Test - Unit Linux GPU"
|
||||
conda_env: "unit_linux_gpu"
|
||||
conda_opts: "-c conda-forge python=3.6 cudatoolkit=11.2 cudnn=8.1"
|
||||
conda_opts: "-c conda-forge python=3.7 cudatoolkit=11.2 cudnn=8.1"
|
||||
pip_opts: "[gpu,dev] -f https://download.pytorch.org/whl/cu111/torch_stable.html"
|
||||
pytest_markers: "not notebooks and not spark and gpu"
|
||||
|
|
|
@ -59,6 +59,6 @@ extends:
|
|||
- unit
|
||||
task_name: "Test - Unit Linux Spark"
|
||||
conda_env: "unit_linux_spark"
|
||||
conda_opts: "python=3.6"
|
||||
conda_opts: "python=3.7"
|
||||
pip_opts: "[spark,dev]"
|
||||
pytest_markers: "not notebooks and spark and not gpu"
|
||||
|
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
- unit
|
||||
task_name: "Test - Unit Linux CPU"
|
||||
conda_env: "release_unit_linux_cpu"
|
||||
conda_opts: "python=3.6"
|
||||
conda_opts: "python=3.7"
|
||||
pip_opts: "[experimental,dev] 'scikit-surprise@https://github.com/NicolasHug/Surprise/archive/refs/tags/v1.1.1.tar.gz' 'pymanopt@https://github.com/pymanopt/pymanopt/archive/fb36a272cdeecb21992cfd9271eb82baafeb316d.zip' --no-cache --no-binary scikit-surprise"
|
||||
pytest_markers: "not notebooks and not spark and not gpu"
|
||||
install: "release"
|
||||
|
@ -34,7 +34,7 @@ jobs:
|
|||
- unit
|
||||
task_name: "Test - Unit Notebook Linux CPU"
|
||||
conda_env: "release_unit_notebook_linux_cpu"
|
||||
conda_opts: "python=3.6"
|
||||
conda_opts: "python=3.7"
|
||||
pip_opts: "[experimental,examples,dev] 'scikit-surprise@https://github.com/NicolasHug/Surprise/archive/refs/tags/v1.1.1.tar.gz' 'pymanopt@https://github.com/pymanopt/pymanopt/archive/fb36a272cdeecb21992cfd9271eb82baafeb316d.zip' --no-cache --no-binary scikit-surprise"
|
||||
pytest_markers: "notebooks and not spark and not gpu"
|
||||
install: "release"
|
||||
|
@ -45,7 +45,7 @@ jobs:
|
|||
- unit
|
||||
task_name: "Test - Unit Linux GPU"
|
||||
conda_env: "release_unit_linux_gpu"
|
||||
conda_opts: "-c conda-forge python=3.6 cudatoolkit=11.2 cudnn=8.1"
|
||||
conda_opts: "-c conda-forge python=3.7 cudatoolkit=11.2 cudnn=8.1"
|
||||
pip_opts: "[gpu,dev] -f https://download.pytorch.org/whl/cu111/torch_stable.html"
|
||||
pytest_markers: "not notebooks and not spark and gpu"
|
||||
install: "release"
|
||||
|
@ -56,7 +56,7 @@ jobs:
|
|||
- unit
|
||||
task_name: "Test - Unit Notebook Linux GPU"
|
||||
conda_env: "release_unit_notebook_linux_gpu"
|
||||
conda_opts: "-c conda-forge python=3.6 cudatoolkit=11.2 cudnn=8.1"
|
||||
conda_opts: "-c conda-forge python=3.7 cudatoolkit=11.2 cudnn=8.1"
|
||||
pip_opts: "[gpu,examples,dev] -f https://download.pytorch.org/whl/cu111/torch_stable.html"
|
||||
pytest_markers: "notebooks and not spark and gpu"
|
||||
install: "release"
|
||||
|
@ -67,7 +67,7 @@ jobs:
|
|||
- unit
|
||||
task_name: "Test - Unit Linux Spark"
|
||||
conda_env: "release_unit_linux_spark"
|
||||
conda_opts: "python=3.6"
|
||||
conda_opts: "python=3.7"
|
||||
pip_opts: "[spark,dev]"
|
||||
pytest_markers: "not notebooks and spark and not gpu"
|
||||
install: "release"
|
||||
|
@ -78,7 +78,7 @@ jobs:
|
|||
- unit
|
||||
task_name: "Test - Unit Notebook Linux Spark"
|
||||
conda_env: "release_unit_notebook_linux_spark"
|
||||
conda_opts: "python=3.6"
|
||||
conda_opts: "python=3.7"
|
||||
pip_opts: "[spark,examples,dev]"
|
||||
pytest_markers: "notebooks and spark and not gpu"
|
||||
install: "release"
|
||||
|
@ -92,7 +92,7 @@ jobs:
|
|||
task_name: "Test - Nightly Linux CPU"
|
||||
timeout: 180
|
||||
conda_env: "release_nightly_linux_cpu"
|
||||
conda_opts: "python=3.6"
|
||||
conda_opts: "python=3.7"
|
||||
pip_opts: "[experimental,examples,dev] 'scikit-surprise@https://github.com/NicolasHug/Surprise/archive/refs/tags/v1.1.1.tar.gz' 'pymanopt@https://github.com/pymanopt/pymanopt/archive/fb36a272cdeecb21992cfd9271eb82baafeb316d.zip' --no-cache --no-binary scikit-surprise"
|
||||
pytest_markers: "not spark and not gpu"
|
||||
install: "release"
|
||||
|
@ -105,7 +105,7 @@ jobs:
|
|||
task_name: "Test - Nightly Linux GPU"
|
||||
timeout: 360
|
||||
conda_env: "release_nightly_linux_gpu"
|
||||
conda_opts: "-c conda-forge python=3.6 cudatoolkit=11.2 cudnn=8.1"
|
||||
conda_opts: "-c conda-forge python=3.7 cudatoolkit=11.2 cudnn=8.1"
|
||||
pip_opts: "[gpu,examples,dev] -f https://download.pytorch.org/whl/cu111/torch_stable.html"
|
||||
pytest_markers: "not spark and gpu"
|
||||
install: "release"
|
||||
|
@ -118,7 +118,7 @@ jobs:
|
|||
task_name: "Test - Nightly Linux Spark"
|
||||
timeout: 180
|
||||
conda_env: "release_nightly_linux_spark"
|
||||
conda_opts: "python=3.6"
|
||||
conda_opts: "python=3.7"
|
||||
pip_opts: "[spark,examples,dev]"
|
||||
pytest_markers: "spark and not gpu"
|
||||
install: "release"
|
||||
|
|
|
@ -39,9 +39,9 @@ steps:
|
|||
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '3.6'
|
||||
versionSpec: '3.7'
|
||||
architecture: 'x64'
|
||||
displayName: 'Use Python 3.6'
|
||||
displayName: 'Use Python 3.7'
|
||||
|
||||
- script: |
|
||||
az login --service-principal -u $(ClientID) -p $(ClientSecret) --tenant $(TenantID)
|
||||
|
|
|
@ -7,9 +7,9 @@ steps:
|
|||
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '3.6'
|
||||
versionSpec: '3.7'
|
||||
architecture: 'x64'
|
||||
displayName: 'Use Python 3.6'
|
||||
displayName: 'Use Python 3.7'
|
||||
|
||||
- bash: |
|
||||
echo "##vso[task.prependpath]/data/anaconda/bin"
|
||||
|
|
|
@ -40,9 +40,9 @@ steps:
|
|||
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '3.6'
|
||||
versionSpec: '3.7'
|
||||
architecture: 'x64'
|
||||
displayName: 'Use Python 3.6'
|
||||
displayName: 'Use Python 3.7'
|
||||
|
||||
- script: |
|
||||
az login --service-principal -u $(ClientID) -p $(ClientSecret) --tenant $(TenantID)
|
||||
|
|
|
@ -35,7 +35,7 @@ $ python -m ipykernel install --user --name {conda_env} --display-name "Python (
|
|||
CHANNELS = ["defaults", "conda-forge", "pytorch", "fastai"]
|
||||
|
||||
CONDA_BASE = {
|
||||
"python": "python>=3.6,<3.8",
|
||||
"python": "python>=3.6,<3.10",
|
||||
"bottleneck": "bottleneck==1.2.1",
|
||||
"cornac": "cornac>=1.11.0",
|
||||
"ipykernel": "ipykernel>=4.6.1",
|
||||
|
|
Загрузка…
Ссылка в новой задаче