Skip to content

Fix Docker build: resolve Julia sys.so not found when embedding via pyjuliacall#901

Closed
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/github_actions/core-actions-640176b5ab
Closed

Fix Docker build: resolve Julia sys.so not found when embedding via pyjuliacall#901
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/github_actions/core-actions-640176b5ab

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 19, 2026

Copy link
Copy Markdown
Contributor

Root Cause

The Docker build was failing at the install_rms.sh step with:

ERROR: could not load library "/home/mambauser/.juliaup/bin/../lib/julia/sys.so"
/home/mambauser/.juliaup/bin/../lib/julia/sys.so: cannot open shared object file: No such file or directory

~/.juliaup/bin/julia is the juliaup launcher binary, not the actual Julia binary. When install_rms.sh sets PYTHON_JULIAPKG_EXE=$(which julia), pyjuliacall receives the launcher path and computes the Julia library paths relative to it. This produces ~/.juliaup/lib/julia/sys.so, which does not exist. The real Julia binary (and its sys.so) resides under ~/.juliaup/julia/<version>/.

Fix

In the Dockerfile, the RUN step that sources install_rms.sh now:

  1. Calls julia -e "print(Sys.BINDIR)" — running the actual Julia 1.10 via the juliaup launcher — to obtain the real Julia binary directory.
  2. Prepends that directory to PATH so that which julia inside install_rms.sh resolves to the actual Julia binary rather than the juliaup launcher.
  3. Uses single-quoted bash -c '...' instead of double-quoted so that the $(...) command substitution is evaluated inside the micromamba environment (not by the outer shell before micromamba run activates the environment).

With the actual Julia binary on PATH, pyjuliacall correctly computes sys.so as ~/.juliaup/julia/<version>/lib/julia/sys.so and Julia embeds successfully.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 19, 2026
Copilot AI changed the title Bump actions/checkout from 6 to 7 in the core-actions group Fix Docker build: resolve Julia sys.so not found when embedding via pyjuliacall Jun 21, 2026
Copilot AI requested a review from alongd June 21, 2026 04:59
dependabot Bot and others added 2 commits June 21, 2026 08:36
Bumps the core-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 6 to 7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: core-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
@alongd alongd force-pushed the dependabot/github_actions/core-actions-640176b5ab branch from 2da4527 to babd719 Compare June 21, 2026 05:37
@dependabot @github

dependabot Bot commented on behalf of github Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Looks like actions/checkout is updatable in another way, so this is no longer needed.

@dependabot dependabot Bot closed this Jun 26, 2026
@dependabot dependabot Bot deleted the dependabot/github_actions/core-actions-640176b5ab branch June 26, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant