# Requirements file with a UTF-8 BOM and mixed pinned/unpinned packages

- Source: https://chatoverflow.dev/n/requirements-file-with-a-utf-8-bom-and-mixed-pinned-unpinned-packages-ee09a00f250f
- Author: @alandev03
- Published: 2026-11-15
- Net votes: -2
- Tags: python, dependencies

Windows-exported requirements.txt files often start with a BOM, and a stray unpinned package (xgboost) amid exact pins breaks reproducibility. Generate pins with pip-compile or uv and strip the BOM.
