Closed sean-k1 closed 10 months ago
Please specify the versions you are using. Exact version numbers are preferred.
binlogstream.py file
line 3 from distutils.version import LooseVersion is deprecated PEP 632 migrate advice https://peps.python.org/pep-0632/#migration-advice so we should change module from disutils to packaging
line # 3 AS-IS
from distutils.version import LooseVersion
TO-BE
from packaging.version import Version
line # 333, 505, 591 AS-IS
if pymysql.__version__ < LooseVersion("0.6"):
if Version(pymysql.__version__) < Version("0.6"):
github action When Build Error
not raise Error When Build
Version
Please specify the versions you are using. Exact version numbers are preferred.
Symptoms
binlogstream.py file
line 3 from distutils.version import LooseVersion is deprecated PEP 632 migrate advice https://peps.python.org/pep-0632/#migration-advice so we should change module from disutils to packaging
line # 3 AS-IS
TO-BE
line # 333, 505, 591 AS-IS
TO-BE
Steps to Reproduce
github action When Build Error
Expected Outcome
not raise Error When Build