Skip to content
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

release 3.1.1 #3611

Merged
merged 3 commits into from
Dec 8, 2020
Merged

release 3.1.1 #3611

merged 3 commits into from
Dec 8, 2020

Conversation

jameslamb
Copy link
Collaborator

@jameslamb jameslamb commented Nov 29, 2020

PR for release 3.1.1. This is a bugfix release, so feature or breaking PRs like #3405, #3515, and #3581 should not be merged into it.

I created this on a LightGBM branch so any maintainer can push to it.

Release checklist:

The PRs added to the checklist below are based on #3586 (comment)

@jameslamb
Copy link
Collaborator Author

I just updated this branch with the changes from #3592. Will run the Solaris and valgrind checks on the R package right now.

@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for lightgbm 3.1.0.99.
# Generated by GNU Autoconf 2.69 for lightgbm 3.1.1.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/gha run r-valgrind

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will probably take 40-60 minutes: https://github.com/microsoft/LightGBM/actions/runs/402978050

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll use this comment thread for all R-related issues so this PR doesn't pick up too many comments and we can resolve it all at once.

good news: tests are passing on Solaris and on Windows 32-bit!
bad news: there is a NOTE from R CMD CHECK that I think was introduced by the work for #3390

  • checking R code for possible problems ... NOTE
    partial argument match of 'data' to 'dataset'
    lgb.cv : : warning in getinfo(data = data, name =
    "init_score"): partial argument match of 'data' to 'dataset'
    lgb.cv : : warning in getinfo(data = data, name = "weight"):

I'll open a separate PR to fix this and to make sure we catch it in CI. Should be quick.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see this NOTE in recent builds in CI: https://github.com/microsoft/LightGBM/runs/1502651682

it wasn't caught because the "CRAN incoming note" is no longer thrown now that the package is on CRAN.

https://github.com/microsoft/LightGBM/runs/1502651682

Copy link
Collaborator Author

@jameslamb jameslamb Dec 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

valgrind looks happy! This is the same output we had for 3.1.0 which was accepted by CRAN.

==2062== Memcheck, a memory error detector
==2062== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==2062== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==2062== Command: /usr/local/RDvalgrind/lib/R/bin/exec/R --no-readline --vanilla -f testthat.R
==2062== 
Loading required package: R6
==2062== Conditional jump or move depends on uninitialised value(s)
==2062==    at 0x49CF138: gregexpr_Regexc (grep.c:2439)
==2062==    by 0x49D1F13: do_regexpr (grep.c:3100)
==2062==    by 0x49A0058: bcEval (eval.c:7121)
==2062==    by 0x498B67F: Rf_eval (eval.c:727)
==2062==    by 0x498E414: R_execClosure (eval.c:1895)
==2062==    by 0x498E0C7: Rf_applyClosure (eval.c:1821)
==2062==    by 0x499FC8C: bcEval (eval.c:7089)
==2062==    by 0x498B67F: Rf_eval (eval.c:727)
==2062==    by 0x498B1CB: forcePromise (eval.c:555)
==2062==    by 0x49963AB: FORCE_PROMISE (eval.c:5142)
==2062==    by 0x4996566: getvar (eval.c:5183)
==2062==    by 0x499D1A5: bcEval (eval.c:6873)
==2062==  Uninitialised value was created by a stack allocation
==2062==    at 0x49CEC37: gregexpr_Regexc (grep.c:2369)
==2062== 
==2062== 
==2062== HEAP SUMMARY:
==2062==     in use at exit: 321,320,729 bytes in 55,930 blocks
==2062==   total heap usage: 2,659,604 allocs, 2,603,674 frees, 6,003,459,320 bytes allocated
==2062== 
==2062== 336 bytes in 1 blocks are possibly lost in loss record 152 of 2,701
==2062==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==2062==    by 0x40149CA: allocate_dtv (dl-tls.c:286)
==2062==    by 0x40149CA: _dl_allocate_tls (dl-tls.c:532)
==2062==    by 0x5702322: allocate_stack (allocatestack.c:622)
==2062==    by 0x5702322: pthread_create@@GLIBC_2.2.5 (pthread_create.c:660)
==2062==    by 0x56D0DDA: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
==2062==    by 0x56C88E0: GOMP_parallel (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
==2062==    by 0x1543D7C4: LGBM_DatasetCreateFromCSC (c_api.cpp:1286)
==2062==    by 0x1546BEAB: LGBM_DatasetCreateFromCSC_R (lightgbm_R.cpp:91)
==2062==    by 0x4941E2F: R_doDotCall (dotcode.c:634)
==2062==    by 0x494CCC6: do_dotcall (dotcode.c:1281)
==2062==    by 0x499FB01: bcEval (eval.c:7078)
==2062==    by 0x498B67F: Rf_eval (eval.c:727)
==2062==    by 0x498E414: R_execClosure (eval.c:1895)
==2062== 
==2062== LEAK SUMMARY:
==2062==    definitely lost: 0 bytes in 0 blocks
==2062==    indirectly lost: 0 bytes in 0 blocks
==2062==      possibly lost: 336 bytes in 1 blocks
==2062==    still reachable: 321,320,393 bytes in 55,929 blocks
==2062==                       of which reachable via heuristic:
==2062==                         newarray           : 4,264 bytes in 1 blocks
==2062==         suppressed: 0 bytes in 0 blocks
==2062== Reachable blocks (those to which a pointer was found) are not shown.
==2062== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==2062== 
==2062== For lists of detected and suppressed errors, rerun with: -s
==2062== ERROR SUMMARY: 7 errors from 2 contexts (suppressed: 0 from 0)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guolinke @StrikerRUS I think this release is ready! All the PRs we wanted to get in have been merged, and the extra CRAN checks for the R package are passing.

Should I submit to CRAN?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/gha build r-artifacts

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

produced this artifact: https://github.com/microsoft/LightGBM/suites/1623533888/artifacts/29854422

I'll wait to submit until @guolinke says it's ok

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just submitted to CRAN!

@guolinke
Copy link
Collaborator

guolinke commented Dec 8, 2020

Thank you! I will draft the new release

@jameslamb
Copy link
Collaborator Author

Thank you! I will draft the new release

ok great, I'll submit to CRAN shortly! They'll send you an email with a link to click. It should go a lot faster this time.

@guolinke guolinke merged commit 218446a into master Dec 8, 2020
@StrikerRUS StrikerRUS deleted the 3.1.1-release branch December 8, 2020 11:00
@guolinke
Copy link
Collaborator

image

Do anyone know why v3.1.2 is auto released?

@jameslamb
Copy link
Collaborator Author

@guolinke can you check LightGBM slack? I made a mistake tonight, and explained it there.

@StrikerRUS
Copy link
Collaborator

@guolinke I removed 3.1.2 release and tag. Should be good now (it is a Draft that is seen only by maintainers again now).

image

@jameslamb I've noticed that release drafter re-visites all PRs when triggered by a new commit in master. So there is no problem if you forgot to label PR. Just add a label later after a merge and release drafter will pick it (and categorise in appropriate changes group) after any next PR will be merged.

@jameslamb
Copy link
Collaborator Author

got it, thank you. Sorry again 😬

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[R-package] R CMD CHECK note 'partial argument match'
3 participants