Conda Installation Safety Error - Size does not match reported size

Open
#563 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
jupyter, python
Domain
tooling

Research direction

Start by reproducing the conda installation with the reported Python 3.11.9, ipympl 0.9.4, and Jupyter versions, then inspect etc/jupyter/labconfig/page_config.json and the package's reported metadata. Compare the reported and actual file sizes; done means the cause is documented or the package installs without the SafetyError.

Written by the indexing model from the issue text.

Description

Describe the issue

I get an error when I try to install ipympl using conda as part of a python 3.11 environment.

SafetyError: The package for ipympl located at C:\Users\andrew.mole\AppData\Local\miniforge3\pkgs\ipympl-0.9.4-pyhd8ed1ab_0
appears to be corrupted. The path 'etc/jupyter/labconfig/page_config.json'
has an incorrect size.
  reported size: 28 bytes
  actual size: 30 bytes

Versions

3.11.9 | packaged by conda-forge | (main, Apr 19 2024, 18:27:10) [MSC v.1938 64 bit (AMD64)]
ipympl version: 0.9.4
Selected Jupyter core packages...
IPython          : 8.26.0
ipykernel        : 6.29.5
ipywidgets       : 8.1.3
jupyter_client   : 8.6.2
jupyter_core     : 5.7.2
jupyter_server   : 2.14.2
jupyterlab       : 4.2.4
nbclient         : 0.10.0
nbconvert        : 7.16.4
nbformat         : 5.10.4
notebook         : 7.2.1
qtconsole        : 5.5.2
traitlets        : 5.14.3
Dominant language
Jupyter Notebook
Stars
1.7k
Forks
234
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from matplotlib/ipympl

All issues in matplotlib/ipympl

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.