PrettyTables.jl breaks on non-breaking release

Christopher_Fisher
Fri, 01 Dec 2023 11:58:34 +0000
General Usage

Hello,

I use PrettyTables.jl to print the contents of a struct to the REPL. Sometime between 2.0 and 2.3.1 it stopped working. Here is an example showing it works with 2.0:

Code

using SequentialSamplingModels
dist = WaldMixture(;ν=2.0, η=1.0, α=.5, τ=.130)

Output

julia> dist
WaldMixture
┌───────────┬───────┐
│ Parameter │ Value │
├───────────┼───────┤
│ ν         │  2.00 │
│ η         │  1.00 │
│ α         │  0.50 │
│ τ         │  0.13 │
└───────────┴───────┘

Versions

(pretty_table_error) pkg> st
Status `~/.julia/dev/sandbox/pretty_table_error/Project.toml`
⌃ [08abe8d2] PrettyTables v2.0.0
  [0e71a2a6] SequentialSamplingModels v0.8.5
Info Packages marked with ⌃ have new versions available and may be upgradable.

Now if I upgrade to 2.3.1, the same example stops working:

Versions

(pretty_table_error) pkg> st
Status `~/.julia/dev/sandbox/pretty_table_error/Project.toml`
  [08abe8d2] PrettyTables v2.3.1
  [0e71a2a6] SequentialSamplingModels v0.8.5

Error
Summary (click for more details)
Does anyone know what is causing the error and how to fix it? In addition, should the version reflect the breaking behavior?

8 posts - 3 participants