d3980909ad
This patch adds the argument binary_prefix=true to MySQL uri if
OpenStack version is equal or greater than Rocky due to Python
upper-constraints [1]. This argument is required because of PyMySQL's
change from version 0.8 and on [2], in order to fix Gnocchi API
warnings like this [3].
[1] https://github.com/openstack/requirements/blob/stable/rocky/upper-constraints.txt#L377
[2] https://github.com/PyMySQL/PyMySQL/blob/master/CHANGELOG#L61-L64
[3] https://github.com/gnocchixyz/gnocchi/issues/847
Change-Id: Ie8b10209daa4de74427e175ef21ddf306a17a0ae
Signed-off-by: Stamatis Katsaounis <skatsaounis@admin.grnet.gr>
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
gnocchi.py |