Revisions of python-PyMySQL
Ana Guerrero (anag+factory)
accepted
request 1176449
from
Daniel Garcia (dgarcia)
(revision 21)
- 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 #1145
Ana Guerrero (anag+factory)
accepted
request 1104322
from
Markéta Machová (mcalabkova)
(revision 20)
Dominique Leuenberger (dimstar_suse)
accepted
request 1101976
from
Daniel Garcia (dgarcia)
(revision 19)
- 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
Dominique Leuenberger (dimstar_suse)
accepted
request 1084213
from
Dirk Mueller (dirkmueller)
(revision 18)
- 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
Dominique Leuenberger (dimstar_suse)
accepted
request 1010356
from
Steve Kowalik (StevenK)
(revision 17)
- Skip a test that is failing due to character set fun and games.
Dominique Leuenberger (dimstar_suse)
accepted
request 908898
from
Matej Cepl (mcepl)
(revision 16)
- 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.
Dominique Leuenberger (dimstar_suse)
accepted
request 850935
from
Dirk Mueller (dirkmueller)
(revision 15)
- udpate to 0.10.1: * Fix missing import of ProgrammingError. (#878) * Fix auth switch request handling. (#890)
Dominique Leuenberger (dimstar_suse)
accepted
request 838337
from
Dirk Mueller (dirkmueller)
(revision 14)
Dominique Leuenberger (dimstar_suse)
accepted
request 834872
from
Dirk Mueller (dirkmueller)
(revision 13)
- 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)
Dominique Leuenberger (dimstar_suse)
accepted
request 811739
from
Tomáš Chvátal (scarabeus_iv)
(revision 12)
Dominique Leuenberger (dimstar_suse)
accepted
request 682059
from
Tomáš Chvátal (scarabeus_iv)
(revision 11)
- Update to 0.9.3: * cryptography dependency is optional now. * Fix old_password (used before MySQL 4.1) support. * Deprecate old_password. * Stop sending ``sys.argv[0]`` for connection attribute "program_name". * Close connection when unknown error is happened. * Deprecate context manager API of Connection object. * Disalbled unintentinally enabled debug log * Removed unintentionally installed tests * Fixed caching_sha2_password and sha256_password raise TypeError on PY2 (#700, #702) * Change default charset from latin1 to utf8mb4. (because MySQL 8 changed) (#692) * Support sha256_password and caching_sha2_password auth method (#682) * Add cryptography dependency, because it's needed for new auth methods. * Remove deprecated `no_delay` option (#694) * Support connection attributes (#679) * Map LOCK_DEADLOCK to OperationalError (#693)
Dominique Leuenberger (dimstar_suse)
accepted
request 611861
from
Tomáš Chvátal (scarabeus_iv)
(revision 10)
- 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.
Dominique Leuenberger (dimstar_suse)
accepted
request 517107
from
Todd R (TheBlackCat)
(revision 9)
1
Dominique Leuenberger (dimstar_suse)
accepted
request 441342
from
Factory Maintainer (factory-maintainer)
(revision 8)
Automatic submission by obs-autosubmit
Dominique Leuenberger (dimstar_suse)
accepted
request 400235
from
Dirk Mueller (dirkmueller)
(revision 7)
1
Dominique Leuenberger (dimstar_suse)
accepted
request 379449
from
Todd R (TheBlackCat)
(revision 6)
1
Adrian Schröter (adrianSuSE)
committed
(revision 4)
Split 13.2 from Factory
Tomáš Chvátal (scarabeus_factory)
accepted
request 202707
from
Sascha Peilicke (saschpe)
(revision 3)
- update to 0.6: -Improved Py3k support -Improved PyPy support -Added IPv6 support -Added Thing2Literal for Django/MySQLdb compatibility -Removed errorhandler -Fixed GC errors -Improved test suite -Many bug fixes -Many performance improvements (forwarded request 202699 from dirkmueller)
Adrian Schröter (adrianSuSE)
committed
(revision 2)
Split 13.1 from Factory
Displaying revisions 1 - 20 of 21