mirror of
https://github.com/mariadb-corporation/mariadb-connector-python.git
synced 2025-08-07 11:39:43 +00:00
Fix required Connector/C version:
Since Connector 3.2.x is discontinued, we need to bump the miimum required version to 3.3.1.
This commit is contained in:
@ -46,7 +46,7 @@ def dequote(s):
|
||||
|
||||
|
||||
def get_config(options):
|
||||
required_version = "3.2.4"
|
||||
required_version = "3.3.1"
|
||||
static = options["link_static"]
|
||||
|
||||
try:
|
||||
@ -54,7 +54,7 @@ def get_config(options):
|
||||
config_prg = os.environ["MARIADB_CONFIG"]
|
||||
except KeyError:
|
||||
config_prg = options["mariadb_config"]
|
||||
subprocess.call([config_prg, "--version"])
|
||||
subprocess.call([config_prg, "--cc_version"])
|
||||
except FileNotFoundError:
|
||||
# using default from path
|
||||
config_prg = "mariadb_config"
|
||||
|
Reference in New Issue
Block a user