The lint-requirements command requires a single unique entry for each entry in a requirements.txt file based on the package name and the marker expression. That rule should only apply to constraints.txt files, not the requirements.txt files, because we want to allow and encourage building multiple versions of a package by specifying entries in the requirements.txt file.
The logic in https://github.com/python-wheel-build/fromager/blob/main/src/fromager/commands/lint_requirements.py#L29 will need to change to only apply the uniqueness rules when looking at a constraints.txt file.
The lint-requirements command requires a single unique entry for each entry in a requirements.txt file based on the package name and the marker expression. That rule should only apply to constraints.txt files, not the requirements.txt files, because we want to allow and encourage building multiple versions of a package by specifying entries in the requirements.txt file.
The logic in https://github.com/python-wheel-build/fromager/blob/main/src/fromager/commands/lint_requirements.py#L29 will need to change to only apply the uniqueness rules when looking at a constraints.txt file.