Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't reverse! load_path cache #50230

Merged
merged 1 commit into from
Jun 20, 2023
Merged

Don't reverse! load_path cache #50230

merged 1 commit into from
Jun 20, 2023

Conversation

Keno
Copy link
Member

@Keno Keno commented Jun 20, 2023

As noted in #50119 (comment).

@staticfloat staticfloat merged commit a8ef873 into master Jun 20, 2023
@staticfloat staticfloat deleted the kf/dontreversecache branch June 20, 2023 16:59
@benlorenz
Copy link
Contributor

Thanks for the quick fix, I think we were seeing the effects of this here: Nemocas/Nemo.jl#1497
During precompilation Pkg.project() sometimes stored the global project instead of the one where the package is active. I added proj = Pkg.status() to the global scope of Nemo and depending on how many packages are precompiled sometimes I got:

(jl_XcABI2) pkg> activate --temp
  Activating new project at `/tmp/jl_mTpSx2`

(jl_mTpSx2) pkg> add Nemo
... some precompilation ....

julia> using Nemo

julia> Nemo.proj
Pkg.API.ProjectInfo(nothing, nothing, nothing, false, Dict{String, Base.UUID}(), "/home/datastore/lorenz/software/julia/depot/environments/v1.10/Project.toml")

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.

4 participants