469fdb326f
- update to 1.1.2: * Prevent UnboundLocalError in very rare situation. * Close underlying SocketIO soon when Connection is closed for PyPy. * Fix importing PyMySQL fail on CPython 3.13 when getpass.getuser() raises OSEError. * Make charset name "utf8" case insensitive. * Connection.kill() uses KILL query instead of COM_KILLcommand to support MySQL 8.4. * Fix SSL error on CPython 3.13 caused by strict TLS default setting. https://github.com/PyMySQL/PyMySQL/pull/1198 * Fix auth switch request handling.
Dirk Mueller2025-09-29 21:07:02 +00:00
4d1cfdeced
- update filelist to be compatible with older setuptools - Skip a test that is failing due to character set fun and games. - disable testing for Leaps
Dirk Mueller2025-04-29 11:18:25 +00:00
72c4e95ef0
Accepting request 1264834 from devel:languages:python
Ana Guerrero2025-04-16 18:38:21 +00:00
34a06ad53d
Accepting request 1176449 from devel:languages:python
Ana Guerrero2024-05-23 13:36:06 +00:00
3b045ca817
- Update to 1.1.1 (bsc#1225070): * Prohibit dict parameter for Cursor.execute(). It didn't produce valid SQL and might cause SQL injection. (CVE-2024-36039) * Added ssl_key_password param by @svaskov in #1145Daniel Garcia2024-05-23 11:40:03 +00:00
1a5e84e6ee
Accepting request 1104322 from devel:languages:python
Ana Guerrero2023-08-17 17:44:33 +00:00
b10c45db26
Accepting request 1104197 from home:ecsos:python
Markéta Machová2023-08-17 07:57:39 +00:00
532455a121
- 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 #1130Daniel Garcia2023-08-02 11:56:33 +00:00
4a2a616833
- update to 1.0.3: * Dropped support of end of life MySQL version 5.6 * Dropped support of end of life MariaDB versions below 10.3 * Dropped support of end of life Python version 3.6
Dirk Mueller2023-05-03 08:40:13 +00:00
a4cfefa157
- Fix databases.json used for tests.
Matej Cepl2021-07-28 13:51:45 +00:00
15dd56a4cb
- 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.
Dirk Mueller2021-04-22 20:05:21 +00:00
5a340a5e98
- 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)
Dirk Mueller2020-09-16 11:02:13 +00:00
0eff397e7e
- update to 0.7.6: * 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)
Dirk Mueller2016-11-15 10:31:44 +00:00