Skip to content

Commit

Permalink
CI: conda channel reconfiguration (#1932) (#1945)
Browse files Browse the repository at this point in the history
* CI: miniconda to miniforge

* CI: conda channel reconfiguration

* additional intel cleanup

* remove defaults

* removed remove intel

* miniconda

* additional yml intel removals

* trying with updated intel channel

* forcing numpy<2 for dpnp compatibility

* forcing numpy<2 for dpnp compatibility

* trying without dpnp for 3.10

* remove dpctl on 3.10 as well

(cherry picked from commit f3d39a5)

# Conflicts:
#	.ci/pipeline/build-and-test-lnx.yml

Co-authored-by: ethanglaser <[email protected]>
Co-authored-by: Nikolay Petrov <[email protected]>
  • Loading branch information
3 people authored Jul 17, 2024
1 parent a37c196 commit 3a89a48
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .ci/pipeline/build-and-test-lnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ steps:
bash .ci/scripts/describe_system.sh
displayName: "System info"
- script: |
conda config --add channels conda-forge
conda config --set channel_priority strict
conda update -y -q conda
conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) intel::dal-devel mpich pyyaml "dpcpp-cpp-rt=2024.2.0"
conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) dal-devel mpich pyyaml "dpcpp-cpp-rt=2024.2.0"
displayName: "Conda create"
- script: |
. /usr/share/miniconda/etc/profile.d/conda.sh
Expand All @@ -46,7 +48,7 @@ steps:
bash .ci/scripts/setup_sklearn.sh $(SKLEARN_VERSION)
pip install --upgrade -r requirements-test.txt
pip install $(python .ci/scripts/get_compatible_scipy_version.py)
if [ $(echo $(PYTHON_VERSION) | grep '3.9\|3.10') ] && [ $(SKLEARN_VERSION) != "1.0" ]; then conda install -q -y -c intel dpctl=0.16.0 dpnp=0.14.0; fi
if [ $(echo $(PYTHON_VERSION) | grep '3.9\|3.11') ] && [ $(SKLEARN_VERSION) != "1.0" ]; then conda install -q -y -c https://software.repos.intel.com/python/conda/ dpctl=0.17.0 dpnp=0.15.0; fi
pip list
displayName: "Install testing requirements"
- script: |
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipeline/build-and-test-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
steps:
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
displayName: Add conda to PATH
- script: conda create -q -y -n CB -c conda-forge -c intel python=$(PYTHON_VERSION) intel::dal-devel impi-devel clang-format pyyaml
- script: conda create -q -y -n CB -c conda-forge python=$(PYTHON_VERSION) dal-devel impi-devel clang-format pyyaml
displayName: 'Create Anaconda environment'
- script: |
call activate CB
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipeline/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
conda config --append channels conda-forge
conda config --remove channels defaults
conda update -y -q conda
conda create -y -q -n CB -c intel -c conda-forge python=$(python.version) dal-devel impi-devel
conda create -y -q -n CB -c conda-forge python=$(python.version) dal-devel impi-devel
displayName: 'Conda create'
- script: |
bash .ci/scripts/describe_system.sh
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipeline/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
displayName: 'Sklearn testing'
- job: GeneratorConda
steps:
- bash: python .ci/scripts/gen_release_jobs.py --channels intel conda-forge
- bash: python .ci/scripts/gen_release_jobs.py --channels conda-forge
name: MatrixGen
- job: ReleaseConda
dependsOn: GeneratorConda
Expand Down

0 comments on commit 3a89a48

Please sign in to comment.