`using PyPlot` crashes package precompilation on Julia v1.10.0-beta1
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- build-system, tooling
调研方向
在 Julia 1.10.0-beta1 上,使用生成的 Test1 包、其 Test1.jl 入口点以及 using PyPlot 重现该问题。观察预编译挂起,以及在全新环境中是否发生任何意外的 matplotlib 安装。完成的标准是该包能够预编译并加载且不会挂起,同时保留报告中的 PyPlot 设置。
由索引模型根据 Issue 内容生成。
描述
[This is also cross-posted on PyPlot https://github.com/JuliaPy/PyPlot.jl/issues/572 - if it is not useful here pls close it]
Consider the following package:
(@v1.10) pkg> generate Test1
Generating project Test1:
Test1\Project.toml
Test1\src\Test1.jl
Where PyPlot has been added via Pkg.add to dependencies and Test1.jl contains
module Test1
using PyPlot
end
In that case using Test1 (after Pkg.activate) goes into an endless loop (I pressed Ctrl+C at some point):
julia> using Test1
Precompiling Test1
Progress [> ] 0/1
◑ Test1 Waiting for background task / IO / timer. Interrupt to inspect
Interrupted: Exiting precompilation...
1 dependency had warnings during precompilation:
┌ Test1 [ddca8587-cad1-46e2-86b4-b726afea1d60]
│ [pid 7156] waiting for IO to finish:
│ TYPE[FD/PID] @UV_HANDLE_T->DATA
│ timer @00000228c312eca0->00000228bf815db0
└
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
- 主要语言
- Julia
- 星标
- 1.5k
- 派生
- 186
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JuliaPy/PyCall.jl 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
Meta-Issue: Mutli-threading leads to segfaults可能已有人在做 @topolarity 于 212 天前认领。 未关闭
难度 5/5 一周以上 新手友好度 20/100
-
Crashes with Julia 1.12 and Revise.jl可能已有人在做 @topolarity 于 212 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 45/100
查看 JuliaPy/PyCall.jl 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
oxfordcontrol/COSMO.jl#211 ·
-
documentation
难度 2/5 半天 新手友好度 65/100
维护者通常 6 天内回复
-
Out-of-place JLArray/GPU problem with VectorContinuousCallback scalar-indexes (callback cache built with CPU zeros)可能已有人在做 @ChrisRackauckas-Claude 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
SciML/OrdinaryDiffEq.jl#4813 ·
维护者通常 1 天内回复
-
ARKODE: callbacks that modify `u` throw MethodError on reinit可能已有人在做 @devmotion 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 79/100
SciML/Sundials.jl#575 ·
-
难度 1/5 1 小时以内 新手友好度 78/100
维护者通常 1 天内回复