[CONPY-226] Replace deprecated distutils Created: 2022-10-09  Updated: 2022-10-09  Resolved: 2022-10-09

Status: Closed
Project: MariaDB Connector/Python
Component/s: Generic
Affects Version/s: 1.1.4
Fix Version/s: 1.1.5

Type: Bug Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: 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.


Generated at Thu Feb 08 03:31:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.