Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setuptools/dist: Fix reproducibility issue by sorting globbing
globbing uses os.listdir() which returns order on disk which is unsorted. Ultimately this leads to random ordering of License-File entries in PKG-INFO and means the resulting output isn't deterministic. Adding a sort fixes that. Switch to glob instead ot iglob since sorted() removes the benefit of an iterator. #2691 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Loading branch information