diff --git a/CMakeLists.txt b/CMakeLists.txt
index adceee5b3be4..6b1867041671 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ if(PLUGIN_SYCL)
string(REPLACE " -isystem ${CONDA_PREFIX}/include" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
endif()
-project(xgboost LANGUAGES CXX C VERSION 2.1.1)
+project(xgboost LANGUAGES CXX C VERSION 2.1.2)
include(cmake/Utils.cmake)
list(APPEND CMAKE_MODULE_PATH "${xgboost_SOURCE_DIR}/cmake/modules")
diff --git a/R-package/DESCRIPTION b/R-package/DESCRIPTION
index db5290334b49..f6dbf02cbaec 100644
--- a/R-package/DESCRIPTION
+++ b/R-package/DESCRIPTION
@@ -1,8 +1,8 @@
Package: xgboost
Type: Package
Title: Extreme Gradient Boosting
-Version: 2.1.1.1
-Date: 2024-07-30
+Version: 2.1.2.1
+Date: 2024-10-23
Authors@R: c(
person("Tianqi", "Chen", role = c("aut"),
email = "tianqi.tchen@gmail.com"),
diff --git a/R-package/configure b/R-package/configure
index f6deab049b2d..4d7f4ab5c906 100755
--- a/R-package/configure
+++ b/R-package/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for xgboost 2.1.1.
+# Generated by GNU Autoconf 2.71 for xgboost 2.1.2.
#
#
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
@@ -607,8 +607,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='xgboost'
PACKAGE_TARNAME='xgboost'
-PACKAGE_VERSION='2.1.1'
-PACKAGE_STRING='xgboost 2.1.1'
+PACKAGE_VERSION='2.1.2'
+PACKAGE_STRING='xgboost 2.1.2'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1259,7 +1259,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures xgboost 2.1.1 to adapt to many kinds of systems.
+\`configure' configures xgboost 2.1.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1321,7 +1321,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of xgboost 2.1.1:";;
+ short | recursive ) echo "Configuration of xgboost 2.1.2:";;
esac
cat <<\_ACEOF
@@ -1404,7 +1404,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-xgboost configure 2.1.1
+xgboost configure 2.1.2
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1603,7 +1603,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by xgboost $as_me 2.1.1, which was
+It was created by xgboost $as_me 2.1.2, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
@@ -2732,11 +2732,11 @@ if test x$ac_prog_cxx_stdcxx = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
printf %s "checking for $CXX option to enable C++11 features... " >&6; }
-if test ${ac_cv_prog_cxx_11+y}
+if test ${ac_cv_prog_cxx_cxx11+y}
then :
printf %s "(cached) " >&6
else $as_nop
- ac_cv_prog_cxx_11=no
+ ac_cv_prog_cxx_cxx11=no
ac_save_CXX=$CXX
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -2778,11 +2778,11 @@ if test x$ac_prog_cxx_stdcxx = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
printf %s "checking for $CXX option to enable C++98 features... " >&6; }
-if test ${ac_cv_prog_cxx_98+y}
+if test ${ac_cv_prog_cxx_cxx98+y}
then :
printf %s "(cached) " >&6
else $as_nop
- ac_cv_prog_cxx_98=no
+ ac_cv_prog_cxx_cxx98=no
ac_save_CXX=$CXX
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -3709,7 +3709,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by xgboost $as_me 2.1.1, which was
+This file was extended by xgboost $as_me 2.1.2, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3773,7 +3773,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-xgboost config.status 2.1.1
+xgboost config.status 2.1.2
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
diff --git a/R-package/configure.ac b/R-package/configure.ac
index 46b251708fba..516160ffd5bd 100644
--- a/R-package/configure.ac
+++ b/R-package/configure.ac
@@ -2,7 +2,7 @@
AC_PREREQ(2.69)
-AC_INIT([xgboost],[2.1.1],[],[xgboost],[])
+AC_INIT([xgboost],[2.1.2],[],[xgboost],[])
: ${R_HOME=`R RHOME`}
if test -z "${R_HOME}"; then
diff --git a/dev/release-artifacts.py b/dev/release-artifacts.py
index 08bb2cbfaff2..5d7854e06719 100644
--- a/dev/release-artifacts.py
+++ b/dev/release-artifacts.py
@@ -1,7 +1,7 @@
"""
Simple script for managing Python, R, and source release packages.
-tqdm, sh are required to run this script.
+tqdm, sh, build, twine are required to run this script.
"""
import argparse
@@ -11,7 +11,7 @@
import tarfile
import tempfile
from pathlib import Path
-from typing import Any, Dict, List, Optional, Tuple, Union
+from typing import Any, Dict, List, Optional, Tuple
from urllib.request import urlretrieve
import tqdm
@@ -196,7 +196,6 @@ def download_r_artifacts(
rpkg_dir.mkdir(exist_ok=True)
artifacts = []
- branch = branch.split("_")[1] # release_x.y.z
urls = {}
for plat in platforms:
diff --git a/include/xgboost/version_config.h b/include/xgboost/version_config.h
index ee4c824d7f61..cb5e2bb2845d 100644
--- a/include/xgboost/version_config.h
+++ b/include/xgboost/version_config.h
@@ -6,6 +6,6 @@
#define XGBOOST_VER_MAJOR 2 /* NOLINT */
#define XGBOOST_VER_MINOR 1 /* NOLINT */
-#define XGBOOST_VER_PATCH 1 /* NOLINT */
+#define XGBOOST_VER_PATCH 2 /* NOLINT */
#endif // XGBOOST_VERSION_CONFIG_H_
diff --git a/jvm-packages/pom.xml b/jvm-packages/pom.xml
index 53b7333e8fe3..9f647f0bc60f 100644
--- a/jvm-packages/pom.xml
+++ b/jvm-packages/pom.xml
@@ -6,7 +6,7 @@
ml.dmlc
xgboost-jvm_2.12
- 2.1.1
+ 2.1.2
pom
XGBoost JVM Package
JVM Package for XGBoost
diff --git a/jvm-packages/xgboost4j-example/pom.xml b/jvm-packages/xgboost4j-example/pom.xml
index 554a7bf8f4be..52bb7b6ed1ea 100644
--- a/jvm-packages/xgboost4j-example/pom.xml
+++ b/jvm-packages/xgboost4j-example/pom.xml
@@ -6,11 +6,11 @@
ml.dmlc
xgboost-jvm_2.12
- 2.1.1
+ 2.1.2
xgboost4j-example
xgboost4j-example_2.12
- 2.1.1
+ 2.1.2
jar
diff --git a/jvm-packages/xgboost4j-flink/pom.xml b/jvm-packages/xgboost4j-flink/pom.xml
index f24e0426c7ef..da9e79d00269 100644
--- a/jvm-packages/xgboost4j-flink/pom.xml
+++ b/jvm-packages/xgboost4j-flink/pom.xml
@@ -6,12 +6,12 @@
ml.dmlc
xgboost-jvm_2.12
- 2.1.1
+ 2.1.2
xgboost4j-flink
xgboost4j-flink_2.12
- 2.1.1
+ 2.1.2
2.2.0
diff --git a/jvm-packages/xgboost4j-gpu/pom.xml b/jvm-packages/xgboost4j-gpu/pom.xml
index cbc147b8aeff..3c24b82f69cb 100644
--- a/jvm-packages/xgboost4j-gpu/pom.xml
+++ b/jvm-packages/xgboost4j-gpu/pom.xml
@@ -6,11 +6,11 @@
ml.dmlc
xgboost-jvm_2.12
- 2.1.1
+ 2.1.2
xgboost4j-gpu_2.12
xgboost4j-gpu
- 2.1.1
+ 2.1.2
jar
diff --git a/jvm-packages/xgboost4j-spark-gpu/pom.xml b/jvm-packages/xgboost4j-spark-gpu/pom.xml
index dd5e3179c023..934a16a4243d 100644
--- a/jvm-packages/xgboost4j-spark-gpu/pom.xml
+++ b/jvm-packages/xgboost4j-spark-gpu/pom.xml
@@ -6,7 +6,7 @@
ml.dmlc
xgboost-jvm_2.12
- 2.1.1
+ 2.1.2
xgboost4j-spark-gpu
xgboost4j-spark-gpu_2.12
diff --git a/jvm-packages/xgboost4j-spark/pom.xml b/jvm-packages/xgboost4j-spark/pom.xml
index 1858defd5b02..b95c52afd174 100644
--- a/jvm-packages/xgboost4j-spark/pom.xml
+++ b/jvm-packages/xgboost4j-spark/pom.xml
@@ -6,7 +6,7 @@
ml.dmlc
xgboost-jvm_2.12
- 2.1.1
+ 2.1.2
xgboost4j-spark
xgboost4j-spark_2.12
diff --git a/jvm-packages/xgboost4j/pom.xml b/jvm-packages/xgboost4j/pom.xml
index a4b8985c3493..2a5fa17c887e 100644
--- a/jvm-packages/xgboost4j/pom.xml
+++ b/jvm-packages/xgboost4j/pom.xml
@@ -6,11 +6,11 @@
ml.dmlc
xgboost-jvm_2.12
- 2.1.1
+ 2.1.2
xgboost4j
xgboost4j_2.12
- 2.1.1
+ 2.1.2
jar
diff --git a/python-package/pyproject.toml b/python-package/pyproject.toml
index 9efb597db88c..de67edc53b3c 100644
--- a/python-package/pyproject.toml
+++ b/python-package/pyproject.toml
@@ -14,7 +14,7 @@ authors = [
{ name = "Hyunsu Cho", email = "chohyu01@cs.washington.edu" },
{ name = "Jiaming Yuan", email = "jm.yuan@outlook.com" }
]
-version = "2.1.1"
+version = "2.1.2"
requires-python = ">=3.8"
license = { text = "Apache-2.0" }
classifiers = [
diff --git a/python-package/xgboost/VERSION b/python-package/xgboost/VERSION
index 3e3c2f1e5edb..eca07e4c1a8c 100644
--- a/python-package/xgboost/VERSION
+++ b/python-package/xgboost/VERSION
@@ -1 +1 @@
-2.1.1
+2.1.2