From 46f0b7dc19483365741046659a7086acf7471054 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Wed, 20 Mar 2024 16:06:16 -0400 Subject: [PATCH] fix OWSLib deps --- wis2-gdc-management/Dockerfile | 2 +- wis2-gdc-management/wis2_gdc/backend/ogcapi_records.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wis2-gdc-management/Dockerfile b/wis2-gdc-management/Dockerfile index 2340c81..1ff8ffe 100644 --- a/wis2-gdc-management/Dockerfile +++ b/wis2-gdc-management/Dockerfile @@ -37,7 +37,7 @@ RUN apt-get update -y && \ # install dependencies apt-get install -y ${DEBIAN_PACKAGES} && \ pip3 install -U https://github.com/wmo-im/pywis-pubsub/archive/main.zip && \ - pip3 install --no-cache-dir -r /app/requirements.txt elasticsearch && \ + pip3 install --no-cache-dir -r /app/requirements-backend.txt && \ # install wis2-gdc cd /app && \ pip3 install -e . && \ diff --git a/wis2-gdc-management/wis2_gdc/backend/ogcapi_records.py b/wis2-gdc-management/wis2_gdc/backend/ogcapi_records.py index 61e5b4a..7542c3c 100644 --- a/wis2-gdc-management/wis2_gdc/backend/ogcapi_records.py +++ b/wis2-gdc-management/wis2_gdc/backend/ogcapi_records.py @@ -22,7 +22,7 @@ import logging import json -from owslib.ogcapi import Records +from owslib.ogcapi.records import Records from wis2_gdc import env from wis2_gdc.backend.base import BaseBackend