Bug #81242 Use setuptools instead of distutils when possible. (contribution)
Submitted: 29 Apr 2016 14:12 Modified: 3 Sep 2021 14:17
Reporter: OCA Admin (OCA) Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / Python Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[29 Apr 2016 14:12] OCA Admin
Description:
This bug tracks a contribution by Roberto Polli (Github user: ioggstream) as described in http://github.com/mysql/mysql-connector-python/pull/16

How to repeat:
See description

Suggested fix:
See contribution code attached
[29 Apr 2016 14:12] OCA Admin
Contribution submitted via Github - Use setuptools instead of distutils when possible.  
(*) Contribution by Roberto Polli (Github ioggstream, mysql-connector-python/pull/16#issuecomment-215549398): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_67911787.txt (text/plain), 1.40 KiB.

[30 Apr 2016 4:21] MySQL Verification Team
Hello Roberto Polli!

Thank you for the report and contribution.

Thanks,
Umesh
[3 Sep 2021 14:17] Nuno Mariz
Posted by developer:
 
Fixed by WL#13997
[6 May 2022 22:24] Philip Olson
Posted by developer:
 
It appears this bug was lost/forgotten over time, and it looks like this general topic was addressed in 8.0.22 when the C/Py build system was rewritten:

MySQL Connector/Python 8.0.22 Release Note:
---
Refactored the Connector/Python build system by removing artifacts of old
implementations, improved debugging, and now statically link the C
extensions. This also exposes the distutils commands, to allow the
end-user build packages.
---

The MySQL team is sorry for this delayed response, thank you Roberto for the bug report and patch submission.