Package Details: python-plotly 5.18.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: 36
Popularity: 0.52
First Submitted: 2015-12-07 14:53 (UTC)
Last Updated: 2023-10-27 06:32 (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

1 2 3 4 5 6 .. 8 Next › Last »

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.

a821 commented on 2023-03-22 09:50 (UTC)

I get this sha256sum: 8e66237994ed933ac019c98d603587951b323218c70d45b4bedb21eb8b37658d

carlosal1015 commented on 2023-02-21 19:00 (UTC)

It's because are mixing python modules system-wide with user pip /home/user/.local/lib/python3.10/site-packages.

revan commented on 2023-02-21 16:26 (UTC)

I am getting an error when I try to update the package from 5.11.0-1 to 5.13.0-1.

 ==> Starting check()...
Traceback (most recent call last):
  File "/usr/bin/pytest", line 8, in <module>
    sys.exit(console_main())
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 190, in console_main
    code = main()
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 148, in main
    config = _prepareconfig(args, plugins)
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 329, in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
  File "/usr/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall
    gen.send(outcome)
  File "/usr/lib/python3.10/site-packages/_pytest/helpconfig.py", line 103, in pytest_cmdline_parse
    config: Config = outcome.get_result()
  File "/usr/lib/python3.10/site-packages/pluggy/_result.py", line 60, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1058, in pytest_cmdline_parse
    self.parse(args)
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1346, in parse
    self._preparse(args, addopts=addopts)
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1229, in _preparse
    self.pluginmanager.load_setuptools_entrypoints("pytest11")
  File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 287, in load_setuptools_entrypoints
    plugin = ep.load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "/usr/lib/python3.10/site-packages/_pytest/assertion/rewrite.py", line 168, in exec_module
    exec(co, module.__dict__)
  File "/home/user/.local/lib/python3.10/site-packages/dash/__init__.py", line 5, in <module>
    from .dash import Dash, no_update  # noqa: F401,E402
  File "/usr/lib/python3.10/site-packages/_pytest/assertion/rewrite.py", line 168, in exec_module
    exec(co, module.__dict__)
  File "/home/user/.local/lib/python3.10/site-packages/dash/dash.py", line 18, in <module>
    from werkzeug.debug.tbtools import get_current_traceback
ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools'

Any ideas where the problem lies?

jrohwer commented on 2023-01-13 11:27 (UTC)

Getting same validation error and same checksum as @a821

a821 commented on 2023-01-13 10:19 (UTC)

I get this checksum: 33548f8abc3310acde8ba7d74a57a652ed278ef5c4a999a61ae9fb45cb1961e4

petronny commented on 2023-01-13 05:54 (UTC)

==> Validating source files with sha256sums...
    python-plotly-5.12.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

https://github.com/arch4edu/cactus/actions/runs/3907692749/jobs/6677170738