./databases/py-mysqlclient, MySQL database connector for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.2.6, Package name: py312-mysqlclient-2.2.6, Maintainer: wiedi

MySQL database connector for Python.
This is a fork of MySQLdb1. This project adds Python 3 support and bug fixes.


Required to run:
[databases/mariadb106-client] [lang/python310]

Master sites:

Filesize: 88.921 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-13 09:26:22 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mysqlclient: updated to 2.2.6

What's new in 2.2.6

* MariaDB Connector/C 3.4 and MairaDB 11.4 enabled SSL and CA verification by \ 
default.
  It affected 2.2.5 windows wheel. This release disables SSL and CA verification \ 
by default.

* Add ``server_public_key_path`` option. It is needed to connect MySQL server with
  ``sha256_password`` or ``caching_sha2_password`` authentication plugin without
  secure connection.

What's new in 2.2.5

* (Windows wheel) Update MariaDB Connector/C to 3.4.1.
* (Windows wheel) Build wheels for Python 3.13.
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-02-09 11:24:18 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-mysqlclient: updated to 2.2.4

2.2.4

* Support ``ssl=True`` in ``connect()``.
  This makes better compatibility with PyMySQL and mysqlclient==2.2.1
  with libmariadb.

2.2.3

* Fix ``Connection.kill()`` method that broken in 2.2.2.

2.2.2

* Support building with MySQL 8.3
* Deprecate ``db.shutdown()`` and ``db.kill()`` methods in docstring.
  This is because ``mysql_shutdown()`` and ``mysql_kill()`` were removed in \ 
MySQL 8.3.
  They will emit DeprecationWarning in the future but not for now.

2.2.1

* ``Connection.ping()`` avoid using ``MYSQL_OPT_RECONNECT`` option until
  ``reconnect=True`` is specified. MySQL 8.0.33 start showing warning
  when the option is used.
* Windows: Update MariaDB Connector/C to 3.3.8.
* Windows: Build wheels for Python 3.12

2.2.0

* Use ``pkg-config`` instead of ``mysql_config``
* Raise ProgrammingError on -inf
* Raise IntegrityError for ER_BAD_NULL.
* Windows: Use MariaDB Connector/C 3.3.4
* Use pkg-config instead of mysql_config
* Add collation option
* Drop Python 3.7 support
* Use pyproject.toml for build
* Add Cursor.mogrify
* Partial support of ssl_mode option with mariadbclient
* Discard remaining results without creating Python objects
* Fix executemany with binary prefix
   2023-06-17 18:19:19 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-mysqlclient: update to 2.1.1.

======================
 What's new in 2.1.1
======================

Release: 2022-06-22

* Fix qualname of exception classes. (#522)
* Fix range check in ``MySQLdb._mysql.result.fetch_row()``. Invalid ``how`` \ 
argument caused SEGV. (#538)
* Fix docstring of ``_mysql.connect``. (#540)
* Windows: Binary wheels are updated. (#541)
   * Use MariaDB Connector/C 3.3.1.
   * Use cibuildwheel to build wheels.
   * Python 3.8-3.11

======================
 What's new in 2.1.0
======================

Release: 2021-11-17

* Add ``multistatement=True`` option. You can disable multi statement. (#500).
* Remove unnecessary bytes encoder which is remained for Django 1.11
  compatibility (#490).
* Deprecate ``passwd`` and ``db`` keyword. Use ``password`` and ``database``
  instead. (#488).
* Windows: Binary wheels are built with MariaDB Connector/C 3.2.4. (#508)
* ``set_character_set()`` sends ``SET NAMES`` query always. This means
  all new connections send it too. This solves compatibility issues
  when server and client library are different version. (#509)
* Remove ``escape()`` and ``escape_string()`` from ``MySQLdb`` package.
  (#511)
* Add Python 3.10 support and drop Python 3.5 support.

======================
 What's new in 2.0.3
======================

Release: 2021-01-01

* Add ``-std=c99`` option to cflags by default for ancient compilers that doesn't
  accept C99 by default.
* You can customize cflags and ldflags by setting ``MYSQLCLIENT_CFLAGS`` and
  ``MYSQLCLIENT_LDFLAGS``. It overrides ``mysql_config``.

======================
 What's new in 2.0.2
======================

Release: 2020-12-10

* Windows: Update MariaDB Connector/C to 3.1.11.
* Optimize fetching many rows with DictCursor.

======================
 What's new in 2.0.1
======================

Release: 2020-07-03

* Fixed multithread safety issue in fetching row.
* Removed obsolete members from Cursor. (e.g. `messages`, `_warnings`, \ 
`_last_executed`)

======================
 What's new in 2.0.0
======================

Release: 2020-07-02

* Dropped Python 2 support
* Dropped Django 1.11 support
* Add context manager interface to Connection which closes the connection on \ 
``__exit__``.
* Add ``ssl_mode`` option.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:10:08 by Nia Alarie | Files touched by this commit (417)
Log message:
databases: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (some may be only fetched
conditionally):

./databases/cstore/distinfo D6.data.ros.gz
./databases/cstore/distinfo cstore0.2.tar.gz
./databases/cstore/distinfo data4.tar.gz
   2021-10-07 15:35:53 by Nia Alarie | Files touched by this commit (417)
Log message:
databases: Remove SHA1 distfile hashes
   2021-06-23 22:33:18 by Nia Alarie | Files touched by this commit (103)
Log message:
Revbump for MySQL default change