Skip to content
Draft
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ci/pipeline/build-and-test-lnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ steps:
if [ $(echo $(PYTHON_VERSION) | grep '3.10\|3.11\|3.12\|3.13') ] && [ $(SKLEARN_VERSION) != "1.0" ] && [ -z ${NO_DPC} ]; then pip install dpctl==$DPCTL_VERSION dpnp==$DPNP_VERSION; fi
if [ -z "${NO_DPC}" ]; then pip install dpcpp-cpp-rt==$DPCPP_RT_VERSION; fi
conda list
python .ci/scripts/print_skl_info.py
env:
NO_DPC: ${{ variables.NO_DPC }}
DPCTL_VERSION: 0.21.1
Expand Down
1 change: 1 addition & 0 deletions .ci/pipeline/build-and-test-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ steps:
pip install --upgrade -r requirements-test.txt
pip install $(python .ci/scripts/get_compatible_scipy_version.py)
conda list
python .ci/scripts/print_skl_info.py
displayName: 'Install testing requirements'
- script: |
source activate CB
Expand Down
1 change: 1 addition & 0 deletions .ci/pipeline/build-and-test-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ steps:
for /f "delims=" %%c in ('python s\.ci\scripts\get_compatible_scipy_version.py') do set SCIPY_VERSION=%%c
pip install %SCIPY_VERSION%
conda list
python s\.ci\scripts\print_skl_info.py
displayName: 'Install testing requirements'
- script: |
call activate CB
Expand Down
25 changes: 25 additions & 0 deletions .ci/scripts/print_skl_info.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# ==============================================================================
# Copyright contributors to the oneDAL project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================

import sys

import sklearn

if __name__ == "__main__":
if (sys.version_info.major > 3) or (
sys.version_info.major == 3 and sys.version_info.minor > 10
):
sklearn.show_versions()
Loading