forked from pool/python-PyMySQL
Accepting request 1101976 from devel:languages:python
- 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/request/show/1101976 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyMySQL?expand=0&rev=19
This commit is contained in:
commit
c7a09f50a9
BIN
PyMySQL-1.0.3.tar.gz
(Stored with Git LFS)
BIN
PyMySQL-1.0.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
PyMySQL-1.1.0.tar.gz
Normal file
3
PyMySQL-1.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e131859c075d571419c9a9939ed127f0b547901af908b498fe804bbdbdff3d82
|
||||||
|
size 90416
|
@ -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>
|
Wed May 3 08:35:39 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -23,10 +23,9 @@
|
|||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%global skip_python2 1
|
%global skip_python2 1
|
||||||
Name: python-PyMySQL
|
Name: python-PyMySQL
|
||||||
Version: 1.0.3
|
Version: 1.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pure Python MySQL Driver
|
Summary: Pure Python MySQL Driver
|
||||||
License: MIT
|
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.
|
its unit tests as well as running it against the MySQLdb and myconnpy unit tests.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n PyMySQL-%{version}
|
%autosetup -p1 -n PyMySQL-%{version}
|
||||||
# remove unwanted shebang
|
# remove unwanted shebang
|
||||||
sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py
|
sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py
|
||||||
|
|
||||||
@ -97,7 +96,8 @@ EOF
|
|||||||
#
|
#
|
||||||
export USER="$dbuser"
|
export USER="$dbuser"
|
||||||
export PASSWORD="$dbuserpw"
|
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
|
# stopping mariadb
|
||||||
#
|
#
|
||||||
@ -108,6 +108,7 @@ exit $exit_code
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGELOG.md README.md
|
%doc CHANGELOG.md README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pymysql
|
||||||
|
%{python_sitelib}/PyMySQL-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user