diff --git a/PyMySQL-1.0.3.tar.gz b/PyMySQL-1.0.3.tar.gz deleted file mode 100644 index c539595..0000000 --- a/PyMySQL-1.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f2c51a64b59b169f8ee35f539cc7b2df5a89a042cac7d29d1ddd42c670700b06 -size 85371 diff --git a/PyMySQL-1.1.0.tar.gz b/PyMySQL-1.1.0.tar.gz new file mode 100644 index 0000000..dc080dc --- /dev/null +++ b/PyMySQL-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e131859c075d571419c9a9939ed127f0b547901af908b498fe804bbdbdff3d82 +size 90416 diff --git a/python-PyMySQL.changes b/python-PyMySQL.changes index fcc8b0f..94bc15f 100644 --- a/python-PyMySQL.changes +++ b/python-PyMySQL.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Wed Aug 2 11:42:46 UTC 2023 - Daniel Garcia + +- 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 diff --git a/python-PyMySQL.spec b/python-PyMySQL.spec index 0a5a4be..c0a8bfd 100644 --- a/python-PyMySQL.spec +++ b/python-PyMySQL.spec @@ -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 #