Skip to content

[CI] Fix Julia version to v1.12.2 in all jobs#286

Merged
giordano merged 1 commit intomainfrom
mg/fix-julia
Dec 15, 2025
Merged

[CI] Fix Julia version to v1.12.2 in all jobs#286
giordano merged 1 commit intomainfrom
mg/fix-julia

Conversation

@giordano
Copy link
Copy Markdown
Member

There seems to be an issue with Julia v1.12.3 causing all documentation jobs to fail with

ERROR: LoadError: AssertionError: normpath(entry.path) == normpath(path)
Stacktrace:
  [1] write_env(env::Pkg.Types.EnvCache; update_undo::Bool, skip_writing_project::Bool)
    @ Pkg.Types /opt/actions-runner/_work/_tool/julia/1.12.3/x64/share/julia/stdlib/v1.12/Pkg/src/Types.jl:1292
  [2] write_env
    @ /opt/actions-runner/_work/_tool/julia/1.12.3/x64/share/julia/stdlib/v1.12/Pkg/src/Types.jl:1283 [inlined]
  [3] up(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}, level::UpgradeLevel; skip_writing_project::Bool, preserve::Nothing)
    @ Pkg.Operations /opt/actions-runner/_work/_tool/julia/1.12.3/x64/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:1986
  [4] up
    @ /opt/actions-runner/_work/_tool/julia/1.12.3/x64/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:1957 [inlined]
  [5] up(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; level::UpgradeLevel, mode::PackageMode, preserve::Nothing, update_registry::Bool, skip_writing_project::Bool, kwargs::@Kwargs{})
    @ Pkg.API /opt/actions-runner/_work/_tool/julia/1.12.3/x64/share/julia/stdlib/v1.12/Pkg/src/API.jl:416
  [6] up
    @ /opt/actions-runner/_work/_tool/julia/1.12.3/x64/share/julia/stdlib/v1.12/Pkg/src/API.jl:386 [inlined]
  [7] up
    @ /opt/actions-runner/_work/_tool/julia/1.12.3/x64/share/julia/stdlib/v1.12/Pkg/src/API.jl:174 [inlined]
  [8] instantiate(ctx::Pkg.Types.Context; manifest::Nothing, update_registry::Bool, verbose::Bool, platform::Base.BinaryPlatforms.Platform, allow_build::Bool, allow_autoprecomp::Bool, workspace::Bool, julia_version_strict::Bool, kwargs::@Kwargs{})
    @ Pkg.API /opt/actions-runner/_work/_tool/julia/1.12.3/x64/share/julia/stdlib/v1.12/Pkg/src/API.jl:1270
  [9] instantiate
    @ /opt/actions-runner/_work/_tool/julia/1.12.3/x64/share/julia/stdlib/v1.12/Pkg/src/API.jl:1243 [inlined]
 [10] instantiate(; kwargs::@Kwargs{})
    @ Pkg.API /opt/actions-runner/_work/_tool/julia/1.12.3/x64/share/julia/stdlib/v1.12/Pkg/src/API.jl:1242
 [11] top-level scope
    @ /opt/actions-runner/_work/_temp/20f2febf-3f15-4533-a6d6-d0b85a76b882:2
 [12] include(mod::Module, _path::String)
    @ Base ./Base.jl:306
 [13] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:317
 [14] _start()
    @ Base ./client.jl:550

Fixing to v1.12.2 fixes that. I'd suggest merging this somewhat urgently

@giordano giordano requested review from glwagner and navidcy December 15, 2025 22:43
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@giordano
Copy link
Copy Markdown
Member Author

This is necessary only for the documentation job (apparently workspaces + sources is broken in julia v1.12.3), but I'm suggesting using 1.12.2 everywhere for consistency.

@giordano giordano merged commit bd084d8 into main Dec 15, 2025
11 checks passed
@navidcy
Copy link
Copy Markdown
Member

navidcy commented Dec 15, 2025

Is this why Docs don't built in #285?

@giordano giordano deleted the mg/fix-julia branch December 15, 2025 23:22
@giordano
Copy link
Copy Markdown
Member Author

Quoting from the first message:

There seems to be an issue with Julia v1.12.3 causing all documentation jobs to fail with

🙂

@navidcy
Copy link
Copy Markdown
Member

navidcy commented Dec 15, 2025

I missed that 🤦🏽‍♂️
And I was going crazy why locally things seemed to work (with Julia v1.12.2)

Thanks!

@giordano
Copy link
Copy Markdown
Member Author

For the record, this will be fixed upstream by JuliaLang/Pkg.jl#4568 but we'll have to wait for v1.12.4.

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.

2 participants