Closed XLin0mu closed 1 day ago
(tagging @jkrumbiegel)
I assumed this function was relatively stable but seems they changed it in 1.11. Would need branching maybe, or giving the folder argument explicitly might work on older versions as well.
they changed it in 1.11
"They" being the Julia authors, since (again, I'm inferring) 1.11 is the of Julia (and its stdlib) you're referring to? I'm just trying to understand the situation and exposure here.
Yes, 1.11 is the upcoming version and this specific Pkg function must have changed signatures. Maybe I misjudged its API status and it was not intended to be used in a stable manner.
They changed it in
It seems only one tool used it Publicly on Julia package manager. This tool now adapt to it comparing version https://github.com/oscar-system/Oscar.jl/blob/27ec7aad12afa28e41adafd86f5fef5b86f74b38/src/Oscar.jl#L167-L173
From a github search it seems we are the only other project on Github https://github.com/search?q=Pkg.is_manifest_current+language:Julia+&type=code
Nice find. Yeah I'm not surprised no packages were using it as you usually don't have to do any package management in a package itself. But it will be easy enough to apply the same workaround as the one you linked.
It looks like they're close to shipping: https://github.com/JuliaLang/julia/milestone/46
Ideally, we'd be able to get a fix for this before November. From how you're responding, it seems that this should be no problem. Can you confirm that this is the case? Thanks!
I'll try to make a PR on Monday
Bug description
Codes at the file https://github.com/quarto-dev/quarto-cli/blob/main/src/resources/julia/ensure_environment.jl:
It lead to an error as follow:
Obviously.
And it'll be solved if modify that line as:
Everything works well till now after modifying.
Steps to reproduce
As above.
Expected behavior
Everyting works.
Actual behavior
Error. As above.
Your environment
VSCode@Windows10 julia: Version 1.11.0-beta2 Quarto: 1.5.53
Quarto check output