-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-40535: [Docs][R] Set RETICULATE_PYTHON_ENV in order to find pyarrow #40571
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
Conversation
|
@github-actions crossbow submit preview-docs |
|
|
|
Revision: 8352456 Submitted crossbow builds: ursacomputing/crossbow @ actions-50ffe92163
|
kou
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this!
(Sorry for not working on this today...)
ci/docker/linux-apt-docs.dockerfile
Outdated
| npm install -g yarn | ||
|
|
||
| # Expose ARROW_PYTHON_VENV from BASE | ||
| ENV ARROW_PYTHON_VENV /arrow-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that we don't need this. (It should be inherited from the base image automatically.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or how about defining RETICULATE_PYTHON_ENV here?
ENV RETICULATE_PYTHON_ENV=${ARROW_PYTHON_VENV}
ci/scripts/r_build.sh
Outdated
|
|
||
| if [ "${BUILD_DOCS_R}" == "ON" ]; then | ||
| if [ -n "${ARROW_PYTHON_VENV:-}" ]; then | ||
| RETICULATE_PYTHON_ENV=${ARROW_PYTHON_VENV} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| RETICULATE_PYTHON_ENV=${ARROW_PYTHON_VENV} | |
| export RETICULATE_PYTHON_ENV=${ARROW_PYTHON_VENV} |
|
Sorry, I thought this was working but is still not finding pyarrow: but I can see on my local logs: |
|
Can we try #40571 (comment) ? |
Yes, you can push to this branch! No problem about that |
|
@github-actions crossbow submit preview-docs |
|
Revision: 655388d Submitted crossbow builds: ursacomputing/crossbow @ actions-a255e1a39a
|
kou
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
|
After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit b448b33. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 31 possible false positives for unstable benchmarks that are known to sometimes produce them. |
Rationale for this change
With the changes in #40455 reticulate can't find pyarrow.
What changes are included in this PR?
Set
RETICULATE_PYTHON_ENVtoARROW_PYTHON_VENV.See https://rstudio.github.io/reticulate/articles/versions.html#order-of-discovery why we can use
RETICULATE_PYTHON_ENV.This also simplifies the current configurations:
apt-get.ARROW_PYTHON_VENVto install Sphinx and related packages.Are these changes tested?
Via archery.
Are there any user-facing changes?
No