Package Details: python-ipysheet 0.7.0-1

Git Clone URL: https://aur.archlinux.org/python-ipysheet.git (read-only, click to copy)
Package Base: python-ipysheet
Description: Spreadsheet in the jupyter notebook
Upstream URL: https://github.com/QuantStack/ipysheet
Licenses: MIT
Submitter: thrasibule
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 0
Popularity: 0.000000
First Submitted: 2020-08-19 15:36 (UTC)
Last Updated: 2024-02-23 19:07 (UTC)

Required by (0)

Sources (1)

Latest Comments

gabrielSoranzo commented on 2023-01-09 15:20 (UTC) (edited on 2023-01-09 15:25 (UTC) by gabrielSoranzo)

It seems there is some problem.

The following code:

import ipysheet

sheet = ipysheet.sheet()

sheet

it answers:


AttributeError Traceback (most recent call last) Cell In[1], line 1 ----> 1 import ipysheet 2 sheet = ipysheet.sheet() 3 sheet

File /usr/lib/python3.10/site-packages/ipysheet/init.py:6 3 from pathlib import Path 5 from ._version import version ----> 6 from .sheet import Cell, Range, Sheet, Renderer 7 from .easy import * 8 from .pandas_loader import from_dataframe, to_dataframe

File /usr/lib/python3.10/site-packages/ipysheet/sheet.py:14 9 from ._version import version 11 semver_range_frontend = "~" + version ---> 14 @widgets.register('ipysheet.Cell') 15 class Cell(widgets.Widget): 16 _model_name = Unicode('CellRangeModel').tag(sync=True) 17 _model_module = Unicode('ipysheet').tag(sync=True)

File /usr/lib/python3.10/site-packages/ipywidgets/widgets/widget.py:279, in register(widget) 277 def register(widget): 278 """A decorator registering a widget class in the widget registry.""" --> 279 w = widget.class_traits() 280 _registry.register(w['_model_module'].default_value, 281 w['_model_module_version'].default_value, 282 w['_model_name'].default_value, (...) 285 w['_view_name'].default_value, 286 widget) 287 return widget

AttributeError: 'str' object has no attribute 'class_traits'

System: Kernel: 6.1.1-1-MANJARO arch: x86_64 Distro: Manjaro Linux base: Arch Linux

Thanks for help!

BrainDamage commented on 2021-09-30 16:11 (UTC)

package lacks a build dep: python-jupyter_packaging

otherwise it'll fail to build in a clean chroot:

==> Starting package()...
Traceback (most recent call last):
    File "/var/lib/sysupdate/.cache/aurutils/pkgdest/build/python-ipysheet/src/ipysheet-0.5.0/setup.py", line 10, in <module>
    from jupyter_packaging import (
    ModuleNotFoundError: No module named 'jupyter_packaging'
 ==> ERROR: A failure occurred in package().