Skip to content

1.21: Made order of names in AUTHORS.md reliable #1899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2025

Conversation

andy-maier
Copy link
Member

Rolls back PR #1897 into 1.21.

Details:

* The sort order of the 'sort' command depends on the LC_COLLATE env var
  (which can be overridden by the LC_ALL env var).
  The AUTHORS.md file is generated on every build (because its dependencies
  are the complete set of commits in the repo), and uses the 'sort' command
  when creating it. When the sort order is not reliable, the AUTHORS.md file
  changes, and this causes the publish workflow to have a dirty git status
  due to the change AUTHORS.md file, and thus the upload to Pypi fails.

  This change sets LC_ALL=C.UTF-8 in order to produce a reliable order
  in the UATHORS.md file, independent of the LC_* env vars the environment
  may or may not have set.

Signed-off-by: Andreas Maier <[email protected]>
@andy-maier andy-maier added this to the 1.21.1 milestone Jul 10, 2025
@andy-maier andy-maier self-assigned this Jul 10, 2025
@andy-maier andy-maier linked an issue Jul 10, 2025 that may be closed by this pull request
@andy-maier andy-maier changed the title Made order of names in AUTHORS.md reliable 1.21: Made order of names in AUTHORS.md reliable Jul 10, 2025
@andy-maier andy-maier merged commit 31eb677 into stable_1.21 Jul 10, 2025
12 checks passed
@andy-maier andy-maier deleted the 1.21/andy/fix-authors-order branch July 10, 2025 09:42
@coveralls
Copy link
Collaborator

Coverage Status

coverage: 80.054%. remained the same
when pulling 0083c55 on 1.21/andy/fix-authors-order
into 55e4aac on stable_1.21.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Order of names in AUTHORS.md is not reliable
2 participants