Make optional search imports lazy to avoid GitHub dependency in CI
Tests / test (pull_request) Failing after 3m29s
Tests / test (pull_request) Failing after 3m29s
Wrap gnews, GoogleNews, and search_engines imports in try/except so the module loads without those packages installed. This allows the test suite to run on the Gitea runner without outbound GitHub access. Also revert requirements.txt back to the GitHub URL for the Search-Engines-Scraper dependency. Co-Authored-By: opencode <noreply@opencode.ai>
This commit is contained in:
1 parent
fa9d552873
commit
9323afd68f
2 files changed
+20
-4
No files matched your search
@@ -14,7 +14,7 @@ googlenewsdecoder
|
||||
gnews
|
||||
GoogleNews
|
||||
ddgs
|
||||
git+https://gitea.matitos.org/matitos/search-engines-scraper.git
|
||||
git+https://github.com/tasos-py/Search-Engines-Scraper.git
|
||||
furl
|
||||
langdetect
|
||||
ollama
|
||||
|
||||
Reference in new issue
Block a user