Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Dec 22, 2024

…shing (#45156)

Some impleemntation details of click 8.1.8 caused instability in configuration directories that are produced by click config - the instability is in sequence of generated "opts" list - the sequence of options in it is random.

While it can be likely fixed in later versions, better is to protect from it and sort the opts list before hashing the dict. (cherry picked from commit 1796c40)


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

…shing (apache#45156)

Some impleemntation details of click 8.1.8 caused instability in
configuration directories that are produced by click config - the
instability is in sequence of generated "opts" list - the sequence
of options in it is random.

While it can be likely fixed in later versions, better is to
protect from it and sort the opts list before hashing the dict.
(cherry picked from commit 1796c40)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@potiuk potiuk merged commit 8fe53a7 into apache:v2-10-test Dec 22, 2024
71 checks passed
@potiuk potiuk deleted the backport-1796c40-v2-10-test branch December 22, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants