Skip to content

Commit 19a99d1

Browse files
committed
Add Python 3.14 classifier.
1 parent c5ba21d commit 19a99d1

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

ops/script/pypi_variants.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ def make_pyproject(
7676
NCCL, NCCL_WHL.format(require_nccl_dep) if require_nccl_dep != "na" else ""
7777
)
7878
pyproject = (
79-
f"# Generated by `{os.path.basename(__file__)}`, don't edit.\n" + pyproject
79+
f"# Generated by `{os.path.basename(__file__)}`, don't edit: "
80+
f"'--use-suffix={use_suffix} --require-nccl-dep={require_nccl_dep} "
81+
f"--create-stub={create_stub}'\n" + pyproject
8082
)
8183

8284
with open(OUT_PATH, "w") as fd:
@@ -90,7 +92,10 @@ def make_pyproject(
9092
type=str,
9193
choices=["na", "cpu"] + CUDA_VARIANTS,
9294
default="na",
93-
help="When using this option, rename the package name to xgboost-[suffix]. Set to 'na' to disable",
95+
help=(
96+
"When using this option, rename the package name to xgboost-[suffix]. "
97+
"Set to 'na' to disable"
98+
),
9499
)
95100
parser.add_argument(
96101
"--require-nccl-dep",

python-package/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Generated by `pypi_variants.py`, don't edit.
1+
# Generated by `pypi_variants.py`, don't edit: '--use-suffix=na --require-nccl-dep=cu12 --create-stub=False'
22
[build-system]
33
requires = [
44
"hatchling>=1.12.1",
@@ -29,6 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3.11",
3030
"Programming Language :: Python :: 3.12",
3131
"Programming Language :: Python :: 3.13",
32+
"Programming Language :: Python :: 3.14",
3233
]
3334
dependencies = [
3435
"numpy",

python-package/pyproject.toml.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ classifiers = [
2828
"Programming Language :: Python :: 3.11",
2929
"Programming Language :: Python :: 3.12",
3030
"Programming Language :: Python :: 3.13",
31+
"Programming Language :: Python :: 3.14",
3132
]
3233
dependencies = [
3334
"numpy",

0 commit comments

Comments
 (0)