Skip to content

Fix compilecache being called with too-permissive extension rights#4652

Open
topolarity wants to merge 1 commit intorelease-1.10from
ct/fix-ext-rights
Open

Fix compilecache being called with too-permissive extension rights#4652
topolarity wants to merge 1 commit intorelease-1.10from
ct/fix-ext-rights

Conversation

@topolarity
Copy link
Copy Markdown
Member

@topolarity topolarity commented Apr 3, 2026

This fixes our handling of ext → ext dependencies on 1.10, resolving EnzymeAD/Reactant.jl#2764.

Why did our 1.10 tests not catch this?

Unfortunately I made two serious mistakes in the backport of #4619 (and related Julia PR's):

  1. I did not notice this call to compilecache on the Pkg.jl side
  2. Tests were included in [backports-release-1.10] Allow ext → ext dependency if triggers are a strict superset (#56368) julia#60997 specifically to catch this, but the Base.disable_parallel_precompile = true / false mechanism does not exist on 1.10. Julia does not complain about creating the new global in Base, so the missing parallel coverage is silent. The tests landed match 1.11+, but they end up only testing the (serial) Base._require pathway.

It is required to pass `loadable_exts` to the sub-process now that we
allow ext → ext edges (and ban circularities) on 1.10.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant