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

GH-44085: [CI][R] Update Ubuntu version for R force test #44087

Merged
merged 3 commits into from
Sep 16, 2024

Conversation

raulcd
Copy link
Member

@raulcd raulcd commented Sep 12, 2024

Rationale for this change

We want to update the Ubuntu version to run the R force tests in order to be able to test pyarrow once it drops Python 3.8.

What changes are included in this PR?

Bumping Ubuntu to 24.04 and use virtualenv in order to avoid installing requirements at the system python which fails on newer Ubuntu.

Are these changes tested?

Yes, on CI

Are there any user-facing changes?

No

Copy link

⚠️ GitHub issue #44085 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Sep 12, 2024
@raulcd raulcd marked this pull request as ready for review September 12, 2024 17:29
@raulcd
Copy link
Member Author

raulcd commented Sep 12, 2024

@jonkeane I did split this into it's own issue/PR so I could iterate and test without the rest of changes for dropping Python 3.8. I will rebase the other PR with those changes once merged.

Comment on lines +89 to +94
ENV ARROW_PYTHON_VENV /arrow-dev
COPY python/requirements-build.txt /arrow/python/
RUN python3 -m venv ${ARROW_PYTHON_VENV} && \
source ${ARROW_PYTHON_VENV}/bin/activate && \
pip install -U pip setuptools wheel && \
pip install -r arrow/python/requirements-build.txt
Copy link
Member

Choose a reason for hiding this comment

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

Am I reading this correctly that this ends up being effectively the same thing as 100-102 below, just into a venv?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, the system Python on Ubuntu 24.04 forces you to pip install into a virtual env. That's why it fails without this.

Copy link
Member

Choose a reason for hiding this comment

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

Ah, got it. Ok cool. If the tests pass (which they look like they do, this is good to go!)

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Sep 12, 2024
Copy link
Member

@jonkeane jonkeane left a comment

Choose a reason for hiding this comment

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

Thanks!

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting changes Awaiting changes labels Sep 13, 2024
@raulcd raulcd merged commit 1f964fc into apache:main Sep 16, 2024
58 checks passed
@raulcd raulcd removed the awaiting merge Awaiting merge label Sep 16, 2024
Copy link

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 1f964fc.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 14 possible false positives for unstable benchmarks that are known to sometimes produce them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants