Skip to content

Conversation

@amoeba
Copy link
Member

@amoeba amoeba commented Apr 6, 2025

Caution

Do not merge this PR.

This PR is being used to prepare for the CRAN submission for 19.0.1.1.

See packaging checklist: #45950

nealrichardson and others added 4 commits April 6, 2025 16:52
### Rationale for this change


[CRAN](wch/r-source@fb5500b)

Fixes #45850

### What changes are included in this PR?

Attempt to delete static libraries we build or download during the R
package build.

### Are these changes tested?

CI should pass once again

### Are there any user-facing changes?

No

* GitHub Issue: #45850
### Rationale for this change

Suggestion from @gaborcsardi to be more discreet about #45870.

### What changes are included in this PR?

`@`

### Are these changes tested?

CI should pass

### Are there any user-facing changes?

🤐
This gets rid of `OBJECT`, `DATAPTR` has been replaced with `INTEGER()`, `REAL()`, etc. though strings are more complicated. I will fully admit that this C++ is stretching my comfort zone, so might include obviously wrong things!

CI is currently failing, but I'm not totally sure yet if that means the code changes here are wrong or if maybe these allow us to have slightly different assumptions about materialization (see #45951 (comment))

I've also requested reviews broadly for folks I know have been around this code before, I appreciate any effort that y'all can spare 🙏 

* GitHub Issue: #45949

Lead-authored-by: Jonathan Keane <jkeane@gmail.com>
Co-authored-by: Dewey Dunnington <dewey@dunnington.ca>
Signed-off-by: Jonathan Keane <jkeane@gmail.com>
…ndencies (#45997)

### Rationale for this change
Enable building with CMake 4.0 and bundled dependencies that still set `cmake_minimum_required(VERSION 3.5)` or less.

### What changes are included in this PR?
Set https://cmake.org/cmake/help/latest/variable/CMAKE_POLICY_VERSION_MINIMUM.html
### Are these changes tested?
CI
### Are there any user-facing changes?
No
* GitHub Issue: #45987

Authored-by: Jacob Wujciak-Jens <jacob@wujciak.de>
Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
@github-actions

This comment was marked as off-topic.

@amoeba
Copy link
Member Author

amoeba commented Apr 7, 2025

@github-actions crossbow submit --group r

@amoeba
Copy link
Member Author

amoeba commented Apr 7, 2025

GHA CI is auto-failing due to,

Error: This request has been automatically failed because it uses a deprecated version of actions/cache: 13aacd865c20de90d75de3b17ebe84f7a17d57d2. Please update your workflow to use v3/v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down

This looks like a false positive and maybe an issue with GitHub's detection script. I created a thread on Zulip.

@github-actions
Copy link

github-actions bot commented Apr 7, 2025

Revision: 709d70f

Submitted crossbow builds: ursacomputing/crossbow @ actions-2a97c2525b

Task Status
r-binary-packages GitHub Actions
r-recheck-most GitHub Actions
test-r-arrow-backwards-compatibility GitHub Actions
test-r-clang-sanitizer GitHub Actions
test-r-depsource-bundled Azure
test-r-depsource-system GitHub Actions
test-r-dev-duckdb GitHub Actions
test-r-devdocs GitHub Actions
test-r-extra-packages GitHub Actions
test-r-gcc-11 GitHub Actions
test-r-gcc-12 GitHub Actions
test-r-install-local GitHub Actions
test-r-install-local-minsizerel GitHub Actions
test-r-linux-as-cran GitHub Actions
test-r-linux-rchk GitHub Actions
test-r-linux-valgrind GitHub Actions
test-r-macos-as-cran GitHub Actions
test-r-minimal-build Azure
test-r-offline-maximal GitHub Actions
test-r-offline-minimal Azure
test-r-rhub-debian-gcc-devel-lto-latest Azure
test-r-rhub-debian-gcc-release-custom-ccache Azure
test-r-rhub-ubuntu-release-latest Azure
test-r-rocker-r-ver-latest Azure
test-r-rstudio-r-base-4.1-opensuse155 Azure
test-r-rstudio-r-base-4.2-focal Azure
test-r-ubuntu-22.04 GitHub Actions
test-r-versions GitHub Actions
test-ubuntu-r-sanitizer GitHub Actions

### Rationale for this change

Older versions of the `actions/cache` GitHub action are being deprecated as explained in actions/cache#1510.
Because of this, some CI jobs have started to fail: https://github.com/apache/arrow/actions/runs/13265539807/job/37034895918

### Are these changes tested?

Yes, by construction.

### Are there any user-facing changes?

No.
* GitHub Issue: #45499

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
@amoeba amoeba requested review from assignUser, kou and raulcd as code owners April 7, 2025 00:23
@amoeba
Copy link
Member Author

amoeba commented Apr 7, 2025

I misunderstood in #46036 (comment) and I guess v4.0.0 was also deprecated, so I instead cherry-picked #45500.

Comment on lines +22 to +25
## Minor improvements and fixes

- Updated internal code to comply with new CRAN requirements on non-API calls ([#45949](https://github.com/apache/arrow/issues/45949))
- Enable building the bundled third-party libraries under CMake 4.0 ([#45987](https://github.com/apache/arrow/issues/45987))
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for these! Good summary

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting review Awaiting review labels Apr 7, 2025
@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Apr 7, 2025
@amoeba amoeba closed this Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants