{"record":{"id":"a19d2e649dbe93f6","repo":"roboflow/supervision","slug":"unexpected-fallback-manifest-checks-expected","errorCode":null,"errorMessage":"unexpected fallback manifest {checks}; expected {_MANIFEST_CHECKS}","messagePattern":"unexpected fallback manifest (.+?); expected (.+?)","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":".github/scripts/verify_clean_wheel.py","lineNumber":57,"sourceCode":"    requirements = metadata.get_all(\"Requires-Dist\", [])\n    extras = metadata.get_all(\"Provides-Extra\", [])\n    if any(\"opencv\" in requirement.lower() for requirement in requirements):\n        raise ValueError(\n            f\"OpenCV runtime requirement remains in {wheel}: {requirements}\"\n        )\n    if any(\"opencv\" in extra.lower() for extra in extras):\n        raise ValueError(f\"OpenCV extra remains in {wheel}: {extras}\")\n\n\ndef _validate_manifest(manifest: Path) -> None:\n    \"\"\"Keep the installed-wheel fallback smoke contract explicit and complete.\"\"\"\n    checks = {\n        s\n        for line in manifest.read_text(encoding=\"utf-8\").splitlines()\n        if (s := line.strip()) and not s.startswith(\"#\")\n    }\n    if checks != _MANIFEST_CHECKS:\n        raise ValueError(\n            f\"unexpected fallback manifest {checks}; expected {_MANIFEST_CHECKS}\"\n        )\n\n\ndef _run_installed_wheel_probe(python: Path) -> None:\n    \"\"\"Exercise the installed fallback without allowing the source tree on sys.path.\"\"\"\n    source = \"\"\"\nimport importlib.util\nfrom importlib import metadata\nfrom pathlib import Path\n\nimport av\nimport numpy as np\nimport supervision\nfrom supervision import _cv2\n\npackage_path = Path(supervision.__file__).resolve()\nif \"site-packages\" not in package_path.parts:","sourceCodeStart":39,"sourceCodeEnd":75,"githubUrl":"https://github.com/roboflow/supervision/blob/7f254d9784d4c37e0f03cd89ddee164c8db099c0/.github/scripts/verify_clean_wheel.py#L39-L75","documentation":"Error \"unexpected fallback manifest {checks}; expected {_MANIFEST_CHECKS}\" thrown in roboflow/supervision.","triggerScenarios":"Thrown at .github/scripts/verify_clean_wheel.py:57 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","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."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"7f254d9784d4c37e0f03cd89ddee164c8db099c0","analyzedAt":"2026-08-15T05:13:01.950Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}