I've noticed that if you do a simple pip install stor (version 3.1.0), there are some S3 code paths that raise exceptions due to not-imported optional DX components.
When executing this script, the following exception occurs during object destruction:
Exception ignored in: <function OBSFile.__del__ at 0x1069f>
Traceback (most recent call last):
File "[...]lib/python3.7/site-packages/stor/obs.py", line 401, in __del__
self.close()
File "[...]lib/python3.7/site-packages/stor/obs.py", line 457, in close
self._wait_on_close()
File "[...]lib/python3.7/site-packages/stor/obs.py", line 460, in _wait_on_close
if isinstance(self._path, stor.dx.DXPath):
AttributeError: module 'stor' has no attribute 'dx'
I've noticed that if you do a simple
pip install stor
(version 3.1.0), there are some S3 code paths that raise exceptions due to not-imported optional DX components.The following is a MWE:
When executing this script, the following exception occurs during object destruction: