-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: release v4.6.0 #6796
base: master
Are you sure you want to change the base?
WIP: release v4.6.0 #6796
Conversation
/gha run r-configure |
I think it's time to start another release! We need to at least release the R package by February 14th, to stay on CRAN (#6791). But even without that, it's been about 6 months since v4.5.0 and a lot of good changes have piled up. I've listed the PRs / issues that I think we should try to get into the release. Please comment if there are others you want to try to get in. @guolinke @shiyu1994 @StrikerRUS @jmoralez @borchero @btrotta |
This failed with the following:
@shiyu1994 can you please fix that in the repo settings? I can update |
Did this. Here's the first build: https://readthedocs.org/projects/lightgbm/builds/26974345/ |
I guess we need to replace old |
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 addedpyarrow
andcffi
are installed #6785/gha run r-valgrind
(docs link)after 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.