roboflow/supervision · error · ValueError
unexpected fallback manifest {checks}; expected {_MANIFEST_C
Error message
unexpected fallback manifest {checks}; expected {_MANIFEST_CHECKS} What it means
Error "unexpected fallback manifest {checks}; expected {_MANIFEST_CHECKS}" thrown in roboflow/supervision.
Source
Thrown at .github/scripts/verify_clean_wheel.py:57
requirements = metadata.get_all("Requires-Dist", [])
extras = metadata.get_all("Provides-Extra", [])
if any("opencv" in requirement.lower() for requirement in requirements):
raise ValueError(
f"OpenCV runtime requirement remains in {wheel}: {requirements}"
)
if any("opencv" in extra.lower() for extra in extras):
raise ValueError(f"OpenCV extra remains in {wheel}: {extras}")
def _validate_manifest(manifest: Path) -> None:
"""Keep the installed-wheel fallback smoke contract explicit and complete."""
checks = {
s
for line in manifest.read_text(encoding="utf-8").splitlines()
if (s := line.strip()) and not s.startswith("#")
}
if checks != _MANIFEST_CHECKS:
raise ValueError(
f"unexpected fallback manifest {checks}; expected {_MANIFEST_CHECKS}"
)
def _run_installed_wheel_probe(python: Path) -> None:
"""Exercise the installed fallback without allowing the source tree on sys.path."""
source = """
import importlib.util
from importlib import metadata
from pathlib import Path
import av
import numpy as np
import supervision
from supervision import _cv2
package_path = Path(supervision.__file__).resolve()
if "site-packages" not in package_path.parts:View on GitHub (pinned to 7f254d9784)
Solutions
- Update the verification script's expected manifest checks to match the actual wheel contents, or fix the wheel to match the expected manifest.
- Investigate which fallback files were added or removed and reconcile _MANIFEST_CHECKS accordingly.
When it happens
Trigger: Thrown at .github/scripts/verify_clean_wheel.py:57 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of roboflow/supervision@7f254d9784 (2026-08-15).
Data as JSON: /api/errors/a19d2e649dbe93f6.
Report an issue: GitHub.