From 4a2a61683359a68d0ac667347820906981782be516e7b1a9455fd40531c4752e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 3 May 2023 08:40:13 +0000 Subject: [PATCH] - update to 1.0.3: * Dropped support of end of life MySQL version 5.6 * Dropped support of end of life MariaDB versions below 10.3 * Dropped support of end of life Python version 3.6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=33 --- PyMySQL-1.0.2.tar.gz | 3 --- PyMySQL-1.0.3.tar.gz | 3 +++ python-PyMySQL.changes | 8 ++++++++ python-PyMySQL.spec | 14 ++++++++------ 4 files changed, 19 insertions(+), 9 deletions(-) delete mode 100644 PyMySQL-1.0.2.tar.gz create mode 100644 PyMySQL-1.0.3.tar.gz diff --git a/PyMySQL-1.0.2.tar.gz b/PyMySQL-1.0.2.tar.gz deleted file mode 100644 index 16eab20..0000000 --- a/PyMySQL-1.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:44b19ebe16baa52b74b7d835bdaaf732bb83725339dca307fe0900439adddb6d -size 84985 diff --git a/PyMySQL-1.0.3.tar.gz b/PyMySQL-1.0.3.tar.gz new file mode 100644 index 0000000..c539595 --- /dev/null +++ b/PyMySQL-1.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2c51a64b59b169f8ee35f539cc7b2df5a89a042cac7d29d1ddd42c670700b06 +size 85371 diff --git a/python-PyMySQL.changes b/python-PyMySQL.changes index 8c65e49..fcc8b0f 100644 --- a/python-PyMySQL.changes +++ b/python-PyMySQL.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed May 3 08:35:39 UTC 2023 - Dirk Müller + +- update to 1.0.3: + * Dropped support of end of life MySQL version 5.6 + * Dropped support of end of life MariaDB versions below 10.3 + * Dropped support of end of life Python version 3.6 + ------------------------------------------------------------------- Thu Oct 13 06:38:41 UTC 2022 - Steve Kowalik diff --git a/python-PyMySQL.spec b/python-PyMySQL.spec index 8dd33c0..0a5a4be 100644 --- a/python-PyMySQL.spec +++ b/python-PyMySQL.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyMySQL # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,16 +26,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global skip_python2 1 Name: python-PyMySQL -Version: 1.0.2 +Version: 1.0.3 Release: 0 Summary: Pure Python MySQL Driver License: MIT Group: Development/Languages/Python URL: https://github.com/PyMySQL/PyMySQL/ Source: https://github.com/PyMySQL/PyMySQL/archive/v%{version}.tar.gz#/PyMySQL-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module cryptography} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} %if %{with tests} BuildRequires: mariadb-rpm-macros %endif @@ -62,10 +64,10 @@ its unit tests as well as running it against the MySQLdb and myconnpy unit tests sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %if %{with tests} @@ -105,7 +107,7 @@ exit $exit_code %files %{python_files} %license LICENSE -%doc CHANGELOG.md README.rst +%doc CHANGELOG.md README.md %{python_sitelib}/* %changelog