Skip to content

Conversation

amoeba
Copy link
Member

@amoeba amoeba commented Jul 28, 2025

Fixes #381. See for more context.

I didn't think you had to do this but the docs suggest maybe you do. Without this, we were getting,

── Failed tests ────────────────────────────────────────────────────────────────
Error ('test-python.R:39:1'): (code run outside of `test_that()`)
<python.builtin.ModuleNotFoundError/python.builtin.ImportError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition>
Error in `py_module_import(module, convert = convert)`: ModuleNotFoundError: No module named 'pyarrow'
Run `reticulate::py_last_error()` for details.
Backtrace:
    ▆
 1. └─reticulate::import("pyarrow") at test-python.R:39:1
 2.   └─reticulate:::py_module_import(module, convert = convert)

[ FAIL 1 | WARN 2 | SKIP 0 | PASS 85 ]
@amoeba amoeba force-pushed the fix-stable-cookbooks-reticulate-issue branch from 6ecef46 to 81dee54 Compare July 28, 2025 04:11
@amoeba amoeba changed the title WIP: Fixing stable cookbooks build [R]: Fix reticulate error in R cookbook test Jul 28, 2025
@amoeba amoeba requested a review from assignUser July 28, 2025 04:12
@amoeba
Copy link
Member Author

amoeba commented Jul 28, 2025

After we merge this I think we 02-update.sh.

@amoeba amoeba marked this pull request as ready for review July 28, 2025 04:14
@amoeba amoeba merged commit a7ba7b5 into apache:main Jul 28, 2025
1 check passed
@amoeba
Copy link
Member Author

amoeba commented Jul 28, 2025

@amoeba
Copy link
Member Author

amoeba commented Jul 28, 2025

This did not fix the issue. Re-opened #381.

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.

[R] Stable cookbook build failing on reticulate
1 participant