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.81
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 .. 9 Next › Last »

aeonblue commented on 2024-02-06 23:00 (UTC)

@lahwaacz Yep I know, but on occasion things work with Python but not Julia.

Anyway with this package if I run jupyter labextension list then jupyterlab-plotly shows up (albeit flagged as out of date). OTOH with the python-plotly package it does not.

So I looked at the PKGBUILDs and realised that this package creates the folder /usr/share/jupyter/labextensions/jupyterlab-plotly while python-plotly does not. And since jupyter labextension install is now deprecated, this package seems to be the most sensible way to install the JupyterLab extension on Arch without using another package manager like pip.

lahwaacz commented on 2024-02-05 12:57 (UTC)

@aeonblue But JupyterLab is a Python project, so you are in fact using Python, albeit at the backend side... Maybe you can comment on the upstream issue and provide the errors that you are getting?

aeonblue commented on 2024-02-05 11:38 (UTC)

@lahwaacz I suppose I should mention that I am using Julia in JupyterLab, not Python. But anyway the current version of python-plotly still does not work, I just get errors about WebIO not detected. I'll stick with this package for the time being.

lahwaacz commented on 2024-02-02 20:52 (UTC) (edited on 2024-02-02 20:57 (UTC) by lahwaacz)

This package does not provide the plotly Python module that python-plotly does. Both packages conflict with each other because of the /etc/jupyter/nbconfig/notebook.d/jupyterlab-plotly.json file which is provided by both (at least in the 5.18 version). This indicates that python-plotly should provide everything that this package does. However, note that Plotly upstream itself is not compatible with JupyterLab 4 yet:

aeonblue commented on 2024-01-16 07:58 (UTC)

Flagging as out of date (despite the existence of python-plotly) because this package works for me while python-plotly does not.

yochananmarqos commented on 2023-05-23 19:04 (UTC)

@rcolistete: Please familiarize yourself with the tools you're using:

man makepkg | less -p --nocheck

rcolistete commented on 2023-05-23 18:43 (UTC) (edited on 2023-05-23 19:11 (UTC) by rcolistete)

On Manjaro KDE 22.1.2, kernel 6.3.3-1-MANJARO, Python Python 3.10.10, gcc 12.2.1 20230201 :

python-plotly 5.14.1-2, when compiling, gives a "check" error : FAILED plotly/tests/test_core/test_errors/test_dict_path_errors.py::test_described_subscript_error_on_type_error

Workaround is disable line 60 of PKGBUILD (# pytest plotly/tests/test_core).

getzze commented on 2023-05-04 11:33 (UTC)

I created this patch for installing with python 3.11: https://gist.github.com/getzze/58894781cfec9238b43b82db9abf755c

The new PKGBUILD is here: https://gist.github.com/getzze/2b07685cefaea5cbdc6150eafd1e1e61

kbipinkumar commented on 2023-05-04 07:02 (UTC)

arch repos have updated python to version 3.11. plotly is failing to build against 3.11 in clean chroot with following errors

/usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
!!

        ********************************************************************************
        The license_file parameter is deprecated, use license_files instead.

        By 2023-Oct-30, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

        See https://setuptools.pypa.io/en/latest/https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
        ********************************************************************************

!!
  parsed = self.parsers.get(option_name, lambda x: x)(value)
/usr/lib/python3.11/site-packages/setuptools/dist.py:954: DistDeprecationWarning: use_2to3 is ignored.
  ep.load()(self, ep.name, value)
Skipping npm install as requested.
error in plotly setup command: use_2to3 is invalid.

specter119 commented on 2023-04-17 13:42 (UTC)

@Eothred it should be part of the python-plotly, previously the python install (which means the upstream repo plotly, but not the arch package) doesn't handle the jupyter extension part, if current it's handled, you can just ignore this package, and I will remove it later.

it will be needed only if you use plolty in the jupyterlab, and it should be kept the same version with python-plotly now it's outdated.