💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows
Python agentsaiai-agentsembeddingsinformation-retrievallanguage-modellarge-language-modelsllmnlppythonragretrieval-augmented-generationsearchsearch-enginesemantic-searchsentence-embeddingstransformerstxtaivector-databasevector-search
Lower required version of Pillow to 7.2.0, closes #303
davidmezzettif690d26d771e
diff --git a/setup.py b/setup.pyindex d64d1bb1..76b375c0 100644--- a/setup.py+++ b/setup.py@@ -23,7 +23,7 @@ extras["cloud"] = ["apache-libcloud>=3.3.1"]extras["console"] = ["rich>=12.0.1"]-extras["database"] = ["pillow>=9.0.1"]+extras["database"] = ["pillow>=7.2.0"]extras["model"] = ["onnxruntime>=1.8.1"]@@ -36,7 +36,7 @@ extras["pipeline"] = ["onnxmltools>=1.9.1","onnxruntime>=1.8.1","pandas>=1.1.0",- "pillow>=9.0.1",+ "pillow>=7.2.0","sentencepiece>=0.1.91","soundfile>=0.10.3.post1","tika>=1.24",@@ -57,7 +57,7 @@ extras["workflow"] = ["croniter>=1.2.0","openpyxl>=3.0.9","pandas>=1.1.0",- "pillow>=9.0.1",+ "pillow>=7.2.0","requests>=2.26.0","xmltodict>=0.12.0",]diff --git a/test/python/testpipeline/testimagehash.py b/test/python/testpipeline/testimagehash.pyindex e8d1855e..cc02dc1b 100644--- a/test/python/testpipeline/testimagehash.py+++ b/test/python/testpipeline/testimagehash.py@@ -39,7 +39,7 @@ class TestImageHash(unittest.TestCase):"""ihash = ImageHash("average")- self.assertEqual(ihash(self.image), "0859dd04ffbfbf00")+ self.assertIn(ihash(self.image), ["0859dd04bfbfbf00", "0859dd04ffbfbf00"])def testColor(self):"""@@ -47,7 +47,7 @@ class TestImageHash(unittest.TestCase):"""ihash = ImageHash("color")- self.assertEqual(ihash(self.image), "1ff8fe03000e00070e0000070000")+ self.assertIn(ihash(self.image), ["1ffffe02000e000c0e0000070000", "1ff8fe03000e00070e0000070000"])def testDifference(self):"""