Skip to content

UnicodePlots: Retroactively set Unitful compat on versions 2.9 – 3.8.0#150490

Open
jmert wants to merge 1 commit intoJuliaRegistries:masterfrom
jmert:UnicodePlots_retrocompat_Unitful
Open

UnicodePlots: Retroactively set Unitful compat on versions 2.9 – 3.8.0#150490
jmert wants to merge 1 commit intoJuliaRegistries:masterfrom
jmert:UnicodePlots_retrocompat_Unitful

Conversation

@jmert
Copy link
Contributor

@jmert jmert commented Mar 14, 2026

As mentioned in JuliaPlots/UnicodePlots.jl#430, when Unitful support was added, the implementation accidentally depended on functionality that assumed Unitful v1.6+. (JuliaPlots/UnicodePlots.jl#431 adjusts the implementation to restore compatibility with earlier versions of Unitful.)

In order to support resolving valid/functional environments (e.g with the julia-downgrade-compat action) across all versions of UnicodePlots, we can retroactively correct the compat range to reflect the true package requirements.

@t-bltg

As mentioned in JuliaPlots/UnicodePlots.jl#430, when Unitful support
was added, the implementation accidentally depended on functionality
that assumed Unitful v1.6+. (JuliaPlots/UnicodePlots.jl#431 adjusts the
implementation to restore compatibility with earlier versions of
Unitful.)

In order to support resolving valid/functional environments (e.g with the
[julia-downgrade-compat][] action) across all versions of UnicodePlots,
we can retroactively correct the compat range to reflect the true
package requirements.

[julia-downgrade-compat]: https://github.com/julia-actions/julia-downgrade-compat
@t-bltg
Copy link
Contributor

t-bltg commented Mar 14, 2026

I'm in favor of this PR, but I have no idea if this is the correct approach or not.

Maybe @giordano can review / comment ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants