Package Details: python-plotly 5.22.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: 0.83
First Submitted: 2015-12-07 14:53 (UTC)
Last Updated: 2024-05-01 15:39 (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 »

jorgicio commented on 2021-06-28 01:29 (UTC)

Hi. Once I tried to build it but it requires missing dependencies. Please, add npm and jupyterlab.

Thanks.

moshiur_rahman commented on 2021-06-27 22:42 (UTC)

It seems additional dependencies are needed for 5.0.0.

==> Starting build()...
running build
running build_py
running jsdeps
`npm` unavailable.  If you're running this command using sudo, make sure `npm` is available to sudo
rebuilding js and css failed
missing files: ['/home/moshiur/.cache/paru/clone/python-plotly/src/plotly.py-5.0.0/packages/python/plotly/jupyterlab_plotly/nbextension/index.js', '/home/moshiur/.cache/paru/clone/python-plotly/src/plotly.py-5.0.0/packages/python/plotly/jupyterlab_plotly/labextension/package.json']
Traceback (most recent call last):
  File "/home/moshiur/.cache/paru/clone/python-plotly/src/plotly.py-5.0.0/packages/python/plotly/setup.py", line 493, in <module>
    setup(
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.9/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/moshiur/.cache/paru/clone/python-plotly/src/plotly.py-5.0.0/packages/python/plotly/setup.py", line 102, in run
    raise e
  File "/home/moshiur/.cache/paru/clone/python-plotly/src/plotly.py-5.0.0/packages/python/plotly/setup.py", line 95, in run
    self.distribution.run_command("jsdeps")
  File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/moshiur/.cache/paru/clone/python-plotly/src/plotly.py-5.0.0/packages/python/plotly/setup.py", line 201, in run
    raise ValueError(msg)
ValueError: Missing file: /home/moshiur/.cache/paru/clone/python-plotly/src/plotly.py-5.0.0/packages/python/plotly/jupyterlab_plotly/nbextension/index.js
npm is required to build a development version of jupyterlab-plotly
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'python-plotly-5.0.0-1':
error: packages failed to buid: python-plotly-5.0.0-1

greyltc commented on 2020-08-02 09:27 (UTC)

I've seen the light on renaming the source tarball! Apparently some people like to archive all their source fetches in one folder. That means something like v4.9.0.tar.gz could conflict with some other package's tarball.

greyltc commented on 2020-05-29 15:14 (UTC) (edited on 2020-05-29 15:15 (UTC) by greyltc)

Hi @NicoHood, just noticed your comment here.
- I haven't noticed the need to explicitly rename the archives my PKGBUILDs download too often (only rarely when I'm downloading from some place that doesn't put the version number in the filename). GitHub seems to follow sane naming conventions, so maybe that's why. If github starts giving me tarballs without version numbers in their filenames, I'll start using the rename feature here.
- Yeah. I like to fetch the sources from github whenever I can. No real reason other than it being a domain I trust and an interface I'm familiar with. It even looks like maybe the development of this thing takes place there.
- I think the deps are correct. Happy to try to fix them if they're wrong.
- I didn't actively remove the contributor lines form the PKGBUILD. I chucked the entire thing and made a new one from scratch.
- Thanks for the reminder on the checksum. I'm happy to use sha512 if you'd like. Fixed.
Cheers!

NicoHood commented on 2020-03-24 17:53 (UTC)

@greyltc thanks for adopting this package. I had a quick look at the changes and found a few improvements that I want to suggest:

  • Please add a name of the downloaded archives, so you do not run into conflicts when downloading multiple sources: "${pkgname}-${pkgver}.tar.gz::<url>"
  • You changed the url to github, was there any reason for that? I do not really remember why we did not use github in first place.
  • The dependency python-pytz was removed and python-matplotlib was added. I am not up to date about the required dependencies, just to verify, did you check that those changes are correct?
  • You have removed the Contributor lines. Those are usually kept if questions arise, as well as credit/thanks to the contributor.
  • Please revert back to the more secure sha512sums, do not use md5.

Good job, well done!

greyltc commented on 2019-11-04 16:08 (UTC)

Why not just drop python2 support?

ymermoud commented on 2019-10-06 16:56 (UTC)

Same issue with conflicting files. Please make a separate packagae for python2-plotly. Thank you !

petko10 commented on 2019-09-19 23:11 (UTC)

There's still a problem with conflicting files, since the package tries to install both python-plotly and python2-plotly. I don't know if that's intended (since there's a separate package python2-plotly in AUR) but removing the code for python2-plotly from the PKGCONFIG fixes the installation for me.

NicoHood commented on 2019-08-07 19:40 (UTC)

Sorry for the delay! Please check if the package works properly.

Universebenzene commented on 2019-08-07 05:21 (UTC) (edited on 2019-08-07 07:03 (UTC) by Universebenzene)

Version 4.1.0 relased on Aug 7th. Do you have any problems in upgrading this package? I need some new features of the new version, please. Thank you.