Package Details: python-bokeh 3.4.0-1

Git Clone URL: https://aur.archlinux.org/python-bokeh.git (read-only, click to copy)
Package Base: python-bokeh
Description: Interactive Web Plotting for Python
Upstream URL: http://bokeh.pydata.org/
Licenses: BSD
Submitter: xantares
Maintainer: gondsman (notEvil)
Last Packager: notEvil
Votes: 27
Popularity: 0.57
First Submitted: 2015-04-16 12:51 (UTC)
Last Updated: 2024-03-15 06:38 (UTC)

Sources (1)

Latest Comments

1 2 3 Next › Last »

newsboost commented on 2023-01-07 12:33 (UTC)

@notEvil: I'm on another pc now and the update to 3.0.3-1 when smooth. Also the diff from 2023-01-03 14:56 (UTC), seemed to be a working work-around until the package was updated properly.

It sounded like you had great experience with this "version 0.0.0"-stuff so I trust that things work smoothly now. If not, it might take 1-2 weeks before I notice any problems on my work-pc, where I depend on python-bokeh for some graph/plotting-scripts... But thanks, I think everything is fine from now and assume that everything is fine from now, thanks!

notEvil commented on 2023-01-06 19:29 (UTC)

I've updated the list of dependencies to align with https://github.com/bokeh/bokeh/blob/e5717422637ebfbd1885c07238e5768c4b52155f/pyproject.toml#L11. Please let me know if something is missing.

@newsboost if your build still fails, post the error message you get and I'll look into it

newsboost commented on 2023-01-03 14:56 (UTC) (edited on 2023-01-03 15:15 (UTC) by newsboost)

@gondsman: Ok, good you're not dead. I really depend on this package, so I came up with a work-around/solution - please give feedback, if it's not good enough. It wasn't enough for me to do what @notEvil wrote so I took inspiration in my own package (I'm maintainer of https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-stego-lsb) and although I don't fully understand it all, this seem to work (diff against PKGBUILD, pkgver=3.0.2, pkgrel=1):

< pkgver=3.0.2
---
> pkgver=3.0.3
12,13c12,13
< source=("https://pypi.io/packages/source/b/bokeh/bokeh-${pkgver}.tar.gz")
< sha256sums=('fb537cf24f5a25a6739393f9906ddf8c913bfebc4cb120d342e8262889326f7d')
---
> source=("https://files.pythonhosted.org/packages/e6/42/c5a47809557331cf15bc69c1aeff81480f6a5aaf320d101d67511413ae92/bokeh-${pkgver}-py3-none-any.whl")
> sha256sums=('d30e4f6220efc824c5da0dcb58138abed0e6a2d524c942409c8ca1098031e374')
16,25d15
< build() {
< #  cp -r "${srcdir}"/bokeh-$pkgver "${srcdir}"/bokeh-$pkgver-py2
<
<   cd "${srcdir}"/bokeh-$pkgver
<   python setup.py build
<
< #  cd "${srcdir}"/bokeh-$pkgver-py2
< #  python2 setup.py build
< }
<
48,50c38,40
<   cd "${srcdir}"/bokeh-$pkgver
<   python setup.py install --root="${pkgdir}" --optimize=1
< }
\ No newline at end of file
---
>   #python -m installer "--destdir=${pkgdir}" ./dist/*.whl
>   PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps --no-warn-script-location *.whl
> }

There are many lines with "depends=(..) and optdepends=(..)" - I'm not really sure if those lines are needed anylonger, actually I think they can be deleted... Anyway, please correct this diff and let me know, if I made mistakes.

gondsman commented on 2023-01-03 14:08 (UTC)

I'm not dead, I swear, just managing being a new father!

I'll be back at my PC this weekend. If someone wants to take on maintaining the package (@notevil) I'm also fine with it.

Thanks for the understanding!

newsboost commented on 2023-01-03 13:43 (UTC) (edited on 2023-01-03 14:05 (UTC) by newsboost)

@gondsman: Please upgrade package to bokeh 3.0.3, which is latest according to https://pypi.org/project/bokeh/ - this has been flagged out-of-date for weeks and now I cannot run my existing code anylonger ("import bokeh.plotting" results in exception: "KeyError: '0.0.0'") - or please orphan the package, so another maintainer can take over and update. As @notEvil wrote around a month ago, the python package version seems to be 0.0.0, which is written to ./server/static/js/bokeh-mathjax.js and ./server/static/js/bokeh-mathjax.esm.js and this seem to cause exceptions when I import bokeh. If anyone knows a workaround I'm very eager to hear that, thanks!

newsboost commented on 2022-12-14 09:57 (UTC)

Thanks @notEvil, it works and you're truly not evil (but I still hope the package will be updated soon, so I don't have to do it manually)!

gondsman commented on 2022-12-07 21:06 (UTC)

@notEvil: thanks for the heads up.

Sorry I've had very little time lately (good news, fortunately), I'll update the package as soon as I can get to a PC.

john_schaf commented on 2022-12-07 20:56 (UTC)

@notEvil: thanks! this indeed allows it work (otherwise it doesn't)

notEvil commented on 2022-12-05 23:24 (UTC) (edited on 2022-12-05 23:25 (UTC) by notEvil)

Since v3 bokeh requires the new build system (python-build and python-installer). For instance, the python package version currently is 0.0.0 with actual consequences (exceptions).

-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer')

-  python setup.py build
+  python -m build --wheel

-  python setup.py install --root="${pkgdir}" --optimize=1
+  python -m installer "--destdir=${pkgdir}" ./dist/*.whl

gondsman commented on 2019-11-25 12:53 (UTC) (edited on 2019-11-25 12:55 (UTC) by gondsman)

Updated to Bokeh 1.4.0, which is the last one supporting python2. I've forked the previous version and created a python2-bokeh package in case anyone needs it (I personally don't, but I assume it will require minimum maintenance).