matplotlib / matplotlib/ipympl

NPM Relase action broken

Open
#458 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
1.7k
Forks
234
PR merge metrics
No merged PRs in 30d

Description

There seem to be two issues:

1. `jupyterlab` is not installed for the npm section

```
$ jupyter labextension build --development True .
/bin/sh: 1: jupyter: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
```

2. Some sort of issue with NPM keys

```
npm notice
npm ERR! code ENEEDAUTH
npm ERR! need auth This command requires you to be logged in to https://registry.npmjs.org/
npm ERR! need auth You need to authorize this machine using `npm adduser`

npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2022-04-13T18_03_18_823Z-debug-0.log
Error: Process completed with exit code 1.
```

1 is an easy fix, we just need to `pip install jupyterlab`

2. I think will require intervention from @tacaswell or someone else with the power mess around with repo secrets

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the npm section of the release action and its installation steps, then inspect the npm authentication configuration and repository secrets. Done means the action can find jupyterlab during the npm build and publish without the ENEEDAUTH failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
ci-cd, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.