I'm installing this extension in my docker-ckan environment with the command:
pip install -e git+https://github.com/datopian/metastore-lib.git#egg=metastore-lib
But when I tried to import the module it throws:
File "/srv/app/src_extensions/ckanext-versioning/ckanext/versioning/logic/action.py", line 17, in <module>
from metastore.backend.filesystem import FilesystemStorage
File "/srv/app/src/metastore-lib/metastore/backend/filesystem.py", line 16, in <module>
from dateutil.parser import isoparse
ImportError: cannot import name isoparse
According to the docs isoparser was added in version 2.7.0 so I fixed locally by installing it manually with pip install python-dateutil==2.8.1 as the requirements.txt file says.
Edditing the setup.py will probably fix this issue.
I'm installing this extension in my docker-ckan environment with the command:
pip install -e git+https://github.com/datopian/metastore-lib.git#egg=metastore-lib
But when I tried to import the module it throws:
According to the docs isoparser was added in version 2.7.0 so I fixed locally by installing it manually with
pip install python-dateutil==2.8.1
as therequirements.txt
file says.Edditing the
setup.py
will probably fix this issue.