matplotlib / matplotlib/ipympl

Doesn't currently build on MyBinder

未关闭
#526 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Jupyter Notebook
星标
1.7k
派生
234
PR 合并指标
30 天内没有已合并 PR

描述

## Issue
**What is linked from launch badge in Readme doesn't currently build on MyBinder**

It seems it isn't properly seeing `package.json` for some reason..

## Steps to reproduce
Go to the main repo Readme page [here](https://github.com/matplotlib/ipympl#ipympl) and click the `launch binder` badge.

The end of a build example that fails is shown below (`...` on first line represents start of the log that is not shown):

```
...
Successfully installed ipympl-0.8.7 ipywidgets-7.7.5 jupyterlab-widgets-1.1.4 widgetsnbextension-3.6.4
Remote version of pip: 23.1.2
Local version of pip: 23.0.1
Was pip installed by pip? False
Removed build tracker: '/tmp/pip-build-tracker-zn9i3t0k'
/srv/conda/envs/notebook/lib/python3.10/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
Installing /home/jovyan/ipympl/labextension -> jupyter-matplotlib
Building extension in /home/jovyan/ipympl
An error occurred.
FileNotFoundError: [Errno 2] No such file or directory: '/home/jovyan/ipympl/package.json'
See the log file for details: /tmp/jupyterlab-debug-22xaku6u.log
Removing intermediate container 9dfca785e89e
The command '/bin/sh -c ./.binder/postBuild' returned a non-zero code: 1
```

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从仓库 README 中的 Launch Binder 徽章开始,检查失败日志中显示的 .binder/postBuild 命令。重现构建过程,并调查为什么在构建 JupyterLab 扩展时缺少 /home/jovyan/ipympl/package.json。当通过链接的徽章成功完成 Binder 构建时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
jupyter
领域
build-system, devops
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。