Commit Graph

19 Commits

Author SHA1 Message Date
ea87f4472b Fix required Connector/C version:
Since Connector 3.2.x is discontinued, we need
to bump the miimum required version to 3.3.1.
2022-11-21 11:59:01 +01:00
1d700addae Fix for CONPY-226:
Replaced deprecated call to distutils.version.StrictVersion by
packaging.version.Version
2022-10-09 15:05:31 +02:00
554abdac89 Fixed error message 2022-08-11 11:10:00 +02:00
cdd42743cc Coding style fixes (PEP8)
Fixed various coding style stuff detected by flake8.
Added .pre-commit-config.yaml:
With command pre_commit install a hook for flake8 will be
installed.
2022-08-07 16:47:26 +02:00
ef57069492 CONPY-202: Fixed typo in installation 2022-05-19 12:04:59 +02:00
c8a9f50712 Updated required minimum version
of Connector&C (3.2.4)
2021-07-12 10:52:02 +02:00
84df56ce40 connection and cursor class are now written in
native python
2021-07-12 09:46:05 +02:00
4989ed0956 Fixed installation text 2020-09-15 12:33:55 +02:00
b4a30ba29b Fixed version checking for Connector/C:
Use StrictVersion() from distutils instead of using the parse function
from packaging module
2020-07-22 19:05:54 +02:00
c6ad169f87 Fix for CONPY-85:
Version checking in setup fails with 2 digit minor or patch version number.
Instead of comparing version numers directly we need to parse them before
using packaging.version.parse().
2020-07-15 13:28:33 +02:00
13aa2178d9 Read plugin directory from mariadb_config. 2019-12-04 08:40:16 +01:00
3b02464b63 Fixes for class ConnectionPool()
- added mutexes for thread safety
- when calling get_connection thread pool will now not return the next
  free connection, but the connection that was not used the longest time.
2019-12-01 05:47:19 +01:00
6daefe02ba [misc] using mariadb_config from configuration, or if not defined from path 2019-11-27 14:07:28 +01:00
9a8cc14710 Added minum required Python version (>= 3.5) 2019-11-25 19:00:32 +01:00
83ffd0b8cf Posix build fixes: Instead of environment variables we use now configuration from site.cfg 2019-11-25 18:34:07 +01:00
628fc39cd0 Initial connection pool implementation 2019-11-24 12:45:32 +01:00
11976139d4 [misc] python standard formatting 2019-11-06 15:13:56 +01:00
2cb584b5cb Posix configuration fixes 2019-08-20 18:07:13 +02:00
9aca6adcaa Setup for Posix systems:
specify the environment variable MARIADB_CONFIG which points to the location
of mariadb_config program.
2018-12-05 18:21:49 +01:00