You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of this writing, there are 24 warnings like the following generated during execution of the upstream tests job:
RuntimeWarning: deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, '/tmp/pytest-of-root/pytest-0/test_append_with_compression_s0/air2.nc', mode='r', kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': 'NETCDF4'}, manager_id='de5b096b-ca89-4fe9-9d63-1e5b5cd04d54'), but file is not already closed. This may indicate a bug.
This appears to be due to failing to properly close open files in tests/fixtures, so does not appear to be indicative of any virtualizarr bug, but the volume of messages is quite disconcerting to anybody looking at the job logs. Further, these might lead to testing problems at some point in time.
The text was updated successfully, but these errors were encountered:
chuckwondo
added a commit
to chuckwondo/VirtualiZarr
that referenced
this issue
Jan 24, 2025
Use context managers for file handling in tests, eliminating all
occurrences of "RuntimeWarning: deallocating CachingFileManager" during
icechunk test execution.
Fixeszarr-developers#385
As of this writing, there are 24 warnings like the following generated during execution of the upstream tests job:
This appears to be due to failing to properly close open files in tests/fixtures, so does not appear to be indicative of any virtualizarr bug, but the volume of messages is quite disconcerting to anybody looking at the job logs. Further, these might lead to testing problems at some point in time.
The text was updated successfully, but these errors were encountered: