Skip to content

armgit / mwmbl

Public Imported from GitHub
0

An open source, non-profit web search engine

Add bs4 as a core dependency

Daoud Clarkea26f1e8e0ffb
diff --git a/pyproject.toml b/pyproject.toml
index a579ab7..2340b09 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -48,6 +48,9 @@ dependencies = [
"polar-sdk==0.31.7",
"httpx>=0.27.0",
"defusedxml>=0.7.0",
+ # Used by the Super Search recipe engine (super_search_sources/recipe.py),
+ # which is imported at app startup — must be a core dep, not indexer-only.
+ "beautifulsoup4==4.10.0",
]
[project.optional-dependencies]
@@ -55,7 +58,6 @@ indexer = [
"ujson==4.3.0",
"warcio==1.7.4",
"idna==3.3",
- "beautifulsoup4==4.10.0",
"langdetect==1.0.9",
"pyarrow==6.0.0",
"pyspark==3.2.0",
diff --git a/uv.lock b/uv.lock
index 87c84ac..3254076 100644
--- a/uv.lock
+++ b/uv.lock
@@ -708,6 +708,7 @@ name = "mwmbl"
version = "0.1.0"
source = { editable = "." }
dependencies = [
+ { name = "beautifulsoup4" },
{ name = "boto3" },
{ name = "defusedxml" },
{ name = "dj-database-url" },
@@ -751,7 +752,6 @@ dependencies = [
[package.optional-dependencies]
indexer = [
- { name = "beautifulsoup4" },
{ name = "idna" },
{ name = "langdetect" },
{ name = "levenshtein" },
@@ -776,7 +776,7 @@ dev = [
[package.metadata]
requires-dist = [
- { name = "beautifulsoup4", marker = "extra == 'indexer'", specifier = "==4.10.0" },
+ { name = "beautifulsoup4", specifier = "==4.10.0" },
{ name = "boto3", specifier = "==1.35.99" },
{ name = "defusedxml", specifier = ">=0.7.0" },
{ name = "dj-database-url", specifier = ">=2.1.0" },