Commit 9f1af05 1 parent 3aac25a commit 9f1af05 Copy full SHA for 9f1af05
File tree 11 files changed +59
-50
lines changed
11 files changed +59
-50
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ if ($env:TASK -eq "swig") {
66
66
conda init powershell
67
67
conda activate
68
68
conda config -- set always_yes yes -- set changeps1 no
69
- conda update - q - y conda " python=$env: PYTHON_VERSION [build=*cpython ]"
69
+ conda update - q - y conda " python=$env: PYTHON_VERSION [build=*_cp* ]"
70
70
71
71
if ($env: PYTHON_VERSION -eq " 3.7" ) {
72
72
$env: CONDA_REQUIREMENT_FILE = " $env: BUILD_SOURCESDIRECTORY /.ci/conda-envs/ci-core-py37.txt"
@@ -80,7 +80,7 @@ $condaParams = @(
80
80
" -y" ,
81
81
" -n" , " $env: CONDA_ENV " ,
82
82
" --file" , " $env: CONDA_REQUIREMENT_FILE " ,
83
- " python=$env: PYTHON_VERSION [build=*cpython ]"
83
+ " python=$env: PYTHON_VERSION [build=*_cp* ]"
84
84
)
85
85
conda create @condaParams ; Assert-Output $?
86
86
Original file line number Diff line number Diff line change @@ -64,8 +64,9 @@ if [[ "$TASK" == "cpp-tests" ]]; then
64
64
exit 0
65
65
fi
66
66
67
- # including python=version[build=*cpython] to ensure that conda doesn't fall back to pypy
68
- CONDA_PYTHON_REQUIREMENT=" python=${PYTHON_VERSION} [build=*cpython]"
67
+ # including python=version=[build=*_cp*] to ensure that conda prefers CPython and doesn't fall back to
68
+ # other implementations like pypy
69
+ CONDA_PYTHON_REQUIREMENT=" python=${PYTHON_VERSION} [build=*_cp*]"
69
70
70
71
if [[ $TASK == " if-else" ]]; then
71
72
conda create -q -y -n " ${CONDA_ENV} " " ${CONDA_PYTHON_REQUIREMENT} " numpy
Original file line number Diff line number Diff line change @@ -81,19 +81,19 @@ jobs:
81
81
include :
82
82
- method : wheel
83
83
compiler : gcc
84
- python_version : " 3.10 "
84
+ python_version : " 3.11 "
85
85
cuda_version : " 12.6.1"
86
86
linux_version : " ubuntu22.04"
87
87
task : cuda
88
88
- method : source
89
89
compiler : gcc
90
- python_version : " 3.12 "
90
+ python_version : " 3.13 "
91
91
cuda_version : " 12.2.2"
92
92
linux_version : " ubuntu22.04"
93
93
task : cuda
94
94
- method : pip
95
95
compiler : clang
96
- python_version : " 3.11 "
96
+ python_version : " 3.12 "
97
97
cuda_version : " 11.8.0"
98
98
linux_version : " ubuntu20.04"
99
99
task : cuda
Original file line number Diff line number Diff line change 10
10
env :
11
11
COMPILER : gcc
12
12
OS_NAME : ' linux'
13
- PYTHON_VERSION : ' 3.12 '
13
+ PYTHON_VERSION : ' 3.13 '
14
14
TASK : ' check-links'
15
15
16
16
jobs :
Original file line number Diff line number Diff line change @@ -28,32 +28,32 @@ jobs:
28
28
include :
29
29
- os : macos-13
30
30
task : regular
31
- python_version : ' 3.10 '
31
+ python_version : ' 3.11 '
32
32
- os : macos-13
33
33
task : sdist
34
- python_version : ' 3.11 '
34
+ python_version : ' 3.12 '
35
35
- os : macos-13
36
36
task : bdist
37
- python_version : ' 3.8 '
37
+ python_version : ' 3.9 '
38
38
- os : macos-13
39
39
task : if-else
40
- python_version : ' 3.9 '
40
+ python_version : ' 3.10 '
41
41
- os : macos-14
42
42
task : bdist
43
43
method : wheel
44
- python_version : ' 3.10 '
44
+ python_version : ' 3.11 '
45
45
- os : macos-13
46
46
task : mpi
47
47
method : source
48
- python_version : ' 3.11 '
48
+ python_version : ' 3.12 '
49
49
- os : macos-13
50
50
task : mpi
51
51
method : pip
52
- python_version : ' 3.12 '
52
+ python_version : ' 3.13 '
53
53
- os : macos-13
54
54
task : mpi
55
55
method : wheel
56
- python_version : ' 3.9 '
56
+ python_version : ' 3.10 '
57
57
steps :
58
58
- name : Checkout repository
59
59
uses : actions/checkout@v4
@@ -113,12 +113,19 @@ jobs:
113
113
--rm \
114
114
-v $(pwd):/opt/lgb-build \
115
115
-w /opt/lgb-build \
116
- python:3.12 \
116
+ python:3.13 \
117
117
/bin/bash ./.ci/test-python-latest.sh
118
- test-oldest -versions :
118
+ test-old -versions :
119
119
name : Python - oldest supported versions (ubuntu-latest)
120
120
runs-on : ubuntu-latest
121
121
timeout-minutes : 60
122
+ strategy :
123
+ fail-fast : false
124
+ matrix :
125
+ # end-of-life Python versions
126
+ python_version :
127
+ - ' 3.7'
128
+ - ' 3.8'
122
129
steps :
123
130
- name : Checkout repository
124
131
uses : actions/checkout@v4
@@ -140,12 +147,12 @@ jobs:
140
147
--rm \
141
148
-v $(pwd):/opt/lgb-build \
142
149
-w /opt/lgb-build \
143
- python:3.7 \
150
+ python:${{ matrix.python_version }} \
144
151
/bin/bash ./.ci/test-python-oldest.sh
145
152
all-python-package-jobs-successful :
146
153
if : always()
147
154
runs-on : ubuntu-latest
148
- needs : [test, test-latest-versions, test-oldest -versions]
155
+ needs : [test, test-latest-versions, test-old -versions]
149
156
steps :
150
157
- name : Note that all tests succeeded
151
158
uses : re-actors/alls-green@v1.2.2
Original file line number Diff line number Diff line change 19
19
COMPILER : ' gcc'
20
20
MAKEFLAGS : ' -j4'
21
21
OS_NAME : ' linux'
22
- PYTHON_VERSION : ' 3.12 '
22
+ PYTHON_VERSION : ' 3.13 '
23
23
24
24
jobs :
25
25
test :
Original file line number Diff line number Diff line change 1
1
version : 2
2
2
build :
3
- os : " ubuntu-20 .04"
3
+ os : " ubuntu-24 .04"
4
4
tools :
5
- python : " miniconda3-4.7 "
5
+ python : " mambaforge-23.11 "
6
6
conda :
7
7
environment : docs/env.yml
8
8
formats :
Original file line number Diff line number Diff line change 10
10
variables :
11
11
AZURE : ' true'
12
12
CMAKE_BUILD_PARALLEL_LEVEL : 4
13
- PYTHON_VERSION : ' 3.12 '
13
+ PYTHON_VERSION : ' 3.13 '
14
14
runCodesignValidationInjection : false
15
15
skipComponentGovernanceDetection : true
16
16
Codeql.Enabled : false
@@ -96,19 +96,19 @@ jobs:
96
96
matrix :
97
97
regular :
98
98
TASK : regular
99
- PYTHON_VERSION : ' 3.10 '
99
+ PYTHON_VERSION : ' 3.11 '
100
100
sdist :
101
101
TASK : sdist
102
- PYTHON_VERSION : ' 3.8 '
102
+ PYTHON_VERSION : ' 3.9 '
103
103
bdist :
104
104
TASK : bdist
105
- PYTHON_VERSION : ' 3.9 '
105
+ PYTHON_VERSION : ' 3.10 '
106
106
inference :
107
107
TASK : if-else
108
108
mpi_source :
109
109
TASK : mpi
110
110
METHOD : source
111
- PYTHON_VERSION : ' 3.9 '
111
+ PYTHON_VERSION : ' 3.10 '
112
112
gpu_source :
113
113
TASK : gpu
114
114
METHOD : source
@@ -162,7 +162,7 @@ jobs:
162
162
TASK : sdist
163
163
bdist :
164
164
TASK : bdist
165
- PYTHON_VERSION : ' 3.10 '
165
+ PYTHON_VERSION : ' 3.11 '
166
166
inference :
167
167
TASK : if-else
168
168
mpi_source :
@@ -171,23 +171,23 @@ jobs:
171
171
mpi_pip :
172
172
TASK : mpi
173
173
METHOD : pip
174
- PYTHON_VERSION : ' 3.11 '
174
+ PYTHON_VERSION : ' 3.12 '
175
175
mpi_wheel :
176
176
TASK : mpi
177
177
METHOD : wheel
178
- PYTHON_VERSION : ' 3.9 '
178
+ PYTHON_VERSION : ' 3.10 '
179
179
gpu_source :
180
180
TASK : gpu
181
181
METHOD : source
182
- PYTHON_VERSION : ' 3.11 '
182
+ PYTHON_VERSION : ' 3.12 '
183
183
gpu_pip :
184
184
TASK : gpu
185
185
METHOD : pip
186
- PYTHON_VERSION : ' 3.10 '
186
+ PYTHON_VERSION : ' 3.11 '
187
187
gpu_wheel :
188
188
TASK : gpu
189
189
METHOD : wheel
190
- PYTHON_VERSION : ' 3.9 '
190
+ PYTHON_VERSION : ' 3.10 '
191
191
cpp_tests :
192
192
TASK : cpp-tests
193
193
METHOD : with-sanitizers
@@ -298,10 +298,10 @@ jobs:
298
298
matrix :
299
299
regular :
300
300
TASK : regular
301
- PYTHON_VERSION : ' 3.10 '
301
+ PYTHON_VERSION : ' 3.11 '
302
302
sdist :
303
303
TASK : sdist
304
- PYTHON_VERSION : ' 3.9 '
304
+ PYTHON_VERSION : ' 3.10 '
305
305
bdist :
306
306
TASK : bdist
307
307
swig :
@@ -347,10 +347,10 @@ jobs:
347
347
matrix :
348
348
regular :
349
349
TASK : regular
350
- PYTHON_VERSION : ' 3.10 '
350
+ PYTHON_VERSION : ' 3.11 '
351
351
sdist :
352
352
TASK : sdist
353
- PYTHON_VERSION : ' 3.9 '
353
+ PYTHON_VERSION : ' 3.10 '
354
354
bdist :
355
355
TASK : bdist
356
356
swig :
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Run the following from the root of this repository to pull the relevant image an
35
35
--env READTHEDOCS=true \
36
36
--workdir=/opt/LightGBM/docs \
37
37
--entrypoint=" " \
38
- readthedocs/build:ubuntu-20 .04-2021.09.23 \
38
+ readthedocs/build:ubuntu-24 .04-2024.06.17 \
39
39
/bin/bash build-docs.sh
40
40
41
41
When that code completes, open ``docs/_build/html/index.html `` in your browser.
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ channels:
4
4
- conda-forge
5
5
dependencies :
6
6
- breathe>=4.35
7
- - python=3.10
8
- - r-base=4.3.2
9
- - r-data.table=1.14.10
10
- - r-jsonlite=1.8.8
11
- - r-knitr=1.45
12
- - r-markdown=1.12
13
- - r-matrix=1.6_4
14
- - r-pkgdown=2.0.7
7
+ - python=3.12
8
+ - r-base> =4.3.3
9
+ - r-data.table=1.16.4
10
+ - r-jsonlite=1.8.9
11
+ - r-knitr=1.49
12
+ - r-markdown=1.13
13
+ - r-matrix=1.6_5
14
+ - r-pkgdown=2.1.1
15
15
- r-roxygen2=7.3.2
16
- - scikit-learn>=1.4.0
17
- - sphinx>=6.0
18
- - sphinx_rtd_theme>=2.0
16
+ - scikit-learn>=1.6.1
17
+ - sphinx>=8.1.3
18
+ - sphinx_rtd_theme>=3.0.1
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ classifiers = [
16
16
" Programming Language :: Python :: 3.10" ,
17
17
" Programming Language :: Python :: 3.11" ,
18
18
" Programming Language :: Python :: 3.12" ,
19
+ " Programming Language :: Python :: 3.13" ,
19
20
" Topic :: Scientific/Engineering :: Artificial Intelligence"
20
21
]
21
22
dependencies = [
You can’t perform that action at this time.
0 commit comments