Skip to content
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

Package not building #8

Open
AnderGray opened this issue Oct 17, 2023 · 0 comments
Open

Package not building #8

AnderGray opened this issue Oct 17, 2023 · 0 comments

Comments

@AnderGray
Copy link
Owner

AnderGray commented Oct 17, 2023

In case you're not aware, I tried building MomentArithmetic on 1.10 and got this:

julia> using MomentArithmetic
Precompiling MomentArithmetic
        Info Given MomentArithmetic was explicitly requested, output will be shown live
WARNING: could not import ProbabilityBoundsAnalysis.plot into MomentArithmetic
WARNING: Method definition (::Type{MomentArithmetic.Moments})() in module MomentArithmetic at /home/tim/.julia/packages/MomentArithmetic/x2Mva/src/Moments.jl:43 overwritten at /home/tim/.julia/packages/MomentArithmetic/x2Mva/src/Moments.jl:52.
ERROR: LoadError: Method overwriting is not permitted during Module precompile.
Stacktrace:
 [1] top-level scope
   @ ~/.julia/packages/MomentArithmetic/x2Mva/src/Moments.jl:52
...

1.10 is pickier about turning things that may have been warnings on previous releases into errors, because it was found that in some cases unfixed warnings were the source of serious, very difficult-to-track-down bugs. (In other cases they are fairly harmless, and this may be such a case.)

Originally posted by @timholy in JuliaIntervals/IntervalArithmetic.jl#585 (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

No branches or pull requests

1 participant