1
0

Accepting request 306670 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/306670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyMySQL?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2015-05-15 05:43:54 +00:00 committed by Git OBS Bridge
commit c4e8f022c7
4 changed files with 49 additions and 5 deletions

3
PyMySQL-0.6.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c18e62ca481c5ada6c7bee1b81fc003d6ceae932c878db384cd36808010b3774
size 56862

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12ac5ef0b21147a6529064292e9bf2f7f7f6224aa789381c9be5bccc88ac1020
size 52880

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Mon May 11 16:53:18 UTC 2015 - benoit.monin@gmx.fr
- update to version 0.6.6:
Add context manager to cursor
* Fix can't encode blob that is not utf-8 on PY3. (regression of
0.6.4, Thanks to @wiggzz)
- additional changes from version 0.6.4
* Support "LOAD LOCAL INFILE". Thanks @wraziens
* Show MySQL warnings after execute query.
* Fix MySQLError may be wrapped with OperationalError while
connectiong. (#274)
* SSCursor no longer attempts to expire un-collected rows within
__del__, delaying termination of an interrupted program;
cleanup of uncollected rows is left to the Connection on next
execute, which emits a warning at that time. (#287)
* Support datetime and time with microsecond. (#303)
* Use surrogateescape to format bytes on Python 3.
* OperationalError raised from connect() have information about
original exception. (#304)
* `init_command` now support multi statement.
* `Connection.escape()` method now accepts second argument
compatible to MySQL-Python.
- additional changes from version 0.6.3
* Fixed multiple result sets with SSCursor.
* Fixed connection timeout.
* Fixed literal set syntax to work on Py2.6.
* Allow for mysql negative values with 0 hour timedelta.
* Added Connection.begin().
- additional changes from version 0.6.2
* Fixed old password on Python 3.
* Added support for bulk insert in Cursor.executemany().
* Added support for microseconds in datetimes and dates before
1900.
* Several other bug fixes.
- additional changes from version 0.6.1
* Added cursor._last_executed for MySQLdb compatibility
* Cursor.fetchall() and .fetchmany now return list, not tuple
* Allow "length of auth-plugin-data" = 0
* Cursor.connection references connection object without weakref
- remove unwanted shebang of python files in test_MySQLdb
-------------------------------------------------------------------
Wed Oct 9 12:32:51 UTC 2013 - dmueller@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-PyMySQL
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: python-PyMySQL
Version: 0.6
Version: 0.6.6
Release: 0
Summary: Pure Python MySQL Driver
License: MIT
@ -45,6 +45,8 @@ its unit tests as well as running it against the MySQLdb and myconnpy unit tests
%prep
%setup -q -n PyMySQL-%{version}
# remove unwanted shebang
sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py
%build
python setup.py build