Open jan-janssen opened 2 years ago
Following up on https://github.com/pyiron/pyiron_base/issues/553 I collected all the warnings from the tests. Half of them are related to pytables
so we can not fix them from our side, but the other half might be interesting to take a look at.
- Issue with the hdfio class
/home/runner/work/pyiron_base/pyiron_base/pyiron_base/generic/hdfio.py:208: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. result = np.array(obj.tolist()) WARNING - Deprecated data structure! Returned array was converted from dtype='O' to dtype=int64 via `np.array(result.tolist())`. Please run rewrite_hdf5() to update this data! To update all your data run update_scripts/pyiron_base_0.3_to_0.4.py 2021-12-14 20:04:24,316 - pyiron_log - WARNING - Deprecated data structure! Returned array was converted from dtype='O' to dtype=float64 via `np.array(result.tolist())`. Please run rewrite_hdf5() to update this data! To update all your data run update_scripts/pyiron_base_0.3_to_0.4.py /usr/share/miniconda/envs/test/lib/python3.10/site-packages/numpy/core/numeric.py:2446: DeprecationWarning: elementwise comparison failed; this will raise an error in the future. return bool(asarray(a1 == a2).all()) 2021-12-14 20:04:24,326 - pyiron_log - WARNING - Deprecated data structure! Returned array was converted from dtype='O' to dtype=int64 via `np.array(result.tolist())`. Please run rewrite_hdf5() to update this data! To update all your data run update_scripts/pyiron_base_0.3_to_0.4.py 2021-12-14 20:04:24,329 - pyiron_log - WARNING - Deprecated data structure! Returned array was converted from dtype='O' to dtype=float64 via `np.array(result.tolist())`. Please run rewrite_hdf5() to update this data! To update all your data run update_scripts/pyiron_base_0.3_to_0.4.py
These come from testing the conversion behavior, where I directly test that I get back a numeric array although I stored an dtype=object
array. I will try to catch the warnings and test that they are raised.
Issue with the database class
Issue with the database class
Issue with pytables - I guess there is nothing we can do
Issue with pytables - I guess there is nothing we can do
Issue with pytables - I guess there is nothing we can do
Issue with the hdfio class
Issue - I guess this one is expected as we did not instal the required dependencies
Issue with the SQL interface
Issue inside pandas - I guess there is nothing we can do
Issue inside pytables - I guess there is nothing we can do