The NetBSD Project

CVS log for pkgsrc/databases/py-mysqlclient/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / databases / py-mysqlclient

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Apr 14 11:31:11 2025 UTC (2 weeks ago) by adam
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -2 lines
Fix PLIST after py-setuptools update; bump depends and revision

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jan 14 17:05:27 2025 UTC (3 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
py-mysqlclient: updated to 2.2.7

What's new in 2.2.7

* Add ``user``, ``host``, ``database``, and ``db`` attributes to ``Connection``.
  opentelemetry-instrumentation-(dbapi|mysqlclient) use them.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Nov 13 08:26:22 2024 UTC (5 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -5 lines
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.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Nov 11 07:27:57 2024 UTC (5 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -2 lines
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Feb 9 10:24:18 2024 UTC (14 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +8 -8 lines
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

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jun 17 16:19:19 2023 UTC (22 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -6 lines
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.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:52:43 2022 UTC (3 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jun 23 20:33:09 2021 UTC (3 years, 10 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
Revbump for MySQL default change

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat May 16 09:03:22 2020 UTC (4 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
fix pytest versioned dep.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat May 16 08:46:42 2020 UTC (4 years, 11 months ago) by adam
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -2 lines
py-mysqlclient: pytest from versioned depends

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Nov 21 20:34:21 2019 UTC (5 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
py-mysqlclient: updated to 1.4.6

What's new in 1.4.6
The cp1252 encoding is used when charset is "latin1".

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Nov 14 17:26:16 2019 UTC (5 years, 5 months ago) by adam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +11 -9 lines
py-mysqlclient: updated to 1.4.5

What's new in 1.4.5
* The ``auth_plugin`` option is added.

What's new in 1.4.4
* ``charset`` option is passed to ``mysql_options(mysql, MYSQL_SET_CHARSET_NAME, charset)``
  before ``mysql_real_connect`` is called.
  This avoid extra ``SET NAMES <charset>`` query when creating connection.

What's new in 1.4.3
* ``--static`` build supports ``libmariadbclient.a``
* Try ``mariadb_config`` when ``mysql_config`` is not found
* Fixed warning happend in Python 3.8
* Fixed ``from MySQLdb import *``, while I don't recommend it.
* Fixed SEGV ``MySQLdb.escape_string("1")`` when libmariadb is used and
  no connection is created.
* Fixed many circular references are created in ``Cursor.executemany()``.

What's new in 1.4.2
* Fix Django 1.11 compatibility.
  mysqlclient 1.5 will not support Django 1.11.  It is not because
  mysqlclient will break backward compatibility, but Django used
  unsupported APIs and Django 1.11 don't fix bugs including
  compatibility issues.

What's new in 1.4.1
* Fix dict parameter support

What's new in 1.4.0
* Dropped Python 3.4 support.
* Removed ``threadsafe`` and ``embedded`` build options.
* Remove some deprecated cursor classes and methods.
* ``_mysql`` and ``_mysql_exceptions`` modules are moved under
  ``MySQLdb`` package.
* Remove ``errorhandler`` from Connection and Cursor classes.
* Remove context manager API from Connection.  It was for transaction.
  New context manager API for closing connection will be added in future version.
* Remove ``waiter`` option from Connection.
* Remove ``escape_sequence``, and ``escape_dict`` methods from Connection class.
* Remove automatic MySQL warning checking.
* Drop support for MySQL Connector/C with MySQL<5.1.12.
* Remove ``_mysql.NULL`` constant.
* Remove ``_mysql.thread_safe()`` function.
* Support non-ASCII field name with non-UTF-8 connection encoding.
* Optimize decoding speed of string and integer types.
* Remove ``MySQLdb.constants.REFRESH`` module.
* Remove support for old datetime format for MySQL < 4.1.
* Fix wrong errno is raised when ``mysql_real_connect`` is failed.

What's new in 1.3.14
* Support static linking of MariaDB Connector/C
* Better converter for Decimal and Float
* Add ``Connection._get_native_connection`` for XTA project
* Fix SEGV on MariaDB Connector/C when some methods of ``Connection``
  objects are called after ``Connection.close()`` is called.
* Fix ``Connection.client_flag``
* Fix SSCursor may raise same exception twice
  * This removed ``Cursor._last_executed`` which was duplicate of ``Cursor._executed``.
    Both members are private.  So this type of changes are not documented in changelog
    generally.  But Django used the private member for ``last_executed_query`` implementation.
    If you use the method the method directly or indirectly, this version will break
    your application.  See https://code.djangoproject.com/ticket/30013
* ``waiter`` option is now deprecated.
* Fixed SSL support is not detected when built with MySQL < 5.1

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Jul 5 18:40:55 2018 UTC (6 years, 9 months ago) by wiedi
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
py-mysqlclient: update to 1.3.13

Changes:
	- Support build with MySQL 8
	- Fix decoding tiny/medium/long blobs (#215)
	- Remove broken row_seek() and row_tell() APIs (#220)
	- Reduce callproc roundtrip time (#223)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Feb 1 22:20:08 2018 UTC (7 years, 2 months ago) by fhajny
Branches: MAIN
CVS tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Import mysqlclient 1.3.12 as databases/py-mysqlclient.
Based on https://github.com/joyent/pkgsrc/issues/77 by @wiedi

This is a fork of MySQLdb. This project adds Python 3 support and bug fixes.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>