13 Commits

Author SHA256 Message Date
d0cb4e0108 Accepting request 879499 from home:buschmann23:branches:devel:languages:python
- Update to 2.0.3:
  * Add -std=c99 option to cflags by default for ancient compilers
    that doesn't accept C99 by default.
  * You can customize cflags and ldflags by setting MYSQLCLIENT_CFLAGS
    and MYSQLCLIENT_LDFLAGS. It overrides mysql_config.
- Change in 2.0.2:
  * Optimize fetching many rows with DictCursor.
- Change in 2.0.1:
  * Fixed multithread safety issue in fetching row.
  * Removed obsolete members from Cursor. (e.g. messages, _warnings,
    _last_executed)
- Change in 2.0.0:
  * Dropped Python 2 support
  * Dropped Django 1.11 support
  * Add context manager interface to Connection which closes the
    connection on __exit__.
  * Add ssl_mode option.

OBS-URL: https://build.opensuse.org/request/show/879499
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=24
2021-03-18 13:08:12 +00:00
Tomáš Chvátal
3b4f575077 Accepting request 811675 from home:pgajdos:python
- do mysql shutdown even if testsuite fails, exit 1 afterwards

OBS-URL: https://build.opensuse.org/request/show/811675
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=22
2020-06-05 10:19:41 +00:00
Tomáš Chvátal
300e4791a6 Accepting request 782056 from home:kstreitova:branches:devel:languages:python
- fix test package by adding BuildRequires: %{python_module mysqlclient
  >= %{version}}

- switch to multibuild to run tests and avoid a buildcycle with
  mariadb

OBS-URL: https://build.opensuse.org/request/show/782056
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=20
2020-03-06 18:14:32 +00:00
Tomáš Chvátal
b58bc27fbc Accepting request 780212 from home:pgajdos:mariadb
- %check: choose better database user name

OBS-URL: https://build.opensuse.org/request/show/780212
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=18
2020-02-28 10:10:09 +00:00
ed9a380558 Accepting request 755372 from home:pgajdos
- run the testsuite against test mysqld server

OBS-URL: https://build.opensuse.org/request/show/755372
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=16
2019-12-11 18:11:07 +00:00
Alexei Podvalsky
fe694baa6c Accepting request 750367 from home:awissu:branches:devel:languages:python
- Update to 1.4.6:
  * The cp1252 encoding is used when charset is "latin1". (#390)
- Change in 1.4.5:
  * The auth_plugin option is added. (#389)
- Update to 1.4.4:
  * charset option is passed to mysql_options(mysql, MYSQL_SET_CHARSET_NAME,
    charset) before mysql_real_connect is called. This avoid extra
    SET NAMES <charset> query when creating connection.
- Change in 1.4.3:
  * --static build supports libmariadbclient.a
  * Try mariadb_config when mysql_config is not found
  * Fixed warning happend in Python 3.8 (#359)
  * Fixed from MySQLdb import *, while I don't recommend it. (#369)
  * Fixed SEGV MySQLdb.escape_string("1") when libmariadb is used and
    no connection is created. (#367)
  * Fixed many circular references are created in Cursor.executemany().
- Add python3-attrs to build
- Generate documentation only with sphinx3 no need to do it
  twice
- Update to 1.4.2:
  * Fix Django 1.11 compatibility.
- Drop MySQL-python-Py_ssize.patch
- Update to 1.3.14:
  * Support static linking of MariaDB Connector/C (#265)
  * Better converter for Decimal and Float (#267, #268, #273, #286)
  * Add Connection._get_native_connection for XTA project (#269)
  * Fix SEGV on MariaDB Connector/C when Connection.close() is called
    for closed connection. (#270, #272, #276)
  * Fix Connection.client_flag (#266)
  * Fix SSCursor may raise same exception twice (#282)
  * Fixed SSL support is not detected when built with MySQL < 5.1 (#291)
- Add obsoletes/provides with "python-" prefix (oldpython macro)
- Fix build on openSUSE 42.3 (rename: libmariadb-devel to
  libmysqlclient-devel)
- Switch to fork of MySQLdb1
- Update a package description
- Build with python3 and python2 (singlespec)
- Mark obsolete packages: python-mysql, python-MySQL-python
- Spec file cleanup
- Fix build on non-SUSE distros by conditionalizing Recommends: tag
- Update to version 1.2.4
  + No changelog available
- Set correct Group : Development/Languages/Python
- Use download Url as source
- Spec file general clean-up
- Add MySQL-python-1.2.4-dont-use-python-distribute.patch; don't try
  to use unavailable python-distribute
- Remove depreciate AutoReqProv, %{py_requires} and # norootforbuild tags
- Add unzip requirement to support tarball format
- Add python-Sphinx requirement and generate html documentation
- Remove --record-rpm=INSTALLED_FILES option and add %{python_sitearch}
  in %files instead
- Package GPL-2.0, HISTORY and Sphinx documentation
- fix the previous fix, patch went upstream
- update to 1.2.3
  - no upstream changelog available
- taking out the reconnect patch as the upstream sources contain
  a very specific comment that this means trouble
- removed usage of deprecated sets module (bnc#462974)
- update to 1.2.2
  - various bugfixes
  - much better support for mysql5
  - python2.5 support (crude, though, let's keep our patch for a while)
  - switch from distutils to setuptools
- added patch supporting reconnect in mysql5
- update to 1.2.1_p2
  - support for some new features of mysql 4.1 and 5.0
- fixes for 64bit bugs due to PEP353
- updated to reflect python changes due to #149809
- converted neededforbuild to BuildRequires
- update to 1.2.0
- update to 1.1.9 (MySQL 4.1 support)
- updated to 1.1.1
- fixed lib64 build
- update to 1.1.0
- drop python 2.1 support
- build as user
- updated to 0.9.3a2:
  * Add some support for Python 2.3 datetime classes.
  * Removed some casts in _mysql_init() that caused problems with
    Python 2.3. The type for tp_free was changed from destructor
    to freefunc. Removing the casts make both 2.2 and 2.3 happy.
  * Fixed the bug that prevented member access.
  * Embedded server support. Can't get it use InnoDB tables yet.
    However, MyISAM (default) tables seem to work fine.
- one source package for both python versions
- added few more files to docs
- builds on lib64
- updated to 0.9.2
- use record-rpm
- use versioned dependency on python
- using build root
- file list is correct on lib64 arches
- up to 0.9.1 to make it build on python-2.2
- Add mysql-shared to neededforbuild.
- initial version 0.9.0

OBS-URL: https://build.opensuse.org/request/show/750367
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=14
2019-11-22 17:35:50 +00:00
Alexei Podvalsky
b51ea16b27 Accepting request 723830 from home:awissu:branches:devel:languages:python
- Update to 1.4.4:
  * charset option is passed to mysql_options(mysql, MYSQL_SET_CHARSET_NAME, 
    charset) before mysql_real_connect is called. This avoid extra 
    SET NAMES <charset> query when creating connection.
- Change in 1.4.3:
  * --static build supports libmariadbclient.a
  * Try mariadb_config when mysql_config is not found
  * Fixed warning happend in Python 3.8 (#359)
  * Fixed from MySQLdb import *, while I don't recommend it. (#369)
  * Fixed SEGV MySQLdb.escape_string("1") when libmariadb is used and 
    no connection is created. (#367)
  * Fixed many circular references are created in Cursor.executemany().
- Add python3-attrs to build

OBS-URL: https://build.opensuse.org/request/show/723830
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=12
2019-08-15 19:50:40 +00:00
Tomáš Chvátal
e1281e0fdb - Generate documentation only with sphinx3 no need to do it
twice

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=10
2019-06-06 14:30:44 +00:00
Alexei Podvalsky
dd907179bd Accepting request 672903 from home:awissu:branches:devel:languages:python
- Update to 1.4.2:
  * Fix Django 1.11 compatibility.
- Drop MySQL-python-Py_ssize.patch
- Update to 1.3.14:
  * Support static linking of MariaDB Connector/C (#265)
  * Better converter for Decimal and Float (#267, #268, #273, #286)
  * Add Connection._get_native_connection for XTA project (#269)
  * Fix SEGV on MariaDB Connector/C when Connection.close() is called
    for closed connection. (#270, #272, #276)
  * Fix Connection.client_flag (#266)
  * Fix SSCursor may raise same exception twice (#282)
  * Fixed SSL support is not detected when built with MySQL < 5.1 (#291)
- Add obsoletes/provides with "python-" prefix (oldpython macro)
- Fix build on openSUSE 42.3 (rename: libmariadb-devel to
  libmysqlclient-devel)
- Switch to fork of MySQLdb1
- Update a package description
- Build with python3 and python2 (singlespec)
- Mark obsolete packages: python-mysql, python-MySQL-python
- Spec file cleanup
- Fix build on non-SUSE distros by conditionalizing Recommends: tag
- Update to version 1.2.4
  + No changelog available
- Set correct Group : Development/Languages/Python
- Use download Url as source
- Spec file general clean-up
- Add MySQL-python-1.2.4-dont-use-python-distribute.patch; don't try
  to use unavailable python-distribute
- Remove depreciate AutoReqProv, %{py_requires} and # norootforbuild tags
- Add unzip requirement to support tarball format
- Add python-Sphinx requirement and generate html documentation
- Remove --record-rpm=INSTALLED_FILES option and add %{python_sitearch}
  in %files instead
- Package GPL-2.0, HISTORY and Sphinx documentation
- fix the previous fix, patch went upstream
- update to 1.2.3
  - no upstream changelog available
- taking out the reconnect patch as the upstream sources contain
  a very specific comment that this means trouble
- removed usage of deprecated sets module (bnc#462974)
- update to 1.2.2
  - various bugfixes
  - much better support for mysql5
  - python2.5 support (crude, though, let's keep our patch for a while)
  - switch from distutils to setuptools
- added patch supporting reconnect in mysql5
- update to 1.2.1_p2
  - support for some new features of mysql 4.1 and 5.0
- fixes for 64bit bugs due to PEP353
- updated to reflect python changes due to #149809
- converted neededforbuild to BuildRequires
- update to 1.2.0
- update to 1.1.9 (MySQL 4.1 support)
- updated to 1.1.1
- fixed lib64 build
- update to 1.1.0
- drop python 2.1 support
- build as user
- updated to 0.9.3a2:
  * Add some support for Python 2.3 datetime classes.
  * Removed some casts in _mysql_init() that caused problems with
    Python 2.3. The type for tp_free was changed from destructor
    to freefunc. Removing the casts make both 2.2 and 2.3 happy.
  * Fixed the bug that prevented member access.
  * Embedded server support. Can't get it use InnoDB tables yet.
    However, MyISAM (default) tables seem to work fine.
- one source package for both python versions
- added few more files to docs
- builds on lib64
- updated to 0.9.2
- use record-rpm
- use versioned dependency on python
- using build root
- file list is correct on lib64 arches
- up to 0.9.1 to make it build on python-2.2
- Add mysql-shared to neededforbuild.
- initial version 0.9.0

OBS-URL: https://build.opensuse.org/request/show/672903
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=8
2019-02-08 23:44:27 +00:00
Alexei Podvalsky
d9c9473c93 Accepting request 656807 from home:awissu:branches:devel:languages:python
- Update to 1.3.14:
  * Support static linking of MariaDB Connector/C (#265)
  * Better converter for Decimal and Float (#267, #268, #273, #286)
  * Add Connection._get_native_connection for XTA project (#269)
  * Fix SEGV on MariaDB Connector/C when Connection.close() is called 
    for closed connection. (#270, #272, #276)
  * Fix Connection.client_flag (#266)
  * Fix SSCursor may raise same exception twice (#282)
  * Fixed SSL support is not detected when built with MySQL < 5.1 (#291)

OBS-URL: https://build.opensuse.org/request/show/656807
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=6
2018-12-10 11:45:37 +00:00
c6be18ac4b Accepting request 619917 from devel:languages:python
- Add obsoletes/provides with "python-" prefix (oldpython macro)
- Fix build on openSUSE 42.3 (rename: libmariadb-devel to
  libmysqlclient-devel)
- Switch to fork of MySQLdb1
- Update a package description
- Build with python3 and python2 (singlespec)
- Mark obsolete packages: python-mysql, python-MySQL-python
- Spec file cleanup
- Fix build on non-SUSE distros by conditionalizing Recommends: tag
- Update to version 1.2.4
  + No changelog available
- Set correct Group : Development/Languages/Python
- Use download Url as source
- Spec file general clean-up
- Add MySQL-python-1.2.4-dont-use-python-distribute.patch; don't try
  to use unavailable python-distribute
- Remove depreciate AutoReqProv, %{py_requires} and # norootforbuild tags
- Add unzip requirement to support tarball format
- Add python-Sphinx requirement and generate html documentation
- Remove --record-rpm=INSTALLED_FILES option and add %{python_sitearch}
  in %files instead
- Package GPL-2.0, HISTORY and Sphinx documentation
- fix the previous fix, patch went upstream
- update to 1.2.3
  - no upstream changelog available 
- taking out the reconnect patch as the upstream sources contain
  a very specific comment that this means trouble
- removed usage of deprecated sets module (bnc#462974)
- update to 1.2.2
  - various bugfixes
  - much better support for mysql5
  - python2.5 support (crude, though, let's keep our patch for a while)
  - switch from distutils to setuptools
- added patch supporting reconnect in mysql5
- update to 1.2.1_p2
  - support for some new features of mysql 4.1 and 5.0
- fixes for 64bit bugs due to PEP353
- updated to reflect python changes due to #149809
- converted neededforbuild to BuildRequires
- update to 1.2.0
- update to 1.1.9 (MySQL 4.1 support)
- updated to 1.1.1
- fixed lib64 build
- update to 1.1.0
- drop python 2.1 support
- build as user
- updated to 0.9.3a2:
  * Add some support for Python 2.3 datetime classes.
  * Removed some casts in _mysql_init() that caused problems with
    Python 2.3. The type for tp_free was changed from destructor
    to freefunc. Removing the casts make both 2.2 and 2.3 happy.
  * Fixed the bug that prevented member access.
  * Embedded server support. Can't get it use InnoDB tables yet.
    However, MyISAM (default) tables seem to work fine.
- one source package for both python versions
- added few more files to docs
- builds on lib64
- updated to 0.9.2
- use record-rpm
- use versioned dependency on python
- using build root
- file list is correct on lib64 arches
- up to 0.9.1 to make it build on python-2.2 
- Add mysql-shared to neededforbuild.
- initial version 0.9.0

OBS-URL: https://build.opensuse.org/request/show/619917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mysqlclient?expand=0&rev=1
2018-07-10 14:14:28 +00:00
Alexei Podvalsky
b9b47a295a Accepting request 619916 from home:awissu:branches:devel:languages:python
- Add obsoletes/provides with "python-" prefix (oldpython macro)
- Fix build on openSUSE 42.3 (rename: libmariadb-devel to
  libmysqlclient-devel)

OBS-URL: https://build.opensuse.org/request/show/619916
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=2
2018-06-30 11:54:46 +00:00
6c4b12b7d4 Accepting request 619460 from home:awissu
- Switch to fork of MySQLdb1
- Update a package description
- Build with python3 and python2 (singlespec)
- Mark obsolete packages: python-mysql, python-MySQL-python
- Spec file cleanup
- Fix build on non-SUSE distros by conditionalizing Recommends: tag
- Update to version 1.2.4
  + No changelog available
- Set correct Group : Development/Languages/Python
- Use download Url as source
- Spec file general clean-up
- Add MySQL-python-1.2.4-dont-use-python-distribute.patch; don't try
  to use unavailable python-distribute
- Remove depreciate AutoReqProv, %{py_requires} and # norootforbuild tags
- Add unzip requirement to support tarball format
- Add python-Sphinx requirement and generate html documentation
- Remove --record-rpm=INSTALLED_FILES option and add %{python_sitearch}
  in %files instead
- Package GPL-2.0, HISTORY and Sphinx documentation
- fix the previous fix, patch went upstream
- update to 1.2.3
  - no upstream changelog available 
- taking out the reconnect patch as the upstream sources contain
  a very specific comment that this means trouble
- removed usage of deprecated sets module (bnc#462974)
- update to 1.2.2
  - various bugfixes
  - much better support for mysql5
  - python2.5 support (crude, though, let's keep our patch for a while)
  - switch from distutils to setuptools
- added patch supporting reconnect in mysql5
- update to 1.2.1_p2
  - support for some new features of mysql 4.1 and 5.0
- fixes for 64bit bugs due to PEP353
- updated to reflect python changes due to #149809
- converted neededforbuild to BuildRequires
- update to 1.2.0
- update to 1.1.9 (MySQL 4.1 support)
- updated to 1.1.1
- fixed lib64 build
- update to 1.1.0
- drop python 2.1 support
- build as user
- updated to 0.9.3a2:
  * Add some support for Python 2.3 datetime classes.
  * Removed some casts in _mysql_init() that caused problems with
    Python 2.3. The type for tp_free was changed from destructor
    to freefunc. Removing the casts make both 2.2 and 2.3 happy.
  * Fixed the bug that prevented member access.
  * Embedded server support. Can't get it use InnoDB tables yet.
    However, MyISAM (default) tables seem to work fine.
- one source package for both python versions
- added few more files to docs
- builds on lib64
- updated to 0.9.2
- use record-rpm
- use versioned dependency on python
- using build root
- file list is correct on lib64 arches
- up to 0.9.1 to make it build on python-2.2 
- Add mysql-shared to neededforbuild.
- initial version 0.9.0

OBS-URL: https://build.opensuse.org/request/show/619460
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysqlclient?expand=0&rev=1
2018-06-30 08:55:38 +00:00