-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Backports for 1.12.0-rc3 #59624
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
Backports for 1.12.0-rc3 #59624
Conversation
Can #59627 be pulled into 1.12-rc3? |
My thinking would be to hold off for now, to let us get 1.12.0 out the door first, and then plan to put #59627 into 1.12.1. Just in the interest of getting 1.12.0 out. But I'll let's see what @KristofferC says |
Only reason to do this in a haste would be to have nogpl binaries starting 1.12.0. Otherwise we can have them from 1.12.1. |
#59627 only affects the build if So maybe #59627 would be safe to pull into 1.12.0. It certainly will be a lot more convenient to just have all binaries starting with 1.12 have the nogpl variant available - kind of annoying if we have to specify that for 1.12 it only starts at 1.12.1. |
Correct. It doesn’t affect anything on the default path. |
Then I think I should be safe to add to rc3, unless @KristofferC disagrees. |
In 6d78a4a we introduced an inference barrier to the various AnnotatedX/StyledStrings methods whose implementations are frustratingly split between Base and a Stdlib, to ease the pain of invalidations. As has recently been pointed out in the re-opened #57997, this missed a `printstyled` method. We address that here, together with a tweak to the StyledStrings library. Reported-by: Neven Sajko <[email protected]> (cherry picked from commit 406d37b)
LinearAlgebra.jl also needs a bump. I still don't know how to do this right. Basically we need to pull in the latest release-1.12 from LinearAlgebra.jl: JuliaLang/LinearAlgebra.jl#1429 This could also go into 1.12.1 if we don't have the bandwidth for it now. |
) Currently we support removing GPL dependencies in the full source build. This will also remove the GPL dependencies from the binary-dist target when built with JLLs. I almost feel like it would be simpler to have a new SuiteSparse_NOGPL_jll package. Then in the default build, things stay as they are. In the no gpl build use the new JLL. In the no GPL build, if someone then tries to use a GPL SuiteSparse library, a warning can be printed asking them to get a different build of Julia. @DilumAluthge @andreasnoack @giordano Thoughts? Co-authored-by: Viral B. Shah <[email protected]> (cherry picked from commit 441ebf9)
Bumped LinearAlgebra and added the gpl PR. |
Ah, Kristoffer beat me to it on the LinearAlgebra bump. @ViralBShah For future bumps, instructions for making the bump are here: https://julialang.github.io/BumpStdlibs.jl/dev/usage/ For "Target branch", you'd put For "Comma-separated list of stdlibs", you'd put |
Adding notes as I go through this code in detail. Co-authored-by: Jameson Nash <[email protected]> (cherry picked from commit f2cc6b0)
(cherry picked from commit 61fdcea)
9d96029
to
644f40e
Compare
There seems to be no reason to always load this unconditionally - especially since it's in the critical startup path. If we never print colored output or our IO is not a TTY, we don't need to load this at all. While we're at it, remove the `term_type` argument to `ttyhascolor`, which didn't work as advertised anyway, since it still looked at the current_terminfo. If clients want to do a full TermInfo check, they can do that explicitly. (Written by Claude Code) (cherry picked from commit 72e2c45)
@tecosaur, some problem with the backport of the StyledStrings bump:
|
This occurs due to the change in Base commit 72e2c45 , and the corresponding change in StyledStrings commit JuliaLang/StyledStrings.jl@1aafc2f. The consequence is that the latest StyledString commit is only compatible with Julia 1.13+. |
Maybe #58854 should just be backported instead, actually. |
Backported PRs:
Core._apply_iterate
call conversion in #59548 #59601ml_matches
(NFC) #58304@allocated
again #59278Need manual backport:
macroexpand!
function and addlegacyscope
kwarg #59276:
to makereshape
trimmable #59598Contains multiple commits, manual intervention needed:
CoreLogging
: prevent someAnnotated*
-related instability #59467Non-merged PRs with backport label:
CodeInfo
created forOpaqueClosure(::IRCode)
#59631maxthreadid
fromThreads
#57490