Skip to content

Fix patroni no longer working with update to ydiff 1.3

Stan Hu requested to merge sh-fix-patroni-16-10 into 16-10-stable

What does this MR do and why?

This backports !7535 (merged) to 16-10-stable.

ydiff 1.3.0 was released on April 2, 2024 (https://pypi.org/project/ydiff/#history), and the patroni install quietly updated to ydiff 1.3.0 from 1.2.0.

https://github.com/zalando/patroni/blob/v3.0.1/requirements.txt#L15 allows any version of ydiff above 1.2.0, but as described in https://github.com/zalando/patroni/blob/634b44ee0586f063033074806a42b534a354cbff/docs/releases.rst#L16 ydiff 1.3 requires the cdiff module.

To fix this problem, pin the version of ydiff to 1.2.0 until we can upgrade patroni.

Related issues

#8488 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • This MR is backporting a bug fix, documentation update, or spec fix, previously merged in the default branch.
  • The original MR has been deployed to GitLab.com (not applicable for documentation or spec changes).
  • This MR has a severity label assigned (if applicable).

Note to the merge request author and maintainer

The process of backporting bug fixes into stable branches is tracked as part of an internal pilot. If you have questions about this process, please:

Edited by Stan Hu

Merge request reports