Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Build script workaround #1176

davidmezzetti756917f14bbc
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 46d15618..8d0b64e7 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -52,7 +52,7 @@ jobs:
- name: Build
run: |
pip install -U wheel
- pip install .[all,dev] docling==2.117.0
+ pip install .[all,dev]
pip cache purge
python -c "import nltk; nltk.download(['punkt', 'punkt_tab', 'averaged_perceptron_tagger_eng'])"
python --version
diff --git a/test/python/testpipeline/testdata/testtextractor.py b/test/python/testpipeline/testdata/testtextractor.py
index b0ad064c..0e1f4ecc 100644
--- a/test/python/testpipeline/testdata/testtextractor.py
+++ b/test/python/testpipeline/testdata/testtextractor.py
@@ -2,6 +2,7 @@
Textractor module tests
"""
+import os
import platform
import unittest
@@ -63,7 +64,7 @@ class TestTextractor(unittest.TestCase):
# Check number of sections is as expected
self.assertEqual(len(sections), 2)
- @unittest.skipIf(platform.system() == "Darwin", "Docling skipped on macOS to avoid MPS issues")
+ @unittest.skipIf(platform.system() == "Darwin" or os.name == "nt", "Docling skipped on macOS to avoid MPS issues")
def testDocling(self):
"""
Test docling backend