- disable test_json broken with latest mariadb (11.0)
- update to 1.1.0:
* Remove redundant wheel dep from pyproject.toml by @mgorny in #1099
* ci: Fix black options by @methane in #1109
* Remove unused function by @methane in #1108
* Expose Cursor.warning_count by @Nothing4You in #1056
* Add constants and tests related to query timeouts by @Nothing4You in #1033
* Fix SSCursor raising query timeout error on wrong query on MySQL DB by @Nothing4You in #1035
* Make Cursor an iterator by @sanchezg in #995
* ci: Update CodeQL workflow by @methane in #1110
* Use Ruff instead of flake8 by @methane in #1112
* Use Codecov instead of coveralls. by @methane in #1113
* optionfile: Replace _ with - by @methane in #1114
* Cursor.fetchall() always return list. by @methane in #1115
* Fix LOAD DATA LOCAL INFILE write EOF packet on closed connection. by @methane in #1116
* Deprecate Cursor.Error access by @methane in #1117
* Run pyupgrade by @methane in #1118
* Add collation option and set_character_set() to Connection by @methane in #1119
* CI: Run Django test by @methane in #1121
* Release v1.1.0rc1 by @methane in #1122
* Bump mariadb version by @grooverdan in #1123
* Configure Renovate by @renovate in #1124
* Make charset="utf8" use utf8mb4. by @methane in #1127
* Add codecov.yml by @methane in #1128
* Release v1.1.0rc2 by @methane in #1129
* Release v1.1.0 by @methane in #1130
OBS-URL: https://build.opensuse.org/request/show/1101976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyMySQL?expand=0&rev=19
- update to 1.1.0:
* Remove redundant wheel dep from pyproject.toml by @mgorny in #1099
* ci: Fix black options by @methane in #1109
* Remove unused function by @methane in #1108
* Expose Cursor.warning_count by @Nothing4You in #1056
* Add constants and tests related to query timeouts by @Nothing4You in #1033
* Fix SSCursor raising query timeout error on wrong query on MySQL DB by @Nothing4You in #1035
* Make Cursor an iterator by @sanchezg in #995
* ci: Update CodeQL workflow by @methane in #1110
* Use Ruff instead of flake8 by @methane in #1112
* Use Codecov instead of coveralls. by @methane in #1113
* optionfile: Replace _ with - by @methane in #1114
* Cursor.fetchall() always return list. by @methane in #1115
* Fix LOAD DATA LOCAL INFILE write EOF packet on closed connection. by @methane in #1116
* Deprecate Cursor.Error access by @methane in #1117
* Run pyupgrade by @methane in #1118
* Add collation option and set_character_set() to Connection by @methane in #1119
* CI: Run Django test by @methane in #1121
* Release v1.1.0rc1 by @methane in #1122
* Bump mariadb version by @grooverdan in #1123
* Configure Renovate by @renovate in #1124
* Make charset="utf8" use utf8mb4. by @methane in #1127
* Add codecov.yml by @methane in #1128
* Release v1.1.0rc2 by @methane in #1129
* Release v1.1.0 by @methane in #1130
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=35
- Fix databases.json used for tests.
- update to 1.0.2:
* Fix `user`, `password`, `host`, `database` are still positional arguments.
All arguments of `connect()` are now keyword-only. (#941)
* Stop emitting DeprecationWarning for use of ``db`` and ``passwd``.
Note that they are still deprecated. (#939)
* Add ``python_requires=">=3.6"`` to setup.py. (#936)
* Python 2.7 and 3.5 are not supported.
* ``connect()`` uses keyword-only arguments. User must use keyword argument.
* ``connect()`` kwargs ``db`` and ``passwd`` are now deprecated; Use ``database`` and ``password`` instead.
* old_password authentication method (used by MySQL older than 4.1) is not supported.
* MySQL 5.5 and MariaDB 5.5 are not officially supported, although it may still works.
* Removed ``escape_dict``, ``escape_sequence``, and ``escape_string`` from ``pymysql``
module. They are still in ``pymysql.converters``.
* Connection supports context manager API. ``__exit__`` closes the connection. (#886)
* Add MySQL Connector/Python compatible TLS options (#903)
* Major code cleanup; PyMySQL now uses black and flake8.
OBS-URL: https://build.opensuse.org/request/show/908898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyMySQL?expand=0&rev=16
* Fix `user`, `password`, `host`, `database` are still positional arguments.
All arguments of `connect()` are now keyword-only. (#941)
* Stop emitting DeprecationWarning for use of ``db`` and ``passwd``.
Note that they are still deprecated. (#939)
* Add ``python_requires=">=3.6"`` to setup.py. (#936)
* Python 2.7 and 3.5 are not supported.
* ``connect()`` uses keyword-only arguments. User must use keyword argument.
* ``connect()`` kwargs ``db`` and ``passwd`` are now deprecated; Use ``database`` and ``password`` instead.
* old_password authentication method (used by MySQL older than 4.1) is not supported.
* MySQL 5.5 and MariaDB 5.5 are not officially supported, although it may still works.
* Removed ``escape_dict``, ``escape_sequence``, and ``escape_string`` from ``pymysql``
module. They are still in ``pymysql.converters``.
* Connection supports context manager API. ``__exit__`` closes the connection. (#886)
* Add MySQL Connector/Python compatible TLS options (#903)
* Major code cleanup; PyMySQL now uses black and flake8.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=29
- update to 0.10.0:
* MariaDB ed25519 auth is supported.
* Python 3.4 support is dropped.
* Context manager interface is removed from `Connection`. It will be added
with different meaning.
* MySQL warnings are not shown by default because many user report issue to
PyMySQL issue tracker when they see warning. You need to call "SHOW WARNINGS"
explicitly when you want to see warnings.
* Formatting of float object is changed from "3.14" to "3.14e0".
* Use cp1252 codec for latin1 charset.
* Fix decimal literal.
* TRUNCATED_WRONG_VALUE_FOR_FIELD, and ILLEGAL_VALUE_FOR_TYPE are now
DataError instead of InternalError.
- remove python-PyMySQL-no-unittest2.patch (upstream)
OBS-URL: https://build.opensuse.org/request/show/834872
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyMySQL?expand=0&rev=13
* MariaDB ed25519 auth is supported.
* Python 3.4 support is dropped.
* Context manager interface is removed from `Connection`. It will be added
with different meaning.
* MySQL warnings are not shown by default because many user report issue to
PyMySQL issue tracker when they see warning. You need to call "SHOW WARNINGS"
explicitly when you want to see warnings.
* Formatting of float object is changed from "3.14" to "3.14e0".
* Use cp1252 codec for latin1 charset.
* Fix decimal literal.
* TRUNCATED_WRONG_VALUE_FOR_FIELD, and ILLEGAL_VALUE_FOR_TYPE are now
DataError instead of InternalError.
- remove python-PyMySQL-no-unittest2.patch (upstream)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=23
- Drop not really needed python-devel dependency
- use %license instead of %doc [bsc#1082318]
- update to latest version to solve MySQLdb interface problems with
salt-2018
- update to 0.8.1
* Reduce `cursor.callproc()` roundtrip time. (#636)
* Fixed `cursor.query()` is hunged after multi statement failed. (#647)
* WRONG_DB_NAME and WRONG_COLUMN_NAME is ProgrammingError for now. (#629)
* Many test suite improvements, especially adding MySQL 8.0 and using Docker.
* Droppped support for old Python and MySQL whih is not tested long time.
- update to 0.8
* **BACKWARD INCOMPATIBLE** ``binary_prefix`` option is added and off
by default because of compatibility with mysqlclient.
When you need PyMySQL 0.7 behavior, you have to pass ``binary_prefix=True``.
(#549)
* **BACKWARD INCOMPATIBLE** ``MULTI_STATEMENTS`` client flag is no longer
set by default, while it was on PyMySQL 0.7. You need to pass
``client_flag=CLIENT.MULTI_STATEMENTS`` when you connect to explicitly
enable multi-statement mode. (#590)
* Fixed AuthSwitch packet handling.
* Raise OperationalError for MariaDB's constraint error. (#607)
* executemany() accepts query without space between ``VALUES`` and ``(``. (#597)
* Support config file containing option without value. (#588)
* Fixed Connection.ping() returned unintended value.
OBS-URL: https://build.opensuse.org/request/show/611861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyMySQL?expand=0&rev=10
- use %license instead of %doc [bsc#1082318]
- update to latest version to solve MySQLdb interface problems with
salt-2018
- update to 0.8.1
* Reduce `cursor.callproc()` roundtrip time. (#636)
* Fixed `cursor.query()` is hunged after multi statement failed. (#647)
* WRONG_DB_NAME and WRONG_COLUMN_NAME is ProgrammingError for now. (#629)
* Many test suite improvements, especially adding MySQL 8.0 and using Docker.
* Droppped support for old Python and MySQL whih is not tested long time.
- update to 0.8
* **BACKWARD INCOMPATIBLE** ``binary_prefix`` option is added and off
by default because of compatibility with mysqlclient.
When you need PyMySQL 0.7 behavior, you have to pass ``binary_prefix=True``.
(#549)
* **BACKWARD INCOMPATIBLE** ``MULTI_STATEMENTS`` client flag is no longer
set by default, while it was on PyMySQL 0.7. You need to pass
``client_flag=CLIENT.MULTI_STATEMENTS`` when you connect to explicitly
enable multi-statement mode. (#590)
* Fixed AuthSwitch packet handling.
* Raise OperationalError for MariaDB's constraint error. (#607)
* executemany() accepts query without space between ``VALUES`` and ``(``. (#597)
* Support config file containing option without value. (#588)
* Fixed Connection.ping() returned unintended value.
OBS-URL: https://build.opensuse.org/request/show/611837
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=16
* Fix SELECT JSON type cause UnicodeError
* Avoid float convertion while parsing microseconds
* Warning has number
* SSCursor supports warnings
* Fix exception raised while importing when getpwuid() fails (#472)
* SSCursor supports LOAD DATA LOCAL INFILE (#473)
* Fix encoding error happen for JSON type (#477)
* Fix test fail on Python 2.7 and MySQL 5.7 (#478)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=12
- update to 0.7.4:
* Fix AttributeError may happen while Connection.__del__ (#463)
* Fix SyntaxError in test_cursor. (#464)
* frozenset support for query value. (#461)
* Start using readthedocs.io
* Add read_timeout and write_timeout option.
* Support serialization customization by `conv` option.
* Unknown type is converted by `str()`, for MySQLdb compatibility.
* Support '%%' in `Cursor.executemany()`
* Support REPLACE statement in `Cursor.executemany()`
* Fix handling incomplete row caused by 'SHOW SLAVE HOSTS'.
* Fix decode error when use_unicode=False on PY3
* Fix port option in my.cnf file is ignored.
OBS-URL: https://build.opensuse.org/request/show/400004
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=10