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
{{ message }}
Repository navigation
pkg_resources in bagit.py is deprecated creates issue for package_images #64
pkg_resources, a dependency for bagit.py appears to be deprecated, throws up an error for package_images.py
% poetry run package_filetransfer -h
Traceback (most recent call last):
File "", line 1, in
File "/Users/djonathan/.pyenv/versions/3.9.4/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File "/Users/djonathan/Documents/GitHub/digarch_scripts/src/digarch_scripts/package/package_filetransfer.py", line 6, in
import digarch_scripts.package.package_base as pb
File "/Users/djonathan/Documents/GitHub/digarch_scripts/src/digarch_scripts/package/package_base.py", line 8, in
import bagit
File "/Users/djonathan/Library/Caches/pypoetry/virtualenvs/digarch-scripts-hIDCyjlq-py3.9/lib/python3.9/site-packages/bagit.py", line 24, in
from pkg_resources import DistributionNotFound, get_distribution
ModuleNotFoundError: No module named 'pkg_resources'
djonathan@LS-SPCOL-059410 digarch_scripts % poetry add pkg_resources
Could not find a matching version of package pkg_resources
Activity