Package Details: python-traittypes 0.2.1-3

Git Clone URL: (read-only, click to copy)
Package Base: python-traittypes
Description: Traitlet types for NumPy, SciPy and friends.
Upstream URL:
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/ ________________________________________________________________
traittypes/tests/ in <module>
    class IntArrayTrait(HasTraits):
traittypes/tests/ in IntArrayTrait
    value = Array().tag(
/usr/lib/python3.10/site-packages/numpy/ in __getattr__
    raise AttributeError(__former_attrs__[attr])
E   AttributeError: module 'numpy' has no attribute 'int'.
E   `` 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 ``, 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 Did you mean: 'inf'?
============================================================================== short test summary info ==============================================================================
ERROR traittypes/tests/ - 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