From 8c639a062ec14f891328c64f4ec74ac4f952a63e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Besson?= Date: Sun, 23 Apr 2023 13:50:46 +0100 Subject: [PATCH] Declare portalocker as external dependency Import the dependency rather than our vendored copy in settings.py --- omeroweb/settings.py | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/omeroweb/settings.py b/omeroweb/settings.py index c19fe57c59..2f73e76821 100755 --- a/omeroweb/settings.py +++ b/omeroweb/settings.py @@ -40,8 +40,8 @@ import random import string from builtins import str as text +import portalocker -from omero_ext import portalocker from omero.util.concurrency import get_event from omeroweb.utils import sort_properties_to_tuple from omeroweb.connector import Server diff --git a/setup.py b/setup.py index 2a3fd4a34c..b119f6c9a6 100755 --- a/setup.py +++ b/setup.py @@ -61,6 +61,7 @@ def read(fname): "gunicorn>=19.3", "omero-marshal>=0.7.0", "Pillow", + "portalocker", ], include_package_data=True, tests_require=["pytest"],