File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 66
66
CONDA_PYTHON_REQUIREMENT=" python=$PYTHON_VERSION [build=*cpython]"
67
67
68
68
if [[ $TASK == " if-else" ]]; then
69
- mamba create -q -y -n $CONDA_ENV ${CONDA_PYTHON_REQUIREMENT} numpy
69
+ conda create -q -y -n $CONDA_ENV ${CONDA_PYTHON_REQUIREMENT} numpy
70
70
source activate $CONDA_ENV
71
71
cmake -B build -S . || exit 1
72
72
cmake --build build --target lightgbm -j4 || exit 1
@@ -95,7 +95,7 @@ if [[ $TASK == "swig" ]]; then
95
95
fi
96
96
97
97
if [[ $TASK == " lint" ]]; then
98
- mamba create -q -y -n $CONDA_ENV \
98
+ conda create -q -y -n $CONDA_ENV \
99
99
${CONDA_PYTHON_REQUIREMENT} \
100
100
' cmakelint>=1.4.3' \
101
101
' cpplint>=1.6.0' \
116
116
117
117
if [[ $TASK == " check-docs" ]] || [[ $TASK == " check-links" ]]; then
118
118
cd " ${BUILD_DIRECTORY} /docs"
119
- mamba env create \
119
+ conda env create \
120
120
-n $CONDA_ENV \
121
121
--file ./env.yml || exit 1
122
- mamba install \
122
+ conda install \
123
123
-q \
124
124
-y \
125
125
-n $CONDA_ENV \
157
157
CONDA_REQUIREMENT_FILES=" --file ${BUILD_DIRECTORY} /.ci/conda-envs/ci-core.txt"
158
158
fi
159
159
160
- mamba create \
160
+ conda create \
161
161
-y \
162
162
-n $CONDA_ENV \
163
163
${CONDA_REQUIREMENT_FILES} \
@@ -306,7 +306,7 @@ matplotlib.use\(\"Agg\"\)\
306
306
' plot_example.py # prevent interactive window mode
307
307
sed -i' .bak' ' s/graph.render(view=True)/graph.render(view=False)/' plot_example.py
308
308
# requirements for examples
309
- mamba install -y -n $CONDA_ENV \
309
+ conda install -y -n $CONDA_ENV \
310
310
' h5py>=3.10' \
311
311
' ipywidgets>=8.1.2' \
312
312
' notebook>=7.1.2'
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ jobs:
115
115
--rm \
116
116
-v $(pwd):/opt/lgb-build \
117
117
-w /opt/lgb-build \
118
- python:3.11 \
118
+ python:3.12 \
119
119
/bin/bash ./.ci/test-python-latest.sh
120
120
test-oldest-versions :
121
121
name : Python - oldest supported versions (ubuntu-latest)
You can’t perform that action at this time.
0 commit comments