traittypes icon indicating copy to clipboard operation
traittypes copied to clipboard

Traitlets types for NumPy, SciPy and friends

Results 20 traittypes issues
Sort by recently updated
recently updated
newest added
trafficstars

dtype should not be instantiated here but as a .tag(dtype=...) https://github.com/jupyter-widgets/traittypes/blob/0a030b928991dec732c17a7a1cb13acbcd7650a2/traittypes/traittypes.py#L269 PR could be pretty direct but I am not sure about the implications of such changes...

I see that there has not been activities for 3 years when I stopped by to report an issue. What is the status of this package? Hope you can advise....

https://github.com/jupyter-widgets/traittypes/blob/af2ebeec9e58b73a12d4cf841bd506d6eadb8868/traittypes/traittypes.py#L21 ``` traittypes/__init__.py:1: in from .traittypes import * traittypes/traittypes.py:20: in Empty = Sentinel('Empty', 'traittypes', traitlets/__init__.py:24: in __init__ warn( traitlets/utils/warnings.py:11: in warn return warnings.warn(msg, category=category, stacklevel=stacklevel, source=source) E DeprecationWarning: E Sentinel...

Looks like `traittypes` is one onf the only few modules still using nose wich is no longer maintained and should not be used with python 3.x https://nose.readthedocs.io/en/latest/ ```console + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-traittypes-0.2.1-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-traittypes-0.2.1-2.fc35.x86_64/usr/lib/python3.8/site-packages...

Hi there, I'm not quite sure that it's a correct way to fix `test_bad_values`, but it works well with both `numpy~=1.15.0` and `nympy~=1.16.0`.

dtype is a constructor arg, not a metadata tag I think it was a coincidence that the early bad_value tests failed with old numpy. They pass as dtype=object with recent...

Using link with Array for numpy array results in the exception: `ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()` ```python...

Did it even work correctly before? Fixes https://github.com/jupyter-widgets/traittypes/issues/40

Hi, I'm trying to package traittypes for Debian. I run into an error while running the test: ```` I: pybuild base:217: cd /build/traittypes-0.2.1/.pybuild/cpython3_3.8_traittypes/build; python3.8 -m pytest ============================= test session starts...