Closed mikegerber closed 1 year ago
The issues above are fixed, but there are more DeprecationWarnings when running the tests.
========================================== warnings summary ==========================================../../.pyenv/versions/3.11.2/envs/dinglehopper/lib/python3.11/site-packages/ocrd_utils/package_resources.py:47
../../.pyenv/versions/3.11.2/envs/dinglehopper/lib/python3.11/site-packages/ocrd_utils/package_resources.py:47
../../.pyenv/versions/3.11.2/envs/dinglehopper/lib/python3.11/site-packages/ocrd_utils/package_resources.py:47
/home/b-mg106/.pyenv/versions/3.11.2/envs/dinglehopper/lib/python3.11/site-packages/ocrd_utils/package_resources.py:47: DeprecationWarning: read_binary is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice. return read_binary(parent_package, resource)
../../.pyenv/versions/3.11.2/envs/dinglehopper/lib/python3.11/site-packages/ocrd_utils/package_resources.py:32
../../.pyenv/versions/3.11.2/envs/dinglehopper/lib/python3.11/site-packages/ocrd_utils/package_resources.py:32
../../.pyenv/versions/3.11.2/envs/dinglehopper/lib/python3.11/site-packages/ocrd_utils/package_resources.py:32
../../.pyenv/versions/3.11.2/envs/dinglehopper/lib/python3.11/site-packages/ocrd_utils/package_resources.py:32
/home/b-mg106/.pyenv/versions/3.11.2/envs/dinglehopper/lib/python3.11/site-packages/ocrd_utils/package_resources.py:32: DeprecationWarning: path is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
return _file_manager.enter_context(path(parent_package, resource))
(Python 3.11) These seem to be in OCR-D, closing here.