Package Details: python-plotly 5.21.0-1

Git Clone URL: https://aur.archlinux.org/python-plotly.git (read-only, click to copy)
Package Base: python-plotly
Description: An open-source, interactive graphing library
Upstream URL: https://github.com/plotly/plotly.py
Keywords: chart plot python
Licenses: MIT
Submitter: fclad
Maintainer: greyltc (bertptrs)
Last Packager: bertptrs
Votes: 39
Popularity: 1.02
First Submitted: 2015-12-07 14:53 (UTC)
Last Updated: 2024-04-17 20:17 (UTC)

Pinned Comments

bertptrs commented on 2022-09-15 16:29 (UTC) (edited on 2022-09-15 18:53 (UTC) by bertptrs)

Please don't abuse the out of date flag whenever the source checksums are incorrect. The unfortunate reality is that the upstream Github tarball changes every once in a while. I don't know why; the commit tagged doesn't change. It might be a bug in Github.

I'm working on an alternative packaging that removes the Github sources (and expensive webpack compilation) to work around the issue. In the meantime, the source checksums may be wrong sometimes. Sorry about that.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

chrislea commented on 2022-05-10 02:33 (UTC)

Here's a diff that will correct the PKGBUILD file:

diff --git a/PKGBUILD b/PKGBUILD
index 73bda3b..e37f883 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,7 +25,7 @@ npm)
 license=('MIT')
 arch=('any')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/plotly/plotly.py/archive/v${pkgver}.tar.gz")
-sha256sums=('cd69a4dda3ae934643b4b2c614d997b0a34f18432964f454107f2dd5eae5bf46')
+sha256sums=('00e8261f61a910ed561866210d7c6567045df80f7b2e3cf59617c20bad861d6e')

 build() {
   cd plotly.py-${pkgver}/packages/python/plotly

chrislea commented on 2022-05-10 02:24 (UTC)

The 5.8.0 package fails to build due to a hash mismatch. The sha56sum of the tarball in the PKGBUILD is:

cd69a4dda3ae934643b4b2c614d997b0a34f18432964f454107f2dd5eae5bf46

but the hash of the actual tarball is:

00e8261f61a910ed561866210d7c6567045df80f7b2e3cf59617c20bad861d6e

It builds with no problem on my laptop once the PKBUILD is updated with the correct hashsum.

carlosal1015 commented on 2022-04-06 16:50 (UTC) (edited on 2022-04-16 19:17 (UTC) by carlosal1015)

Thanks, I will try today later in other machine. Thank you, it is working with more resources.

bertptrs commented on 2022-04-06 16:42 (UTC)

This package does not need jupyterlab-plotly as makedepends. There are no missing dependencies.

@carlosal1015 your machine ran out of RAM while building the JS parts of plotly. Your logs also show this. Webpack is super memory-hungry and needs about 4GB of RAM to build this project. Nothing to be done about that.

@lmartinez-mirror: interesting find, thank you. I need to investigate that further but I wanted to get the updated package out the door first.

lmartinez-mirror commented on 2022-03-29 02:47 (UTC)

This package installs files under /usr/etc where I think you meant to put them under just /etc.

AchmadFathoni commented on 2022-03-28 09:00 (UTC)

I think this AUR needs jupyterlab-plotly as makedepends. Otherwise, we get error as carlosal1015

gps1539 commented on 2021-12-14 21:18 (UTC)

Many thanks for the reply. I tried a full clean reinstall and it now imports correctly.

moshiur_rahman commented on 2021-12-14 16:00 (UTC)

@gps1539 you should rebuild plotly. If you previously built plotly with python 3.9 then it's libraries will be in /usr/lib/python3.9 and python 3.10 will not use those libs.