Compare commits
4 Commits
db2c1dbee1
...
main
Author | SHA256 | Date | |
---|---|---|---|
cb78881662 | |||
73e78387fd | |||
79dcd2c372 | |||
ef7bcb1f18 |
BIN
mysqlclient-2.1.1.tar.gz
(Stored with Git LFS)
BIN
mysqlclient-2.1.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
mysqlclient-2.2.7.tar.gz
(Stored with Git LFS)
Normal file
BIN
mysqlclient-2.2.7.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,76 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 5 04:38:05 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 11 09:43:57 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- version update to 2.2.7
|
||||
* MariaDB include paths for Win by @CristiFati in #749
|
||||
* support opentelemetry-instrumentation by @methane in #753
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 20 13:20:02 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- sphinx_rtd_theme is now an optional dependency for Sphinx
|
||||
- split HTML docs to the doc subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 20 16:01:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.2.6:
|
||||
* MariaDB Connector/C 3.4 and MairaDB 11.4 enabled SSL and CA
|
||||
verification by default.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 19:02:36 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.2.5:
|
||||
* (Windows wheel) Update MariaDB Connector/C to 3.4.1. #726
|
||||
* (Windows wheel) Build wheels for Python 3.13. #726
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 9 10:37:44 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.2.4:
|
||||
* Support ssl=True in connect().
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 16 19:08:47 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.2.1:
|
||||
* ``Connection.ping()`` avoid using ``MYSQL_OPT_RECONNECT``
|
||||
option until ``reconnect=True`` is specified.
|
||||
MySQL 8.0.33 start showing warning when the option is used.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 27 19:37:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.2.0:
|
||||
* Use ``pkg-config`` instead of ``mysql_config`` (#586)
|
||||
* Raise ProgrammingError on -inf (#557)
|
||||
* Raise IntegrityError for ER_BAD_NULL. (#579)
|
||||
* Windows: Use MariaDB Connector/C 3.3.4 (#585)
|
||||
* Use pkg-config instead of mysql_config (#586)
|
||||
* Add collation option (#564)
|
||||
* Drop Python 3.7 support (#593)
|
||||
* Use pyproject.toml for build (#598)
|
||||
* Add Cursor.mogrify (#477)
|
||||
* Partial support of ssl_mode option with mariadbclient (#475)
|
||||
* Discard remaining results without creating Python objects
|
||||
* Fix executemany with binary prefix (#605)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 26 07:14:20 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- Drop sphinx doctrees for reproducible builds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 25 08:28:34 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
- Use sle15_python_module_pythons
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 3 11:10:33 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
@@ -40,7 +113,7 @@ Thu Mar 24 13:10:53 UTC 2022 - pgajdos@suse.com
|
||||
Fri Sep 10 07:48:36 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add liberally-accept-charsets.patch:
|
||||
* Support multibyte utf8 return values with new versions of MariaDB.
|
||||
* Support multibyte utf8 return values with new versions of MariaDB.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 16 20:42:57 UTC 2021 - Matthias Fehring <buschmann23@opensuse.org>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package python-mysqlclient
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,9 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# Python2 support has been dropped in version 2.0.0
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
%define oldpython python
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
@@ -29,19 +27,20 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-mysqlclient%{psuffix}
|
||||
Version: 2.1.1
|
||||
Version: 2.2.7
|
||||
Release: 0
|
||||
Summary: Python interface to MySQL
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://github.com/PyMySQL/mysqlclient-python
|
||||
Source: https://files.pythonhosted.org/packages/source/m/mysqlclient/mysqlclient-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libmysqlclient-devel
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: python3-attrs
|
||||
BuildRequires: unzip
|
||||
Recommends: mariadb
|
||||
Provides: python-mysql = %{version}
|
||||
@@ -66,15 +65,29 @@ MySQLdb is an interface to the popular MySQL database server for Python.
|
||||
|
||||
This package adds Python 3 support and bug fixes to MySQLdb1.
|
||||
|
||||
%package -n python-mysqlclient-doc
|
||||
Summary: HTML documentation for python-mysqlclient
|
||||
Group: Documentation/Other
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: python3-attrs
|
||||
BuildRequires: python3-sphinx_rtd_theme
|
||||
Requires: python3-mysqlclient = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n python-mysqlclient-doc
|
||||
This package contains HTML docs for python-mysqlclient.
|
||||
|
||||
%prep
|
||||
%setup -q -n mysqlclient-%{version}
|
||||
%autopatch -p1
|
||||
# wrong end-of-line encoding
|
||||
dos2unix doc/*.rst README.md MANIFEST.in HISTORY.rst
|
||||
|
||||
%build
|
||||
%if !%{with test}
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
sphinx-build -b html doc build/sphinx/html && rm build/sphinx/html/.buildinfo
|
||||
sphinx-build -b html doc build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees}
|
||||
%endif
|
||||
|
||||
%check
|
||||
@@ -92,7 +105,6 @@ cconf=abuild-myclient.cnf
|
||||
#
|
||||
# running the test
|
||||
#
|
||||
rm -r MySQLdb
|
||||
export TESTDB="$PWD/$cconf"
|
||||
%pytest_arch -k "not (test_LONG or test_TEXT)" || exit_code=1
|
||||
#
|
||||
@@ -104,15 +116,25 @@ exit $exit_code
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
mkdir -p %{buildroot}%{_docdir}/python-mysqlclient/
|
||||
mv build/sphinx/html %{buildroot}%{_docdir}/python-mysqlclient/
|
||||
%fdupes %{buildroot}%{_docdir}/python-mysqlclient
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc HISTORY.rst MANIFEST.in README.md build/sphinx/html
|
||||
%{python_sitearch}/*
|
||||
%doc HISTORY.rst MANIFEST.in README.md
|
||||
%{python_sitearch}/MySQLdb
|
||||
%{python_sitearch}/mysqlclient-%{version}*-info
|
||||
|
||||
%files -n python-mysqlclient-doc
|
||||
%license LICENSE
|
||||
%dir %{_docdir}/python-mysqlclient
|
||||
%{_docdir}/python-mysqlclient/html/
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user