- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=35
This commit is contained in:
Daniel Garcia 2023-08-02 11:56:33 +00:00 committed by Git OBS Bridge
parent 4a2a616833
commit 532455a121
4 changed files with 37 additions and 7 deletions

BIN
PyMySQL-1.0.3.tar.gz (Stored with Git LFS)

Binary file not shown.

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

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

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Wed Aug 2 11:42:46 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- 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
-------------------------------------------------------------------
Wed May 3 08:35:39 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -23,10 +23,9 @@
%bcond_with tests
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
Name: python-PyMySQL
Version: 1.0.3
Version: 1.1.0
Release: 0
Summary: Pure Python MySQL Driver
License: MIT
@ -59,7 +58,7 @@ by simply changing the import statements in the Django MySQL backend and running
its unit tests as well as running it against the MySQLdb and myconnpy unit tests.
%prep
%setup -q -n PyMySQL-%{version}
%autosetup -p1 -n PyMySQL-%{version}
# remove unwanted shebang
sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py
@ -97,7 +96,8 @@ EOF
#
export USER="$dbuser"
export PASSWORD="$dbuserpw"
%pytest pymysql/tests -k 'not test_stored_procedures' || exit_code=1
# test_json is broken for mariadb 11.0.2
%pytest pymysql/tests -k 'not (test_stored_procedures or test_json)' || exit_code=1
#
# stopping mariadb
#