Closed pszufe closed 1 year ago
Probably the same as discussed on this issue: https://github.com/comonicon/Comonicon.jl/issues/249
i.e., this block: https://github.com/JuliaPy/PyPlot.jl/blob/343430ac4f822a84a5e19bf5dabf7a846b171c9b/src/init.jl#L171-L209 is opening I/O resources and not closing them, which is not allowed on 1.10
See https://github.com/JuliaPlots/PlotlyKaleido.jl/pull/6 for an example of a fix. I guess PyPlot.jl will have to do something similar
This was already fixed in #565, we just need a new release. (Last release was in March, before that PR was merged.)
Ah, that explains it :)
[this is also cross-post on PyCall https://github.com/JuliaPy/PyCall.jl/issues/1047]
Consider the following package:
Where
PyPlot
has been added viaPkg.add
to dependencies andTest1.jl
containsIn that case
using Test1
(afterPkg.activate
) goes into an endless loop (I pressed Ctrl+C at some point):When this is run on a fresh Julia installation it seemed that it additionally tries to install matplotlib via Conda (regardless of the fact that it is already present due to PyPlot being built earlier).
Tested on Julia 1.10 beta1, Windows11 as well Linux by myself and @giordano