Skip to content

Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP, llms.txt), backlinks, local SEO, e-commerce, international SEO, Google APIs, and PDF/Excel reporting. 9 optional extensions for live SEO data.

deps: raise five floors and make the floor test compare versions

Agrici Daniel1e0246c73a4e
diff --git a/requirements.txt b/requirements.txt
index 3d50c1b..d426165 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,17 +1,17 @@
# Claude SEO - Python Dependencies
# Bounded version pinning with security-conscious minimums
-# Last updated: September 10, 2026 (v2.3.1)
+# Last updated: September 23, 2026 (v2.4.0 floors)
beautifulsoup4>=4.15.0,<5.0.0 # No known CVEs
requests>=2.34.2,<3.0.0 # CVE-2024-47081, CVE-2024-35195 fixes
lxml>=6.1.1,<7.0.0 # CVE-2025-24928 + additional libxml2 security patches
-lxml_html_clean>=0.4.3,<1.0.0 # lxml 6 removed html.clean into this standalone package
+lxml_html_clean>=0.4.5,<1.0.0 # lxml 6 removed html.clean into this standalone package
playwright>=1.62.0,<2.0.0 # CVE-2025-59288 fix (macOS)
urllib3>=2.7.0,<3.0.0 # High-severity urllib3 advisories GHSA-mf9v-mfxr-j63j, GHSA-qccp-gfcp-xxvc
# v2.0.0 Phase A: headless rendering across all agents
-trafilatura>=2.1.0,<3.0.0 # Boilerplate-free content extraction (SPA-safe)
-htmldate>=1.9.0,<2.0.0 # Publication-date extraction for freshness signals
+trafilatura>=2.2.0,<3.0.0 # Boilerplate-free content extraction (SPA-safe)
+htmldate>=1.10.0,<2.0.0 # Publication-date extraction for freshness signals
courlan>=1.4.0,<2.0.0 # trafilatura URL helper; explicit pin avoids transitive drift
# Report generation (for seo-google PDF/Excel reports)
@@ -23,6 +23,6 @@ openpyxl>=3.1.5,<4.0.0 # No known CVEs (Excel export)
# Google API dependencies (for seo-google skill)
google-api-python-client>=2.196.0,<3.0.0 # No known CVEs
google-auth>=2.56.2,<3.0.0 # No known CVEs
-google-auth-httplib2>=0.4.0,<1.0.0 # Compatibility floor for current google-auth stack
+google-auth-httplib2>=0.4.2,<1.0.0 # Compatibility floor for current google-auth stack
google-analytics-data>=0.18.0,<1.0.0 # No known CVEs
-google-ads>=25.0.0,<40.0.0 # Direct import in keyword_planner.py
+google-ads>=31.4.0,<40.0.0 # Direct import in keyword_planner.py
diff --git a/tests/test_pyproject_metadata.py b/tests/test_pyproject_metadata.py
index 6f14c8e..ef87bdb 100644
--- a/tests/test_pyproject_metadata.py
+++ b/tests/test_pyproject_metadata.py
@@ -27,11 +27,22 @@ def test_pyproject_has_minimal_ruff_config_only() -> None:
assert 'ignore = ["E501"]' in text
-def test_requirements_accept_selected_security_compatibility_floors() -> None:
+def _floor(text: str, package: str) -> tuple[int, ...]:
+ match = re.search(rf"^{re.escape(package)}>=([0-9.]+),<", text, re.MULTILINE)
+ assert match, f"{package} needs a bounded '>=floor,<ceiling' requirement"
+ return tuple(int(part) for part in match.group(1).split("."))
+
+
+def test_requirements_keep_security_and_compatibility_floors() -> None:
+ """Floors may rise (Dependabot bumps) but never fall below these minimums."""
text = (REPO_ROOT / "requirements.txt").read_text(encoding="utf-8")
- assert re.search(r"^lxml>=6\.1\.1,<7\.0\.0", text, re.MULTILINE)
- assert re.search(r"^lxml_html_clean>=0\.4\.3,<1\.0\.0", text, re.MULTILINE)
- assert re.search(r"^urllib3>=2\.7\.0,<3\.0\.0", text, re.MULTILINE)
- assert re.search(r"^numpy>=2\.2\.6,<3\.0\.0", text, re.MULTILINE)
- assert re.search(r"^google-auth-httplib2>=0\.4\.0,<1\.0\.0", text, re.MULTILINE)
- assert re.search(r"^google-ads>=25\.0\.0,<40\.0\.0", text, re.MULTILINE)
+ minimums = {
+ "lxml": (6, 1, 1),
+ "lxml_html_clean": (0, 4, 5), # advisories fixed in 0.4.4 and 0.4.5
+ "urllib3": (2, 7, 0),
+ "numpy": (2, 2, 6),
+ "google-auth-httplib2": (0, 4, 0),
+ "google-ads": (25, 0, 0),
+ }
+ for package, minimum in minimums.items():
+ assert _floor(text, package) >= minimum, f"{package} floor is below {minimum}"