python-bokeh package contains prebuilt javascript.

  • Open
  • quality assurance status badge
Details
2 participants
  • Diane Trout
  • Liliana Marie Prikler
Owner
unassigned
Submitted by
Diane Trout
Severity
normal
D
D
Diane Trout wrote on 26 Sep 2022 00:22
(address . bug-guix@gnu.org)
4b7be8ca35b9b9347ccad1f720752603d617f18a.camel@ghic.org
Hi,

I noticed that the guix packaging for bokeh just downloads the source
code from pypi. But that source unfortunately contains some prebuilt
javascript.

Mostly it's source readable but there's a few .min.js files as well.

And it wouldn't pass Debian's submission guidelines since the
javascript code is compiled from other projects. I'm not sure what your
policies are on prebuilt javascript.

From one of the guix install directories I found 519 .js files, of
which 18 were .min.js files.

/gnu/store/xwf87w9v7g7vphci39v34zgyxg8w31f5-python-bokeh-
2.4.3/lib/python3.9/site-packages/bokeh$ find . -name "*.js" | wc -l
519

/gnu/store/xwf87w9v7g7vphci39v34zgyxg8w31f5-python-bokeh-
2.4.3/lib/python3.9/site-packages/bokeh$ find . -name "*.min.js" | \
wc -l
18

Diane
L
L
Liliana Marie Prikler wrote on 27 Sep 2022 09:46
1e9f8e34c7c03e5049dade765ae149b2f967ebf5.camel@ist.tugraz.at
Am Sonntag, dem 25.09.2022 um 15:22 -0700 schrieb Diane Trout:
Toggle quote (1 lines)
> I'm not sure what your policies are on prebuilt javascript.
Our policy is currently pending a rewrite, but TL;DR: we consider both
bundled and prebuilt sources unwanted. Since bokeh's javascript is
actually typescript (which hasn't been bootstrapped yet), the proper
course of action would be to either remove it or remove bokeh (as well
as python-ikarus).

Cheers
D
D
Diane Trout wrote on 27 Sep 2022 19:08
8efda4c4af97b99b2a218a81e396e90f81897ba2.camel@ghic.org
I thought the Guix project was trying to be similarly strict as Debian
so wanted to let you know.



On Tue, 2022-09-27 at 09:46 +0200, Liliana Marie Prikler wrote:
Toggle quote (11 lines)
> Am Sonntag, dem 25.09.2022 um 15:22 -0700 schrieb Diane Trout:
> > I'm not sure what your policies are on prebuilt javascript.
> Our policy is currently pending a rewrite, but TL;DR: we consider
> both
> bundled and prebuilt sources unwanted.  Since bokeh's javascript is
> actually typescript (which hasn't been bootstrapped yet), the proper
> course of action would be to either remove it or remove bokeh (as
> well
> as python-ikarus).
>
> Cheers
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 58089@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 58089
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch