Repository navigation
Keep R from loading the system libpython in the tutorial notebooks - #1185
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1185 +/- ##
=======================================
Coverage 74.01% 74.01%
=======================================
Files 56 56
Lines 8875 8875
=======================================
Hits 6569 6569
Misses 2306 2306 🚀 New features to boost your workflow:
|
On ubuntu-latest, now Ubuntu 26.04, R's etc/ldpaths prepends /usr/lib/x86_64-linux-gnu to LD_LIBRARY_PATH when rpy2 starts R. That directory has Ubuntu's own libpython3.14, which then wins over the setup-python binary's RUNPATH in every child process, so joblib's loky workers start without the hostedtoolcache site-packages and fail with 'No module named joblib'. This broke the PyDESeq2 cells in the milo and differential gene expression notebooks, which run after EdgeR has started R. Presetting R_LD_LIBRARY_PATH to R's own lib directory keeps the system directory out; the loader searches it by default anyway.
Zethson
force-pushed
the
fix-tutorials-ubuntu-26
branch
from
October 23, 2026 10:24
36880fa to
ae9f636
Compare
Zethson
marked this pull request as ready for review
October 23, 2026 10:24
Zethson
added a commit
that referenced
this pull request
Nov 3, 2026
Adds the changelog for 1.5.0 and bumps the release drafter templates. The version itself comes from the git tag via hatch-vcs. The v1.5.0 section gains the guide assignment rework (#1172, #1173), the Mixscape min_cells fix (#1189), the Python 3.13 requirement and the CI and template PRs (#1165, #1184, #1185, #1190), and its two Maintenance blocks are merged in the 1.4.0 section order.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On Ubuntu 26.04, which is now ubuntu-latest, R prepends the system library directory to LD_LIBRARY_PATH, so joblib's worker processes load Ubuntu's libpython3.14 instead of setup-python's and cannot import joblib. Presetting R_LD_LIBRARY_PATH to R's own lib directory fixes the milo and differential gene expression notebooks.