Skip to content

Sort help args to make them reproducible#3728

Open
jspricke wants to merge 1 commit into
pallets:stablefrom
jspricke:reproducible_help
Open

Sort help args to make them reproducible#3728
jspricke wants to merge 1 commit into
pallets:stablefrom
jspricke:reproducible_help

Conversation

@jspricke

Copy link
Copy Markdown

get_help_option_names() uses a set which is not ordered.
The return value is used by mkdocs-click making the
mkdocs-doc package in Debian not reproducible:

https://reproduce.debian.net/all/unstable.html#mkdocs-doc

get_help_option_names() uses a set which is not ordered.
The return value is used by mkdocs-click making the
mkdocs-doc package in Debian not reproducible:

https://reproduce.debian.net/all/unstable.html#mkdocs-doc
@davidism

Copy link
Copy Markdown
Member

I don't think the set or this simple sort are correct. We probably want to apply some specific order, such as long options then short options, or preserve the order they were originally specified. @kdeldycke I think you added this (and maybe I suggested the set in review, can't remember)? What do you think?

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.

2 participants