annotate: compress conftest + pyproject comments (fix stale backend note)

The pyproject annotations-extra comment still described the removed
vllm/transformers in-process backends ('vllm preferred ... transformers
fallback', '_make_vllm_client'); rewrite it for the openai-only reality
and trim it. Also condense the conftest lazy-import NOTE. Comments only.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pepijn
2026-06-04 14:12:04 +02:00
parent 20c7a12dd5
commit 7471a6b1ed
2 changed files with 13 additions and 23 deletions
+4 -7
View File
@@ -26,13 +26,10 @@ from pathlib import Path
import pytest
# NOTE: ``build_annotation_dataset`` pulls in ``lerobot.datasets`` (-> the HF
# ``datasets`` library + ``pandas``), which only ship under the ``dataset``
# extra. It is imported LAZILY inside the fixtures below so this conftest
# imports cleanly in dependency tiers without that extra (e.g. the base
# ``--extra test`` fast-test tier). The annotation test modules guard
# themselves with a module-level ``pytest.importorskip("datasets")`` so
# their collection is skipped — never erroring — when the extra is absent.
# ``build_annotation_dataset`` pulls in ``lerobot.datasets`` (HF ``datasets``
# + ``pandas``, only in the ``dataset`` extra), so it's imported lazily inside
# each fixture — this conftest stays importable without that extra. The test
# modules ``pytest.importorskip("datasets")`` so they skip rather than error.
@pytest.fixture