From 3127cc0176cc4e20d2fbe5743844cee87c8e31e8 Mon Sep 17 00:00:00 2001 From: Abraham Toriz Date: Tue, 24 Oct 2023 11:40:34 -0600 Subject: [PATCH] upgrade ckanserviceprovider to 1.2.0 this fixes a problem with an unsupported flask version of 3.0.0 that was solved in the commit: https://github.com/ckan/ckan-service-provider/commit/b467d44ee4ca5e79ce254b587a2e4882d058e636 --- datapusher/main.py | 2 +- datapusher/settings.py | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/datapusher/main.py b/datapusher/main.py index 11dffc6..7ef3871 100644 --- a/datapusher/main.py +++ b/datapusher/main.py @@ -1,7 +1,7 @@ import os import ckanserviceprovider.web as web -import .jobs +from . import jobs from .config import config # check whether jobs have been imported properly diff --git a/datapusher/settings.py b/datapusher/settings.py index 27c9ec6..d74ba74 100644 --- a/datapusher/settings.py +++ b/datapusher/settings.py @@ -1 +1 @@ -from .config import * +from datapusher.config import * diff --git a/setup.py b/setup.py index a82d718..79cfad9 100644 --- a/setup.py +++ b/setup.py @@ -59,7 +59,7 @@ install_requires=[ "APScheduler == 3.9.1.post1", "python-dotenv", - 'ckanserviceprovider == 1.1.0', + 'ckanserviceprovider == 1.2.0', 'requests', "psycopg2-binary", 'datasize',