Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-25 Thread Yadd
On 12/25/24 17:11, picca wrote: Hello, Now I can build the widgetsnbextension using the Debian nodejs way. (not that hard... :)) (end of the email) ... @Yadd It seems to me that the node-license-webpack-plugin dependency is missing in the jupyterlab package. Right ? If I add the dependenc

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-25 Thread picca
Hello, Now I can build the widgetsnbextension using the Debian nodejs way. (not that hard... :)) (end of the email) but I end up with strange error when building the jupyterlab_widgets extension. webpack 5.97.1 compiled with 4 warnings in 7742 ms Found debian/nodejs/python/jupyterlab_widget

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-25 Thread picca
Ok, now I just try to build the widgetsnbextension which are located here using your already packaged node jupyter widgets files comming from ipydatagrid). Let's start simple :) picca@page:~/debian/python-team/packages/ipywidgets$ ls -l python/widgetsnbextension/ total 48 -rw-rw-r-- 1 picca p

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-24 Thread Yadd
On 12/24/24 22:00, picca wrote: Is it possible to populate the debian/nodejs directory automatically from the package.json ? Hi, no but pkgjs-install-minimal automatically populates node_modules/ directory with simlinks. This replaces debian/nodejs/extlinks Best regards, -- Pkg-javascript

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-24 Thread picca
Is it possible to populate the debian/nodejs directory automatically from the package.json ? Cheers -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-24 Thread picca
Hello Xavier packaging things in Debian means use available dependencies. The "jlpm build" command launch yarn to download dependencies during build. Yes it works but this is not valid for a package build. I am well aware of this ;) I would check that the upstream could produce a working ipy

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-24 Thread Yadd
On 12/24/24 11:19, picca wrote: Hello, with the upstream build it works out of the box, this is a great news. Now I am switching to the Debian Javascript team way and I end up with this message during the build make[1]: Entering directory '/<>' dh_auto_build --buildsystem=nodejs /!\ examples

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-24 Thread picca
The package.json files contain a bunch of scripts but the nodejs sequence only knows about these files. --- # Order is important here, example: tsc must be launched before other my @knwonBuildFiles = ( [ 'Gruntfile.js' => ['grunt'] ], [ 'Gruntfile.coffee' => ['grunt'] ], #[ 'ts

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-24 Thread picca
Hello, with the upstream build it works out of the box, this is a great news. Now I am switching to the Debian Javascript team way and I end up with this message during the build make[1]: Entering directory '/<>' dh_auto_build --buildsystem=nodejs /!\ examples/embed-amd/package.json not found

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-23 Thread Jérémy Lal
Le lun. 23 déc. 2024 à 19:31, picca a écrit : > > man pkgjs-install-minimal > > man pkgjs-utils > > I am using for now pkgjs-install in order to obtain all the library but > it end up with this error > > I do not understand what to do in order to avoir this error... > > 7868 timing idealTree:fixD

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-23 Thread picca
man pkgjs-install-minimal man pkgjs-utils I am using for now pkgjs-install in order to obtain all the library but it end up with this error I do not understand what to do in order to avoir this error... 7868 timing idealTree:fixDepFlags Completed in 11ms 7869 timing idealTree Completed in 16

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-23 Thread Jérémy Lal
Le lun. 23 déc. 2024 à 19:13, Jérémy Lal a écrit : > > > Le lun. 23 déc. 2024 à 18:37, picca a écrit : > >> Le 2024-12-23 18:28, Jérémy Lal a écrit : >> > Le lun. 23 déc. 2024 à 17:33, picca a écrit : >> > >> >> Hello some progress since this morning >> >> >> >> using pkgjs-run build I get this

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-23 Thread Jérémy Lal
Le lun. 23 déc. 2024 à 18:37, picca a écrit : > Le 2024-12-23 18:28, Jérémy Lal a écrit : > > Le lun. 23 déc. 2024 à 17:33, picca a écrit : > > > >> Hello some progress since this morning > >> > >> using pkgjs-run build I get this error message > >> > >> Is it a bug in the node-postcss-cli packa

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-23 Thread Jérémy Lal
Le lun. 23 déc. 2024 à 17:33, picca a écrit : > Hello some progress since this morning > > using pkgjs-run build I get this error message > > Is it a bug in the node-postcss-cli package ? > No it isn't, it's > lessc css/nouislider.less css/nouislider.css && postcss --use > postcss-import *--use

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-23 Thread picca
Le 2024-12-23 18:28, Jérémy Lal a écrit : Le lun. 23 déc. 2024 à 17:33, picca a écrit : Hello some progress since this morning using pkgjs-run build I get this error message Is it a bug in the node-postcss-cli package ? No it isn't, it's> lessc css/nouislider.less css/nouislider.css && pos

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-23 Thread picca
There is no postcss-cssnext package in debian. ok -> something to add in Debian :)) without the cssnext, I have these errors now It is not clear to my what is going one. node-jquery is installed thanks for your help Fred. @jupyter-widgets/html-manager@1.0.13 build:src tsc --build src/

Re: [Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-23 Thread picca
Hello some progress since this morning using pkgjs-run build I get this error message Is it a bug in the node-postcss-cli package ? debian/rules override_dh_auto_build make[1]: Entering directory '/home/picca/debian/python-team/packages/ipywidgets' #dh_auto_build --buildsystem=nodejs pkgjs-r

[Pkg-javascript-devel] packaging and debuging of the javascript part of ipywidgets

2024-12-23 Thread picca
Hello, I am trying to understand why the ipywidgets are not usable in the jupyterlab environment. So, I am trying to rebuild the ipywidgets using the upstream build system, which use the jupyterlab-packaging module. This one seems in charge of the javascript compilation etc... So at some p