-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
avoid convenience code copies in notebooks #2651
Comments
Agreed but this is just how Bokeh works, we don't control it, it's a popular library and it happens to work in Beaker. Our license/credit page is available in the "About" window if you click through "Beaker is made possible by code from many great open source software projects." which brings up https://github.com/twosigma/beaker-notebook/blob/18ea55815b2054e9223c397ebdc556e706dc6889/core/src/main/web/credits.html Alternatively we could just remove this notebook from the documentation it is not critical, we could just host in on pub.beakernotebook.com. |
Quoting Scott Draves (2015-10-07 22:44:43)
If it is "just how Bokeh works" to violate its own licensing terms, then The license of Bokeh requires, as I understand it, that copyright, I believe you could satisfy the license of Bokeh by including verbatim That said, you need not remove the file to please packaging for Debian:
|
We don't redistribute Bokeh in general, in order to use it it has to be installed with pip or whatever python mechanism. But yes this file does include their js driver, bokeh.min.js. I am quite sure it is not their intent to make everyone who redistributes notebooks also display their license, but maybe it is technically required. Let me ask them. |
A few notes (I am the Bokeh project lead)
I have made an issue you can refer to to track these changes: bokeh/bokeh#2958 |
Thanks Bryan, I am satisfied Beaker doesn't need to change, but Jonas it's up to you how to handle that in your redistribution. |
Hi Bryan, Quoting Bryan Van de Ven (2015-10-08 02:45:34)
I agree there are benefits in embedding the code. Sounds nice that you make it configurable in the future, because there I can imagine it being preferable for Two Sigma to stick to your future I've created a separate issue on the Beaker ability to benefit from that
Uhm, that seems incorrect, actually: As an example, your full source Also, minified code embedded in a Beaker notebook lacks verbatim I suggest Bokeh to include in src/vendor/font-awesome-4.2.0 LICENSE and NB! Authors of Font Awesome don't include the license themselves:
Makes sense, and fits (my interpretation of) OFL-1.1 requirements too. Issue here in Beaker is that copyright and license is missing. I suggest to include in Beaker credits page both copyright and license -
Sorry for not clarifying earlier: I am no lawyer either, merely a Debian
Thanks. Oddly enough Github links wrongly in its email representation,
|
Jonas, I was not as clear as I could have been. It is configurable now, we are merely changing the default behavior in the future. If you'd like to utilize CDN resources instead of inline resources that has been possible for ~2 years. Regarding the minified files it seems that the inclusion of license comments was unintentionally lost when we switched from grunt to gulp for our build. Grunt minify tools do include the comments by default, but gulp tools (unfortunately) do not include them by default. This was an oversight. This behavior has been explicitly re-enabled in bokeh/bokeh#2958 and the license comments will be present in all future dev builds and full releases. We will strive to patch or update existing files to the extent of our ability, as we are able. |
Quoting Bryan Van de Ven (2015-10-08 13:58:36)
Cool! Both points :-)
|
Thanks for raising these issues, BTW. Our intention is to be compliant with strict interpretations of license obligations. But development is a frenzy, and unintended consequences sometimes happen (as seen), so it is good that you brought this to our attention. |
bokeh.bkr embeds BokehJs, complete with base64-encoded FontAwesome font.
As a miminum you should revive and include license grants for those projects - you seem to currently violate their licensing by not adequately credit sources and include licensing!
I urge you to avoid embedding full code projects like that in notebooks altogether: Even if technically possible to do, it is a an antipattern you shouldn't encourage your users to mimick.
The text was updated successfully, but these errors were encountered: