1
0
Commit Graph

15 Commits

Author SHA256 Message Date
c62c08923c - udpate to 0.10.1:
* Fix missing import of ProgrammingError. (#878)
  * Fix auth switch request handling. (#890)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=27
2020-11-26 09:11:44 +00:00
0e61974c81 Accepting request 836337 from home:frispete:python
Duh, sorry..

- disable testing for Leaps 
  mariadb-rpm-macros not available or not sufficient

OBS-URL: https://build.opensuse.org/request/show/836337
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=25
2020-09-28 16:23:01 +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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=23
2020-09-16 11:02:13 +00:00
Tomáš Chvátal
c2372893dd Accepting request 811672 from home:pgajdos:python
- test package with mariadb
- added patches
  a500fcd64d
  + python-PyMySQL-no-unittest2.patch

OBS-URL: https://build.opensuse.org/request/show/811672
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=21
2020-06-05 10:18:24 +00:00
Tomáš Chvátal
5acc33fc4d - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=19
2019-03-06 09:16:57 +00:00
Tomáš Chvátal
9c2f9ecd59 - Drop not really needed python-devel dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=17
2018-05-24 11:15:01 +00:00
fde2ac10ba Accepting request 611837 from home:kukuk:branches:devel:languages:python
- 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
2018-05-24 11:04:59 +00:00
Todd R
4cf09389fc Accepting request 517105 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version
- update to 0.7.11

OBS-URL: https://build.opensuse.org/request/show/517105
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=14
2017-08-16 02:22:53 +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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=12
2016-11-15 10:31:44 +00:00
f0c814a595 Accepting request 400004 from home:tbechtold:branches:devel:languages:python
- 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
2016-06-06 11:14:49 +00:00
Todd R
51d8ad03f7 Accepting request 379446 from home:TheBlackCat:branches:devel:languages:python
Add license and docs

OBS-URL: https://build.opensuse.org/request/show/379446
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=8
2016-03-24 19:20:14 +00:00
Todd R
4efd80f6de Accepting request 379440 from home:TheBlackCat:branches:devel:languages:python
Update to 0.7.2

OBS-URL: https://build.opensuse.org/request/show/379440
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=7
2016-03-24 19:12:52 +00:00
Denisart Benjamin
b71021c0f9 Accepting request 306395 from home:benoit_monin:branches:devel:languages:python
- update to version 0.6.6
- remove unwanted shebang of python files in test_MySQLdb

OBS-URL: https://build.opensuse.org/request/show/306395
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=5
2015-05-12 21:35:14 +00:00
Sascha Peilicke
5cf7cc0cc4 Accepting request 202699 from home:dirkmueller:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/202699
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=3
2013-10-09 13:30:14 +00:00
Sascha Peilicke
502e5969f0 - Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=1
2013-07-22 08:11:40 +00:00