[CONPY-163] v. 1.1.1 available via PyPI as non-prerelease Created: 2021-08-23  Updated: 2021-08-24  Resolved: 2021-08-24

Status: Closed
Project: MariaDB Connector/Python
Component/s: Installation
Affects Version/s: 1.1.0b1
Fix Version/s: 1.1.0b1

Type: Bug Priority: Major
Reporter: Rob Hedgpeth (Inactive) Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None
Environment:

macOS Mojave Version 10.14.6


Python Version: 3.9.6

 Description   

The Python Package Index (PyPI) is allowing you to download and install Connector/Python v. 1.1.1 as if it were not a pre-release version even though it appears to have a Developer Status of "3 - Alpha". (https://pypi.org/project/mariadb/)

The result of running

$ pip3 install mariadb

attempts to install MariaDB Connector/Python v. 1.1.1.

However, there is a requirement for Connector/C v.3.2.4+ before Connector/Python can be installed. Otherwise, Connector/Python v.1.0.7 will be installed.

Because I was using macOS I attempted to update Connector/C to v.3.2.4, but from Homebrew this is not possible as the current stable version is v.3.2.3 (https://formulae.brew.sh/formula/mariadb-connector-c).

The workaround I found to get the Connector/C v.3.2.4 bits on my machine was to install the latest MariaDB Server 10.6 (via Homebrew), which includes Connector/C v.3.2.4. (https://formulae.brew.sh/formula/mariadb)

Though I was able to get things to work in the end it's still a little unclear to me what our official position is on C/C and C/P support is on MacOS considering that both are available for download and installation (via Homebrew and PyPI). I just want to make sure I am helping to manage external (developer) expectations in any content that I create.



 Comments   
Comment by Georg Richter [ 2021-08-24 ]

According to PEP386, alpha ist not enough, version number is now 1.1.0a2 (2nd Alpha)

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