-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
Pkg reorders Project.toml with extensions in Julia 1.6 #3481
Comments
1.6 doesn't know about extensions. |
Of course, but the reordering itself causes CI failures when packages
which is an increasingly common combination Example: https://github.com/gdalle/ImplicitDifferentiation.jl/actions/runs/5001651819 |
You asked about the rationale for the behavior. And that is because 1.6 does not know about extensions? |
Ok that's fair :) Follow-ups then:
|
In order for it to be fixed in Julia there needs to be a new 1.6 release, it seems easier if possible to add a workaround in Aqua. Why it is different on 1.7 I don't know. |
Ok cool, thanks for the answers! I'll try to fix it in Aqua, and at least the topic is out there in case someone else wonders |
In general, is it expected that |
I think it is fixed so that it is only written to if the content changed. But that might be after 1.6. |
I have a package with extensions. When I update or resolve the environment, it seems that different things happen depending on the Julia version.
In Julia 1.6, Pkg reorders the sections of the Project.toml file like so
deps
compat
extensions
extras
targets
weakdeps
In Julia 1.7 through 1.9, Pkg reorders the sections of the Project.toml file like so:
deps
weakdeps
extensions
compat
extras
targets
This causes issues for automated quality checking with Aqua.jl (JuliaTesting/Aqua.jl#105). Is there a rationale behind this behavior?
The text was updated successfully, but these errors were encountered: