[CONPY-242] Throws error when installing Created: 2022-12-15  Updated: 2022-12-15  Resolved: 2022-12-15

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

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

Rocky Linux 9.1 (Blue Onyx)


Issue Links:
Relates
relates to CONPY-228 Throws error when installing Closed
Python Version: 3.9.14

 Description   

>pip install mariadb
Collecting mariadb
Using cached mariadb-1.1.5.post3.tar.gz (82 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 2:
command: /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpwkeufcnm
cwd: /tmp/pip-install-fsctemcp/mariadb_be48bbeb9db24dfd9bc86183aa4ca5f4
Complete output (1 lines):
MariaDB Connector/Python requires MariaDB Connector/C >= 3.3.1, found version 3.2.6
----------------------------------------



 Comments   
Comment by Georg Richter [ 2022-12-15 ]

Please update Connector/C. Connector/C 3.2 is discontinued.

Comment by laplacetw [ 2022-12-15 ]

More explanation : Rocky Linux can't get the Connector/C 3.3 through the DNF. Although we can get it directly from download page, but installation failed when using GitLab runner since OS can't find `mariadb_config`. Thus I use v1.1.4 currently.

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