Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release checklist:
Copied from #6538 with a few changes.
deadline
February 14, 2024 (ref: #6791)
before merge
configure
file of R-package:/gha run r-configure
.development.mode
fromunreleased
torelease
in pkgdown config file.python-package/pyproject.toml
versionadded::
annotations (docs on those)config.h
have*New in version {version}*
comments added/gha run r-valgrind
(docs link)Items to be addressed before merging:
pyarrow
andcffi
are installed #6785after merge
v*
tag to triggerGitHubRelease
action at Azure Pipelines.stable
tag at GitHub.code to update tags (click me)
stable
version docs on readthedocs (see [ci] Fix version matching between RTD pages and R-package pages #6673 (comment))release/v{n}.{n}.{n}
from RTD versionsafter the release is created by Azure DevOps job
release-drafter
to the automatically-created GitHub release, convert it fromDraft
to published.arm64
macOS wheel to the releasecode to publish to PyPI (summary)
(
gh
is the GitHub CLI, see https://cli.github.com/manual/gh_release_download)Then confirmed that installing the latest wheel works.
pip install -i https://test.pypi.org/simple/ "lightgbm==${NEW_VERSION}" python ./examples/python-guide/logistic_regression.py
Then pushed them to real PyPI.
twine upload \ ./artifacts/*
conda-forge
recipecode to open that dev version PR (click me)
Notes for Reviewers
I believe this should be
v4.6.0
instead ofv4.5.1
because of some small breaking changes:scikit-learn>=0.24.2
, make scikit-learn estimators compatible withscikit-learn>=1.6.0dev
#6651FetchContent_Populate
withFetchContent_MakeAvailable
#6550See https://github.com/microsoft/LightGBM/releases.