Skip to content

Commit e7b669f

Browse files
mergify[bot]napetrovAlexsandruss
authored
adding 3.12 in to matrix (backport #1523) (#1533)
* adding python 3.12 in to matrix (#1523) * Updating numpy dep for 3.12 * fixing dpctl deps * Restricting catboost python versions (cherry picked from commit 5571941) # Conflicts: # requirements-test-optional.txt * Update catboost version in requirements-test-optional.txt --------- Co-authored-by: Nikolay Petrov <[email protected]> Co-authored-by: Alexander Andreev <[email protected]>
1 parent 5165cc0 commit e7b669f

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

.ci/pipeline/build-and-test-lnx.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ steps:
2424
displayName: 'System info'
2525
- script: |
2626
conda update -y -q conda
27-
if [ $(echo $(PYTHON_VERSION) | grep '3.7') ] || [ $(echo $(PYTHON_VERSION) | grep '3.11') ]; then export DPCPP_PACKAGE="dpcpp-cpp-rt>=2023.2.0"; else export DPCPP_PACKAGE="dpctl>=0.14 dpcpp-cpp-rt>=2023.2.0"; fi
28-
conda create -q -y -n CB -c conda-forge -c intel python=$(PYTHON_VERSION) dal-devel mpich pyyaml $DPCPP_PACKAGE
27+
if [ $(echo $(PYTHON_VERSION) | grep '3.8\|3.9\|3.10') ]; then export DPCPP_PACKAGE="dpctl>=0.14 "; else export DPCPP_PACKAGE=""; fi
28+
conda create -q -y -n CB -c conda-forge -c intel python=$(PYTHON_VERSION) dal-devel mpich pyyaml $DPCPP_PACKAGE dpcpp-cpp-rt>=2023.2.0
2929
displayName: 'Conda create'
3030
- script: |
3131
. /usr/share/miniconda/etc/profile.d/conda.sh

.ci/pipeline/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ jobs:
7272
Python3.11_Sklearn1.3:
7373
PYTHON_VERSION: '3.11'
7474
SKLEARN_VERSION: '1.3'
75+
Python3.12_Sklearn1.3:
76+
PYTHON_VERSION: '3.12'
77+
SKLEARN_VERSION: '1.3'
7578
pool:
7679
vmImage: 'ubuntu-22.04'
7780
steps:
@@ -106,6 +109,9 @@ jobs:
106109
Python3.11_Sklearn1.3:
107110
PYTHON_VERSION: '3.11'
108111
SKLEARN_VERSION: '1.3'
112+
Python3.12_Sklearn1.3:
113+
PYTHON_VERSION: '3.12'
114+
SKLEARN_VERSION: '1.3'
109115
pool:
110116
vmImage: 'windows-latest'
111117
steps:

dependencies-dev

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Cython==3.0.2
22
Jinja2==3.1.2
33
numpy==1.19.5 ; python_version <= '3.9'
44
numpy==1.21.6 ; python_version == '3.10'
5-
numpy==1.23.5 ; python_version >= '3.11'
5+
numpy==1.23.5 ; python_version == '3.11'
6+
numpy==1.26.0 ; python_version >= '3.12'
67
pybind11==2.10.1
78
cmake==3.27.4.1

requirements-test-optional.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
xgboost==1.7.6; python_version <= '3.9'
22
xgboost==2.0.0; python_version >= '3.10'
33
lightgbm==4.1.0
4-
catboost==1.2.1
4+
catboost==1.2.2; python_version <= '3.11'

0 commit comments

Comments
 (0)