Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Formatting.jl is being deprecated #453

Closed
mattiasvillani opened this issue Mar 16, 2024 · 2 comments
Closed

Formatting.jl is being deprecated #453

mattiasvillani opened this issue Mar 16, 2024 · 2 comments

Comments

@mattiasvillani
Copy link

I get the message below in Julia 1.10.1. MCMCChains.jl is the responsible package since:

pkg> why Formatting
MCMCChains → Formatting

Formatting
│ ┌ Warning: DEPRECATION NOTICE
│ │
│ │ Formatting.jl has been unmaintained for a while, with some serious
│ │ correctness bugs compromising the original purpose of the package. As a result,
│ │ it has been deprecated - consider using an alternative, such as
│ │ Format.jl (https://github.com/JuliaString/Format.jl) or the Printf stdlib directly.
│ │
│ │ If you are not using Formatting.jl as a direct dependency, please consider
│ │ opening an issue on any packages you are using that do use it as a dependency.
│ │ From Julia 1.9 onwards, you can query ]why Formatting to figure out which
│ │ package originally brings it in as a dependency.
│ └ @ Formatting ~/.julia/packages/Formatting/3VxOt/src/Formatting.jl:12

@mattiasvillani mattiasvillani changed the title Formatting.jl is being depracated Formatting.jl is being deprecated Mar 16, 2024
@devmotion
Copy link
Member

I assume you're not using the latest version of MCMCChains (6.0.6) since that one does not depend on Formatting anymore (#451). Can you check whether updating MCMCChains fixes the issue?

@mattiasvillani
Copy link
Author

Yes, you are correct, another package was holding me back at MCMCChains v5.7.1. When installing 6.0.6 in a fresh environment, I do not get the Deprecation notice. Thanks for the rapid response!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants