Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 799812 - dev-python/widgetsnbextension-3.6.1 installs files into unexpected paths
Summary: dev-python/widgetsnbextension-3.6.1 installs files into unexpected paths
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-02 07:09 UTC by Agostino Sarubbo
Modified: 2022-08-19 19:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,62.60 KB, text/plain)
2021-07-02 07:09 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-07-02 07:09:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/widgetsnbextension-3.5.1-r1 installs files into unexpected paths.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-07-02 07:09:21 UTC
Created attachment 720867 [details]
build.log

build log and emerge --info
Comment 2 Andrey Grozin gentoo-dev 2021-12-30 13:04:14 UTC
It seems jupyter has the path /usr/etc/jupyter/... hardcoded somewhere. With the current Gentoo packages dev-python/ipyparallel, dev-python/jupyterlab, dev-python/jupyter-server-proxy, dev-python/nbclassic installed, the files ipyparallel.json, jupyterlab.json, jupyter-server-proxy-jupyterserverextension.json, nbclassic.json are in /etc/jupyter/jupyter_server_config.d/. I get

grozin@bilbo ~ $ jupyter server extension list
Config dir: /home/grozin/.jupyter

Config dir: /usr/etc/jupyter

Config dir: /usr/local/etc/jupyter

grozin@bilbo ~ $

If I symlink /usr/etc/jupyter/jupyter_server_config.d -> /etc/jupyter/jupyter_server_config.d, I get a more expected thing:

grozin@bilbo ~ $ jupyter server extension list
Config dir: /home/grozin/.jupyter

Config dir: /usr/etc/jupyter
    ipyparallel enabled
    - Validating ipyparallel...
      ipyparallel 8.1.0 OK
    jupyter_server_proxy enabled
    - Validating jupyter_server_proxy...
      jupyter_server_proxy  OK
    jupyterlab enabled
    - Validating jupyterlab...
      jupyterlab 3.2.5 OK
    nbclassic enabled
    - Validating nbclassic...
      nbclassic  OK

Config dir: /usr/local/etc/jupyter

grozin@bilbo ~ $
Comment 3 Agostino Sarubbo gentoo-dev 2022-03-16 13:30:24 UTC
ci has reproduced this issue with version 3.6.0 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2022-06-23 11:45:59 UTC
ci has reproduced this issue with version 3.6.1 - Updating summary.
Comment 5 Larry the Git Cow gentoo-dev 2022-08-19 19:13:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d8eff563811f1f99b9b5f424aacba910b7f4ac

commit d9d8eff563811f1f99b9b5f424aacba910b7f4ac
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2022-08-19 19:11:19 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2022-08-19 19:12:59 +0000

    dev-python/widgetsnbextension: add 4.0.2
    
    Closes: https://bugs.gentoo.org/799812
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-python/widgetsnbextension/Manifest             |  1 +
 .../widgetsnbextension-4.0.2.ebuild                | 31 ++++++++++++++++++++++
 2 files changed, 32 insertions(+)