-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[R] CRAN packaging checklist for version 17.0.0 #43317
Comments
@assignUser Did you use |
Yes :) |
I added the NEWS.md entry from #43189 to the release blog post PR. |
@jonkeane mac builder: https://mac.r-project.org/macbuilder/results/1721447405-da61deb72185bfbc/ |
Thanks for sending those, Jacob. Here's the winbuilder output: https://win-builder.r-project.org/SrOKYg8yT1lm/ https://win-builder.r-project.org/SrOKYg8yT1lm/00check.log The only thing in there that looks worrying is
Which I suspect is from https://github.com/apache/arrow/pull/41576/files and can be dealt with by adding |
I brought in the changes from Edit: I need to tweak recheck a bit to run so the linked jobs failed right away. I'll update them once recheck is running. |
Sorry! I thought I fixed those but I guess I added more. LMK if you need me to make a PR. |
No problem, I've got one at #43348 I'll merge that if CI shows it gets rid of the note (and there are no other bad consequences) then cherrypick that back to the maintenance branch. This isn't a here-and-now problem, but boy do I wish we could say "these notes we don't care about but all the others we do" for things like this 🤦 |
@amoeba am I reading these logs from recheck correctly that with new arrow
|
Hey @jonkeane, I think that's the right interpretation. |
Ah, that is a regression on us: #43349 I need to step away for a bit, in case someone wants to investigate what's up there. I don't think much has changed with our altrep code, but this could be from our non-api avoidance changes (or possibly the change we made to avoid executing functions while reading data). |
Ok, I've merged the fix for the altrep thing that was hitting parquetize. @amoeba would you mind triggering the revdep checks again? |
I just got a note about errors from lz4 on CRAN's devel debian runners.
We will need to fix this as will in our 17 submission (and get it in within two weeks too). We are linking against the shared, system lz4 which is fine in this case because CRAN does not distribute these binaries. But one possibility is to force non-shared lz4 and it'll grab source + build. |
We can work around that, sure, but if that's failing, then it sounds like there's something off in our cmake routine in this case, and that should get addressed. For example, I see the message from this line in the logs: https://github.com/apache/arrow/blob/main/cpp/cmake_modules/ThirdpartyToolchain.cmake#L352 But I don't see either of the messages that should follow, about whether lz4 was found or not. |
For example, I see the message from this line in the logs: https://github.com/apache/arrow/blob/main/cpp/cmake_modules/ThirdpartyToolchain.cmake#L352 But I don't see either of the messages that should follow, about whether lz4 was found or not. When you say you don't see either of the messages that follow are you talking about
Using ... is emitted at line 354 (so we do get there!)
|
@kou might have some ideas + help here too (sorry I should have tagged you on that original comment) |
Ah my bad, you are right. |
#43468 will solve the problem. I'll complete it soon. |
Ah thanks @kou! I was just exploring the lz4 that comes with debian:testing you are right: |
Thank you (again) @kou ! |
Revdepchecks are running at https://github.com/amoeba/arrow/actions. It looks like one already failed but I don't have enough signal to check right now (will tomorrow). |
FYI, I got another email from CRAN preponing the deadline to ~today since CRAN shuts down for two weeks tomorrow 😬 |
Ugh, nevermind, I was looking at the wrong thing! HMMM I see the same issue for parquetize now that I'm looking at the right thing. Is it possible you haven't pulled the latest updates from https://github.com/apache/arrow/tree/maint-17.0.0-r ? As for the tidyquery failure, maybe @ianmcook could help figure out what's up with that??
|
I've also tried to replicate the CRAN devel image locally (I'll push a PR up with that for CI after this fire drill). After Kou's change, we get past LZ4. But then it seems to fail with the following. This isn't related directly to the LZ4 change I don't think, and as far as I could tell on github that abseil code hasn't changed in years. This could be a false positive, since I don't have an exact replica of the CRAN runner, but wonder if anyone has any ideas about what this might be.
|
#36969 looks similar to your above output, maybe this is the same cause? |
@assignUser Do you know if we will need to re-generate the Apache-hosted binaries to include #43468 and #43157 and use those in this CRAN release? Or are we ok without those in the binaries since those are both build tools only? |
Looks like tidyquery is still an issue (I'm surprised we didn't catch this the first time we ran through those!) I'm seeing a bunch of errors like this one. Which I suspect are coming from Line 204 in 7e50097
|
You could wait to see if Uwe waves it through, or you could reply and explain that these are ifdef'd for backwards compatibility only. The in-case-of-emergency hack would be to sed out these references from the .cpp files in the What's surprising to me is that, at least by the internal function names In fact, I do see these symbols showing up locally, on new enough R, for example:
|
Of course CRAN is closed starting tomorrow (and it's already tomorrow CEST), so this is probably not something we can solve until they're back. |
Hmmmm, yeah something strange is going on here. It's possible that the |
Ah yes, I think it is, indeed, coming from cpp11's We still need #43504 but will still have an issue on that for automatic checks until cpp11 fixes + releases their fix. |
We may need to vendor (and possibly patch) cpp11 for this release then. |
Ok, I've cherry-picked the latest fix onto this branch (#43735). I'll resubmit later this evening — in case anyone has any objections + suggestions for other things. |
I have resubmitted 17.0.0.1 |
Aaaand we have been accepted 🎉 Do we already have a draft social media post? |
I haven't seen a draft yet. @thisisnic do you want to take this on again? |
I was taking this release "off" to focus on my other commitments, though would be happy to review it if someone else wanted to write something up? |
I can get it started later today, I'll drop a link in here for reviews when that's done. |
Draft social media content is here. I still need to generate some code images for the examples and tweak a bit of the language but please have a look to see if I missed any tweet-worthy highlights. I see binaries are almost all up on CRAN which is great. |
Language here looks great, thanks @amoeba! |
Thanks, this is really great! I'll also post it on linked in (though not as a series). I also took the liberty to add emoji in the places to make it engaging 😂 |
We are missing a checkbox to move the r-univerese tag, I'll move the tag forward in a bit |
Thanks @jonkeane and @thisisnic for taking a look at the social media doc. I accepted suggestions and added code screenshots to the Drive folder where appropriate, see https://drive.google.com/drive/folders/1DzGoZNHbiZXNca2oHWjpBtJrEti3W-zQ?usp=drive_link, so I think this is ready for me and @jonkeane to post when x86_64 binaries go live. |
It looks like the macOS x86_64 binary finally got built, see https://cran.r-project.org/web/packages/arrow/index.html. The binary for oldrel still isn't built but I don't think that should prevent any announcement about the release. Thoughts? |
Let's do it! Thanks @amoeba! |
Agreed, let's call it. The oldrelease is one that I've asked about before on mailing lists and they sometimes are super slow, but I've seen periods where they don't build for any packages for weeks and eventually sort themselves. I can RTFS, but does anyone know how / if we can update the docs website to show the 17.0.0.1 number? |
I scheduled tweets/toots to go out tomorrow morning. Re: The website showing version 17.0.0... I think we might want to find a better workflow but for now I created apache/arrow-site#542 to do the update. My steps are described there. Edit: Threads up at https://x.com/brycem/status/1836040825752490139 and https://elk.zone/toot.cafe/@amoeba/113153321269054346 |
I've also made an article on linkedin not sure if that's the right level of linked in posting, but I'll keep an eye on if it gets engagement. Thanks for the help, everyone! I'm going to close this out. |
Thanks @jonkeane. Do we need to update the |
Yeah, if we don't have one already we should. Sorry I didn't look at that |
### Rationale for this change The referenced change was included in the 17.0.0.1 CRAN submission (#43317 (comment)) so we don't need to announce it here. As far as CRAN releases go, the performance regression was never released. ### What changes are included in this PR? rm ### Are these changes tested? 🙅 ### Are there any user-facing changes? Words
### Rationale for this change The referenced change was included in the 17.0.0.1 CRAN submission (#43317 (comment)) so we don't need to announce it here. As far as CRAN releases go, the performance regression was never released. ### What changes are included in this PR? rm ### Are these changes tested? 🙅 ### Are there any user-facing changes? Words
Describe the enhancement requested
Packaging checklist for CRAN release
For a high-level overview of the release process see the
Apache Arrow Release Management Guide.
cc @jonkeane @amoeba @nealrichardson @assignUser @paleolimbot for coordination on the various tasks to release
We will want to cherry pick:
dplyr::
toleft_join
calls #43348R_VERSION
#43504Before the release candidate is cut
[R] CRAN packaging checklist for version X.X.X
and copy this checklist to the issue.ARROW_VERSION_MAJOR
in r/src).urlchecker::url_check()
on the R directory at the release candidate.commit. Ignore any errors with badges as they will be removed in the CRAN release branch.
git log --oneline aa057d0..HEAD | grep "\[R\]"
archery docker run r-revdepcheck
.Wait for the release candidate to be cut:
After release candidate has been cut
Prepare and check the .tar.gz that will be released to CRAN.
git fetch upstream && git checkout release-X.X.X-rcXX && git clean -f -d
make build
. This copies Arrow C++ into tools/cpp, prunes someunnecessary components, and runs
R CMD build
to generate the source tarball.Because this will install the package, you will need to ensure that the version
of Arrow C++ available to the configure script is the same as the version
that is vendored into the R package (e.g., you may need to unset
ARROW_HOME
).devtools::check_built("arrow_X.X.X.tar.gz")
locallyarchery docker run r-revdepcheck
.Release vote
Generate R package to submit to CRAN
on that commit.
were needed to fix CRAN-related submission issues identified in the above
steps.
urlchecker::url_check()
on the R directoryWIP: [R] Verify CRAN release-10.0.1-rc0
. Adda comment
@github-actions crossbow submit --group r
to run all R crossbowjobs against the CRAN-specific release branch.
Rscript tools/update-checksums.R <libarrow version>
to download the checksums for the pre-compiled binaries from the ASF artifactory into the tools directory.make build
)Ensure linux binary packages are available:
https://apache.jfrog.io/ui/repos/tree/General/arrow/r
Check binary Arrow C++ distributions specific to the R package
and confirm (with Nic, who will automatically receive an email about the results) that the check is clean.
This step cannot be completed before Jeroen has put the binaries in the MinGW repository, i.e. here, here, and here.
and confirm that the check is clean
install.packages("arrow_X.X.X.tar.gz")
on Ubuntu and ensure that thehosted binaries are used
devtools::check_built("arrow_X.X.X.tar.gz")
locally one more time (for luck)CRAN submission
CRAN submit page
Wait for CRAN...
ci/scripts/PKGBUILD
,dev/tasks/homebrew-formulae/autobrew/apache-arrow.rb
,r/DESCRIPTION
, andr/NEWS.md
pkgdown::build_news()
and submit a PR to the asf-site branch of the docs site with the contents ofarrow/r/docs/news/index.html
replacing the current contents ofarrow-site/docs/r/news/index.html
r/pkgdown/assets/versions.json
, and update this on the theasf-site
branch of the docs site too.packaging process.
CRAN package page to reflect the
new version
Component(s)
R
Component(s)
R
The text was updated successfully, but these errors were encountered: