Skip to content

[R][Docs] pkgdown site docs report version 14.0.1 #38689

Closed

Description

@thisisnic

Describe the bug, including details regarding any error messages, version, and platform.

https://arrow.apache.org/docs/r/ shows version 14.0.1 but should say 14.0.0

Component(s)

R

Activity

  1. self-assigned this
    on Nov 22, 2023
  2. amoeba commented on Nov 30, 2023

    @amoeba
    Member

    Hey @thisisnic, I can take a look at this today.

  3. amoeba commented on Nov 30, 2023

    @amoeba
    Member

    I had to dig to figure what our process is for publishing release docs and it looks like the bump to 14.0.1 was done ba53748#diff-71852d5b939936af45e8e9b501688fd48fff455de44fed8130896dd5ea8b89d5.

    @raulcd do you automate bumping versions or do it manually once you cut release branches? Either way, what's the process for bumping the version back down to 14.0.0 for R?

  4. amoeba commented on Dec 21, 2023

    @amoeba
    Member

    I made an attempt at fixing this in apache/arrow-site#445 which I think is how it's done.

  5. kou commented on Dec 22, 2023

    @kou
    Member

    We're bumping the version in our dev/release/01-prepare.sh script that is used in our release process https://arrow.apache.org/docs/developers/release.html#create-the-release-candidate-branch-from-the-updated-maintenance-branch :

    update_versions "${version}" "${next_version}" "release"

    sed -i.bak -E -e \
    "s/^Version: .+/Version: ${r_version}/" \
    DESCRIPTION
    rm -f DESCRIPTION.bak
    git add DESCRIPTION

    BTW, do we have a plan to release 14.0.2 R arrow package? It seems that there are some R fixes in 14.0.2: https://arrow.apache.org/release/14.0.2.html#changelog

  6. amoeba commented on Dec 22, 2023

    @amoeba
    Member

    Thanks @kou, I don't think there's any plan to release a 14.0.2 (there wasn't a 14.0.1 either). There was a 14.0.0 and a 14.0.0.1. The 14.0.2 changes are in 14.0.0.2 AFAIK. I think the R package really needs to be able to determine its own version and it would be nice if that was built into the release automation.

  7. kou commented on Dec 22, 2023

    @kou
    Member

    Hmm. Why does the R package use 14.0.0.2 instead of 14.0.2? I feel that 14.0.2 is a natural version if 14.0.0.2 includes the 14.0.2 changes.
    Is there any versioning rule? We want to automate detecting the correct version like the current release script does.

  8. amoeba commented on Dec 22, 2023

    @amoeba
    Member

    There's one reason I can remember and one I can't, others will have to chime in like @thisisnic and @assignUser.

    The R package needs to be able version control the often numerous re-submissions the team makes to CRAN as part of their submission review process so bumping patch version on each re-submission would mean the R package could get ahead of Arrow itself. So bumping the revision instead of patch number is a way to avoid this.

    Now I'm not sure why we don't bump the patch version if an Arrow patch release happens during the CRAN re-submission phase like is the case right now. I wonder if our 14.0.0.X re-submissions are all based off the maint-14.0.0 branch and whether cherry-picking things from the Arrow patch release branches or not. I think there was a thread on Zulip but I can't find it. Maybe documenting this would be helpful.

  9. assignUser commented on Dec 22, 2023

    @assignUser
    Member

    We are going to release a 14.0.2 version which will include all changes previously released as 14.0.0.2 + some additional fixxes like #38869 but during the vote a new cran warning we have to fix poped up and we are currently waiting on #39250 to be merged to do that. If not for this issue we would have already submitted the 14.0.2 version of the package as part of the post release tasks.

    @amoeba's explanation of the 4th version component is correct otherwise :)

  10. assignUser commented on Dec 23, 2023

    @assignUser
    Member

    CRAN submissions are closed for the holidays and will reopen on the 8th. Submission is prepared and will happen as soon as they are back.

  11. amoeba commented on Mar 10, 2024

    @amoeba
    Member

    I'm closing this as it was fixed through other means.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions