Package Details: python-traittypes 0.2.1-3

Git Clone URL: https://aur.archlinux.org/python-traittypes.git (read-only, click to copy)
Package Base: python-traittypes
Description: Traitlet types for NumPy, SciPy and friends.
Upstream URL: https://github.com/jupyter-widgets/traittypes
Licenses: BSD
Submitter: thrasibule
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 0
Popularity: 0.000000
First Submitted: 2017-07-14 22:11 (UTC)
Last Updated: 2023-04-20 18:24 (UTC)

Latest Comments

carlosal1015 commented on 2023-04-11 04:26 (UTC)

Hi, I have the following message error

==> Starting check()...
================================================================================ test session starts ================================================================================
platform linux -- Python 3.10.10, pytest-7.3.0, pluggy-1.0.0
rootdir: /tmp/makepkg/python-traittypes/src/traittypes
collected 3 items / 1 error                                                                                                                                                         

====================================================================================== ERRORS =======================================================================================
_______________________________________________________________ ERROR collecting traittypes/tests/test_traittypes.py ________________________________________________________________
traittypes/tests/test_traittypes.py:19: in <module>
    class IntArrayTrait(HasTraits):
traittypes/tests/test_traittypes.py:20: in IntArrayTrait
    value = Array().tag(dtype=np.int)
/usr/lib/python3.10/site-packages/numpy/__init__.py:305: in __getattr__
    raise AttributeError(__former_attrs__[attr])
E   AttributeError: module 'numpy' has no attribute 'int'.
E   `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
E   The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
E       https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'inf'?
============================================================================== short test summary info ==============================================================================
ERROR traittypes/tests/test_traittypes.py - AttributeError: module 'numpy' has no attribute 'int'.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================= 1 error in 0.60s ==================================================================================
==> ERROR: A failure occurred in check().

ymermoud commented on 2020-05-14 15:53 (UTC)

This depends on llvmlite which is currently not listed as dependency

https://aur.archlinux.org/packages/python-llvmlite/