Skip to content

Conversation

KristofferC
Copy link
Member

This also applies to submodules where the package module is directly returned instead of doing a full environment lookup.

This allows e.g. packages that fail to precompile and load themselves to not load themselves circularly and more similarly matches the behavior of code being precompiled. It should also be better for performance since there is no need to start looking through environment files.

Should fix some PkgEval failures, for example:
https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/10f5d44_vs_aae2243/GeneralizedMonteCarlo.primary.log
or
https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/10f5d44_vs_aae2243/YaoBase.primary.log.

…so applies to submodules where the package module is directly returned instead of doing a full environment lookup.

This allows e.g. packages that fail to precompile and load themselves to not load themselves circularly and more similarly matches the behavior of code being precompiled. It should also be better for performance since there is no need to start looking through environment files.
@KristofferC KristofferC added packages Package management and loading backport 1.12 Change should be backported to release-1.12 labels Mar 11, 2025
@KristofferC
Copy link
Member Author

Sniped by #57727.

@KristofferC KristofferC removed the backport 1.12 Change should be backported to release-1.12 label Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages Package management and loading

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant