Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.1.4
-
None
Description
Recent Pytion versions (3.10 and above) now return a deprecation warning for distutils package. Connector/Python uses distutils.StrictVersion method, which should be replaced by package.version.Version() method.
See also PEP-632
Warning:
test_autocommit (test.integration.test_connection.TestConnection) ... /home/travis/.pyenv/versions/3.10.7/lib/python3.10/site-packages/mariadb-1.1.5-py3.10-linux-x86_64.egg/mariadb/connections.py:71: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.