From fbf1a0f44659f4e54f0adc91450e8f8c2b166833 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 15 Aug 2024 01:23:50 -0400 Subject: [PATCH 1/2] pin unstructured version --- bbot/modules/unstructured.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbot/modules/unstructured.py b/bbot/modules/unstructured.py index 4143ea2fd..25ae307bf 100644 --- a/bbot/modules/unstructured.py +++ b/bbot/modules/unstructured.py @@ -67,7 +67,7 @@ class unstructured(BaseModule): } deps_apt = ["libmagic-dev", "poppler-utils", "tesseract-ocr", "libreoffice", "pandoc"] - deps_pip = ["unstructured[all-docs]"] + deps_pip = ["git+https://github.com/Unstructured-IO/unstructured@9b778e270dd8547476370a9417520679cd46c802#egg=unstructured[all-docs]"] async def setup(self): self.extensions = list(set([e.lower().strip(".") for e in self.config.get("extensions", [])])) From 5ce846fd6777e9ba492c87f7e713fa43f11c02ae Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 15 Aug 2024 01:37:29 -0400 Subject: [PATCH 2/2] blacked --- bbot/modules/unstructured.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bbot/modules/unstructured.py b/bbot/modules/unstructured.py index 25ae307bf..7277f40d1 100644 --- a/bbot/modules/unstructured.py +++ b/bbot/modules/unstructured.py @@ -67,7 +67,9 @@ class unstructured(BaseModule): } deps_apt = ["libmagic-dev", "poppler-utils", "tesseract-ocr", "libreoffice", "pandoc"] - deps_pip = ["git+https://github.com/Unstructured-IO/unstructured@9b778e270dd8547476370a9417520679cd46c802#egg=unstructured[all-docs]"] + deps_pip = [ + "git+https://github.com/Unstructured-IO/unstructured@9b778e270dd8547476370a9417520679cd46c802#egg=unstructured[all-docs]" + ] async def setup(self): self.extensions = list(set([e.lower().strip(".") for e in self.config.get("extensions", [])]))