Closed rmeissn closed 2 years ago
The reason is that the latest commits that fixes the issue is only on master. The latest release/tag v1.1.3
of ckanext-dcat
is not compatible with the latest official release/tag v1.4.0
of ckanext-harvest
. Until a new version is released you must use the current master.
Sorry @rmeissn I was waiting to see if there were more changes needed for some new CKAN 2.10 related changes to release a new ckanext-dcat version, but I'll do that soon
@rmeissn Version 1.2.0
was released a few days ago. This version should work together with the ckanext-harvest 1.4.0
. If it is not work, please reopen the issue.
I've installed ckan v2.9.5 in a docker environment with python3 and wanted to install ckanext-dcat. I've chose to go with the latest available tags (ckanext-dcat:v1.1.3 and ckanext-harvest:v1.4.0) to get something more stable than from the main branch and prepared a correct ckan.ini, as described in this repo. Unfortunately, CKAN fails on startup with:
I've tracked that down to these two lines:
The second line will remove ckantoolkit@0.0.7 and install ckantoolkit@0.0.3, which prevents ckan from starting. Installing ckanext-dcat from the main branch works fine, as it requires ckantoolkit@0.0.7.
It took me some time to track down this bug, so I wanted to share it. Furthermore I'd like to ask the plugin developers to indicate working ckan and harvester versions somewhere (like within the changelog document) or to file a new tag/release, which works for the current ckan version. Installing a plugin from the main branch is kinda risky, as it might break the next time I'll do so, which is even more important for reproducable builds.