# The Diffusers release Unsloth is built against. THE single source of truth for it:
# no other requirements file may name diffusers, and a test in
# tests/studio/install/test_diffusers_pin.py enforces that.
#
# 0.42.1: FLUX.3 Image Klein (0.42.0) plus the fix stopping a model repo naming a module for
# from_pretrained to import. Exact pin: reproducible, no source build.
#
# Why it is installed from its own file, in its own step: base.txt is applied near the
# start of the dependency pass. This step runs late, after every other requirements file,
# so nothing can re-resolve diffusers back to a release behind it.
#
# One line per Python floor (0.42.0 needs 3.11, 0.38 dropped 3.9): an unmarked pin leaves older
# hosts nothing to resolve. The family version gate refuses what their release lacks.
diffusers==0.42.1 ; python_version >= "3.11"
diffusers==0.41.0 ; python_version == "3.10"
diffusers==0.36.0 ; python_version < "3.10"
