15
0

- 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
This commit is contained in:
2023-05-03 08:40:13 +00:00
committed by Git OBS Bridge
parent b4f9e70de2
commit 4a2a616833
4 changed files with 19 additions and 9 deletions

View File

@@ -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