From f2f2db739fee54a7716c17e37de3eee83a77897b Mon Sep 17 00:00:00 2001 From: Thorge Petersen <petersen@rz.uni-kiel.de> Date: Thu, 13 Jul 2023 11:55:51 +0200 Subject: [PATCH] Fixed import (ckanext-spatial >= 2.0.0) --- CHANGELOG.md | 2 ++ ckanext/odsh/model/statistiknord.py | 2 +- requirements.txt | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 29b1656a..252ba26c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Replaced `before_search` with `before_dataset_search` - Replaced `after_search` with `after_dataset_search` - Replaced `before_index` with `before_dataset_index` +- Updated minimu version of ckanext-spatial extension to `2.0.0`. ## [2.1.0] @@ -76,6 +77,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed +- Removed support for old CKAN versions prior 2.9. - Python 2 support has been dropped to align with the latest standards and focus on Python 3 compatibility. - ICAP support has been removed. Please note that the functionality associated with ICAP is no longer available. - Matomo support has been discontinued. Matomo-related features will no longer be accessible. diff --git a/ckanext/odsh/model/statistiknord.py b/ckanext/odsh/model/statistiknord.py index 55cff9a8..0e3ba683 100755 --- a/ckanext/odsh/model/statistiknord.py +++ b/ckanext/odsh/model/statistiknord.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from ckanext.spatial.model.harvested_metadata import MappedXmlDocument, MappedXmlElement +from ckanext.spatial.harvested_metadata import MappedXmlDocument, MappedXmlElement class StatistikNordDocumentElement(MappedXmlElement): diff --git a/requirements.txt b/requirements.txt index cf7f0562..9b4681ed 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ ckan~=2.10.0 ckanext-harvest -ckanext-spatial +ckanext-spatial>=2.0.0 lxml multiline-log-formatter filehash==0.1.dev3 -- GitLab