Command to reproduce the error:
% uv --version
uv 0.5.4 (c62c83c37 2024-11-20)
% echo '' > output.txt && echo 'scikit-learn==1.5.0' | uv pip compile --output-file output.txt -
Result:
warning: Requirements file output.txt does not contain any dependencies 👈 Is this expected?
Resolved 5 packages in 3ms
# This file was autogenerated by uv via the following command:
# uv pip compile --output-file output.txt -
joblib==1.4.2
# via scikit-learn
numpy==2.0.2
# via
# scikit-learn
# scipy
scikit-learn==1.5.0
scipy==1.13.1
# via scikit-learn
threadpoolctl==3.5.0
# via scikit-learn
Command to reproduce the error:
Result: