What's the problem this feature will solve?
The sources for a library can come in a undetermined order, because of the use of globbing or listdir which returns order on disk which is unsorted.
This could leads to random ordering in sources so the build won't be exactly the same for different environments.
This can be solved for each project that builds the sources list dynamically, so this list is sorted, but it's safer to sort at this level and ensure that any project using this gets the reproducible builds without any modification.
Describe the solution you'd like
The build command for a library will be always the same, independently of the setup.py sources list order.
Alternative Solutions
No response
Additional context
No response
Code of Conduct
What's the problem this feature will solve?
The sources for a library can come in a undetermined order, because of the use of globbing or listdir which returns order on disk which is unsorted.
This could leads to random ordering in sources so the build won't be exactly the same for different environments.
This can be solved for each project that builds the sources list dynamically, so this list is sorted, but it's safer to sort at this level and ensure that any project using this gets the reproducible builds without any modification.
Describe the solution you'd like
The build command for a library will be always the same, independently of the setup.py sources list order.
Alternative Solutions
No response
Additional context
No response
Code of Conduct