code: def skip_unless_feature_version(
      feature, version_required, reason=None
  ):
      if not features.check(feature):
          return pytest.mark.skip(f"{feature} not available")
      if reason is None:
          reason = f"{feature} is older than {version_required}"
      version_required = parse_version(version_required)
      version_available = parse_version(features.version(feature))
      return pytest.mark.skipif(
          version_available < version_required, reason=reason
      )
  
imports: import logging
  import os
  import shutil
  import sys
  import sysconfig
  import tempfile
  from io import BytesIO
  import pytest
  from packaging.version import parse
  from PIL import Image, ImageMath, features
label_desc: Use image node_id 12 for calling a global function with example usage: skip_unless_feature_version(feature, version_required, reason) and returns: pytest, pytest