-
Notifications
You must be signed in to change notification settings - Fork 91
Description
Version v1.10.3 inadvertently introduced a bug by calling IOBuffer on an AnnotatedString. This breaks multiple downstream packages including SymbolicRegression.jl and PySR, causing them to fail with errors like:
ERROR: MethodError: no method matching IOBuffer(::Base.AnnotatedString{String})
Closest candidates are:
IOBuffer(!Matched::SubString{String})
@ Base strings/io.jl:309
IOBuffer(!Matched::String)
@ Base strings/io.jl:308
IOBuffer(; read, write, append, truncate, maxsize, sizehint)
@ Base iobuffer.jl:119Introduced in #341 (cc @MasonProtter), specifically this line:
ProgressMeter.jl/src/ProgressMeter.jl
Line 591 in 81362ec
| if countlines(IOBuffer(string_value)) > 1 |
Could you please revert or yank v1.10.3 ASAP, and issue a patch version without this breaking change? In any case, I don't think a patch version should have introduced this kind of major code change.
In the meantime I need to issue a bunch of patch releases for SR.jl to lock to the old versions as this breaks everything. But please let me know as soon as this is fixed so I can unlock the versions again.