[CONPY-215] mariadb python package 1.0.* requires MariaDB Connector/C >= 3.2.4 Created: 2022-07-15  Updated: 2022-07-18  Resolved: 2022-07-16

Status: Closed
Project: MariaDB Connector/Python
Component/s: Documentation, Installation
Affects Version/s: 1.0.11
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Martin Born Assignee: Georg Richter
Resolution: Not a Bug Votes: 0
Labels: None

Python Version: 3.7

 Description   

When installing the python package mariadb in version 1.0.11, the installation process stops with the message that MariaDB Connector/C library is not provided in the necessary version >= 3.2.4.

{{
× python setup.py egg_info did not run successfully.
│ exit code: 2
╰─> [1 lines of output]
MariaDB Connector/Python requires MariaDB Connector/C >= 3.2.4, found version 3.1.16
[end of output]
}}

According to the installation info here, the required version is only >= 3.1.5.

Is this is an installation "bug" or am I doing something wrong ?



 Comments   
Comment by Martin Born [ 2022-07-15 ]

Also I can see this suspicious line here in the log output:
{{
Collecting mariadb>=1.0.11
Downloading mariadb-1.1.3.tar.gz (80 kB)
}}

Comment by Georg Richter [ 2022-07-16 ]

MariaDB Connector/Python 1.0.x requires Connector/C 3.1.5 or newer:
Posix Build
Windows Build

Are you sure, that you tried to install 1.0.11 and not 1.1.x ?

Comment by Martin Born [ 2022-07-18 ]

Just double checked that and now I see my mistake... Instead of using mariadb<=1.0.11 I specified mariadb>=1.0.11
Sorry for the ticket but thanks for looking at it !!

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