* WL#17049: Remove usage of SQL functions MD5() and SHA1()
* WL#17088: MySQL Connector Python HeatWave GenAI and ML SDK
* WL#17048: Remove Python 3.9 support
* WL#17045: Add support for Python 3.14
* WL#16966: Upgrade Python lz4 version
* WL#16963: Update the OpenTelemetry version
* WL#16962: Update the Python Protobuf version
* WL#16954: Make sdist packages pip installable
* BUG#38072835: Authentication OCI plugin option parameters not
being supported by the aio connector
* BUG#37868219: RPM packages have incorrect copyright year in
their metadata
* BUG#37859771: mysql/connector python version 9.3.0 has a
regression which cannot persist binary data with percent
signs in it
* BUG#37820231: Text based django ORM filters doesn't work with
Connector/Python
* BUG#37806057: Rename extra option (when installing wheel
package) to install webauthn functionality dependencies
* BUG#37774513: Inconsistent conversion to_sql for cext vs pure
python
* BUG#37642447: The license type is missing from RPM package
* BUG#37627508: mysql/connector python fetchmany() has an off
by one bug when argument given as 1
* BUG#37047789: Python connector does not support Django enum
* BUG#36733242: Contribution: Add Connection Pooling Support
for AsyncIO Connector
* BUG#36452514: Missing version info resources
* BUG#34950958: MySQL Python Connector doesn't work with ssh in
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysql-connector-python?expand=0&rev=27
80 lines
2.4 KiB
RPMSpec
80 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package python-mysql-connector-python
|
|
#
|
|
# Copyright (c) 2026 SUSE LLC and contributors
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: python-mysql-connector-python
|
|
Version: 9.6.0
|
|
Release: 0
|
|
Summary: MySQL driver written in Python
|
|
License: SUSE-GPL-2.0-with-FLOSS-exception
|
|
Group: Development/Languages/Python
|
|
URL: http://dev.mysql.com/doc/connector-python/en/index.html
|
|
# GitHub: https://github.com/mysql/mysql-connector-python
|
|
Source: https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-%{version}-src.tar.gz
|
|
BuildRequires: %{python_module pip}
|
|
BuildRequires: %{python_module protobuf}
|
|
BuildRequires: %{python_module pytest}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: %{python_module wheel}
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: mariadb
|
|
BuildRequires: python-rpm-macros
|
|
Requires: python-dnspython
|
|
Requires: python-protobuf
|
|
%python_subpackages
|
|
|
|
%description
|
|
MySQL driver written in Python which does not depend on MySQL C client libraries and implements the DB API v2.0 specification (PEP-249).
|
|
|
|
%prep
|
|
%autosetup -p1 -n mysql-connector-python-%{version}-src
|
|
|
|
%build
|
|
pushd mysql-connector-python
|
|
%python_build
|
|
popd
|
|
pushd mysqlx-connector-python
|
|
%python_build
|
|
popd
|
|
|
|
%install
|
|
pushd mysql-connector-python
|
|
%python_install
|
|
popd
|
|
pushd mysqlx-connector-python
|
|
%python_install
|
|
popd
|
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
|
|
|
#FIXME(toabctl): Reenable testuite
|
|
# probably won't work against mariadb 10
|
|
# the test script is using rather deep details
|
|
# of `mysql` table structure
|
|
# --matejcik
|
|
#check
|
|
#python unittests.py --with-mysql=/usr
|
|
|
|
%files %{python_files}
|
|
%license LICENSE.txt
|
|
%doc README.txt CHANGES.txt
|
|
%{python_sitearch}/mysql
|
|
%{python_sitearch}/mysql*.egg-info
|
|
%{python_sitearch}/mysqlx
|
|
|
|
%changelog
|