Skip to content

Commit c306fbb

Browse files
authored
Merge branch 'dmlc:release_3.0.0' into release_3.0.0
2 parents 7c6224d + 0a1c505 commit c306fbb

File tree

37 files changed

+346
-116
lines changed

37 files changed

+346
-116
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Build Python wheels targeting Windows ARM64
2+
3+
on: [push, pull_request]
4+
5+
permissions:
6+
contents: read # to fetch code (actions/checkout)
7+
8+
defaults:
9+
run:
10+
shell: pwsh
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
14+
cancel-in-progress: true
15+
16+
env:
17+
BRANCH_NAME: >-
18+
${{ github.event.pull_request.number && 'PR-' }}${{ github.event.pull_request.number || github.ref_name }}
19+
20+
jobs:
21+
python-wheels-Win-ARM64:
22+
name: Build wheel for Windows ARM64
23+
runs-on: windows-11-arm
24+
steps:
25+
- uses: actions/checkout@v4
26+
with:
27+
submodules: 'true'
28+
29+
- name: Setup Python
30+
uses: actions/setup-python@v4
31+
with:
32+
python-version: '3.11'
33+
34+
- name: Install build dependencies
35+
run: |
36+
python -m pip install --upgrade pip
37+
python -m pip install wheel setuptools awscli
38+
39+
- name: Build XGBoost for Win-ARM64
40+
run: |
41+
mkdir build
42+
cd build
43+
cmake .. -G"Visual Studio 17 2022" -A ARM64
44+
cmake --build . --config Release -- /m /nodeReuse:false "/consoleloggerparameters:ShowCommandLine;Verbosity=minimal"
45+
46+
- name: Build XGBoost Python wheel for Win-ARM64
47+
run: |
48+
# Patch to rename pkg to xgboost-cpu
49+
python ops/script/pypi_variants.py --use-cpu-suffix=1 --require-nccl-dep=0
50+
cd python-package
51+
mkdir -p wheelhouse
52+
pip wheel --no-deps -v . --wheel-dir wheelhouse/
53+
$wheelFile = Get-ChildItem wheelhouse/*.whl | Select-Object -First 1 -ExpandProperty FullName
54+
python -m wheel tags --python-tag py3 --abi-tag none --platform win_arm64 --remove $wheelFile
55+
56+
- name: Upload Python wheel
57+
if: github.ref == 'refs/heads/master' || contains(github.ref, 'refs/heads/release_')
58+
run: |
59+
$wheelFile = Get-ChildItem python-package/wheelhouse/*.whl | Select-Object -First 1 -ExpandProperty FullName
60+
python ops/pipeline/manage-artifacts.py upload `
61+
--s3-bucket xgboost-nightly-builds `
62+
--prefix ${{ env.BRANCH_NAME }}/${{ github.sha }} --make-public `
63+
$wheelFile
64+
env:
65+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID_IAM_S3_UPLOADER }}
66+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_IAM_S3_UPLOADER }}

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if(PLUGIN_SYCL)
44
string(REPLACE " -isystem ${CONDA_PREFIX}/include" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
55
endif()
66

7-
project(xgboost LANGUAGES CXX C VERSION 3.0.2)
7+
project(xgboost LANGUAGES CXX C VERSION 3.0.3)
88
include(cmake/Utils.cmake)
99
list(APPEND CMAKE_MODULE_PATH "${xgboost_SOURCE_DIR}/cmake/modules")
1010

R-package/DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: xgboost
22
Type: Package
33
Title: Extreme Gradient Boosting
4-
Version: 3.0.2.1
5-
Date: 2025-05-22
4+
Version: 3.0.3.1
5+
Date: 2025-07-30
66
Authors@R: c(
77
person("Tianqi", "Chen", role = c("aut"),
88
email = "[email protected]"),

R-package/configure

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.71 for xgboost 3.0.2.
3+
# Generated by GNU Autoconf 2.71 for xgboost 3.0.3.
44
#
55
#
66
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
@@ -607,8 +607,8 @@ MAKEFLAGS=
607607
# Identity of this package.
608608
PACKAGE_NAME='xgboost'
609609
PACKAGE_TARNAME='xgboost'
610-
PACKAGE_VERSION='3.0.2'
611-
PACKAGE_STRING='xgboost 3.0.2'
610+
PACKAGE_VERSION='3.0.3'
611+
PACKAGE_STRING='xgboost 3.0.3'
612612
PACKAGE_BUGREPORT=''
613613
PACKAGE_URL=''
614614

@@ -1262,7 +1262,7 @@ if test "$ac_init_help" = "long"; then
12621262
# Omit some internal or obsolete options to make the list less imposing.
12631263
# This message is too long to be a string in the A/UX 3.1 sh.
12641264
cat <<_ACEOF
1265-
\`configure' configures xgboost 3.0.2 to adapt to many kinds of systems.
1265+
\`configure' configures xgboost 3.0.3 to adapt to many kinds of systems.
12661266
12671267
Usage: $0 [OPTION]... [VAR=VALUE]...
12681268
@@ -1324,7 +1324,7 @@ fi
13241324

13251325
if test -n "$ac_init_help"; then
13261326
case $ac_init_help in
1327-
short | recursive ) echo "Configuration of xgboost 3.0.2:";;
1327+
short | recursive ) echo "Configuration of xgboost 3.0.3:";;
13281328
esac
13291329
cat <<\_ACEOF
13301330
@@ -1407,7 +1407,7 @@ fi
14071407
test -n "$ac_init_help" && exit $ac_status
14081408
if $ac_init_version; then
14091409
cat <<\_ACEOF
1410-
xgboost configure 3.0.2
1410+
xgboost configure 3.0.3
14111411
generated by GNU Autoconf 2.71
14121412
14131413
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1668,7 +1668,7 @@ cat >config.log <<_ACEOF
16681668
This file contains any messages produced by compilers while
16691669
running configure, to aid debugging if configure makes a mistake.
16701670
1671-
It was created by xgboost $as_me 3.0.2, which was
1671+
It was created by xgboost $as_me 3.0.3, which was
16721672
generated by GNU Autoconf 2.71. Invocation command line was
16731673
16741674
$ $0$ac_configure_args_raw
@@ -3855,7 +3855,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38553855
# report actual input values of CONFIG_FILES etc. instead of their
38563856
# values after options handling.
38573857
ac_log="
3858-
This file was extended by xgboost $as_me 3.0.2, which was
3858+
This file was extended by xgboost $as_me 3.0.3, which was
38593859
generated by GNU Autoconf 2.71. Invocation command line was
38603860
38613861
CONFIG_FILES = $CONFIG_FILES
@@ -3919,7 +3919,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
39193919
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
39203920
ac_cs_config='$ac_cs_config_escaped'
39213921
ac_cs_version="\\
3922-
xgboost config.status 3.0.2
3922+
xgboost config.status 3.0.3
39233923
configured by $0, generated by GNU Autoconf 2.71,
39243924
with options \\"\$ac_cs_config\\"
39253925

R-package/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
AC_PREREQ(2.69)
44

5-
AC_INIT([xgboost],[3.0.2],[],[xgboost],[])
5+
AC_INIT([xgboost],[3.0.3],[],[xgboost],[])
66

77
: ${R_HOME=`R RHOME`}
88
if test -z "${R_HOME}"; then

include/xgboost/version_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
#define XGBOOST_VER_MAJOR 3 /* NOLINT */
88
#define XGBOOST_VER_MINOR 0 /* NOLINT */
9-
#define XGBOOST_VER_PATCH 2 /* NOLINT */
9+
#define XGBOOST_VER_PATCH 3 /* NOLINT */
1010

1111
#endif // XGBOOST_VERSION_CONFIG_H_

jvm-packages/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>ml.dmlc</groupId>
88
<artifactId>xgboost-jvm_2.12</artifactId>
9-
<version>3.0.2</version>
9+
<version>3.0.3</version>
1010
<packaging>pom</packaging>
1111
<name>XGBoost JVM Package</name>
1212
<description>JVM Package for XGBoost</description>

jvm-packages/xgboost4j-example/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<parent>
77
<groupId>ml.dmlc</groupId>
88
<artifactId>xgboost-jvm_2.12</artifactId>
9-
<version>3.0.2</version>
9+
<version>3.0.3</version>
1010
</parent>
1111
<name>xgboost4j-example</name>
1212
<artifactId>xgboost4j-example_2.12</artifactId>
13-
<version>3.0.2</version>
13+
<version>3.0.3</version>
1414
<packaging>jar</packaging>
1515
<build>
1616
<plugins>

jvm-packages/xgboost4j-flink/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
<parent>
77
<groupId>ml.dmlc</groupId>
88
<artifactId>xgboost-jvm_2.12</artifactId>
9-
<version>3.0.2</version>
9+
<version>3.0.3</version>
1010
</parent>
1111

1212
<name>xgboost4j-flink</name>
1313
<artifactId>xgboost4j-flink_2.12</artifactId>
14-
<version>3.0.2</version>
14+
<version>3.0.3</version>
1515
<properties>
1616
<flink-ml.version>2.2.0</flink-ml.version>
1717
</properties>

jvm-packages/xgboost4j-spark-gpu/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>ml.dmlc</groupId>
88
<artifactId>xgboost-jvm_2.12</artifactId>
9-
<version>3.0.2</version>
9+
<version>3.0.3</version>
1010
</parent>
1111
<name>xgboost4j-spark-gpu</name>
1212
<artifactId>xgboost4j-spark-gpu_2.12</artifactId>

0 commit comments

Comments
 (0)