Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-sqlite3-to-mysql for openSUSE:Factory checked in at 2025-06-30 13:05:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sqlite3-to-mysql (Old) and /work/SRC/openSUSE:Factory/.python-sqlite3-to-mysql.new.7067 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sqlite3-to-mysql" Mon Jun 30 13:05:12 2025 rev:7 rq:1288954 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sqlite3-to-mysql/python-sqlite3-to-mysql.changes 2024-01-29 22:34:34.069502434 +0100 +++ /work/SRC/openSUSE:Factory/.python-sqlite3-to-mysql.new.7067/python-sqlite3-to-mysql.changes 2025-06-30 13:06:40.414371024 +0200 @@ -1,0 +2,16 @@ +Sat Jun 28 12:00:45 UTC 2025 - Enno Gotthold <egotth...@suse.com> + +- Support libalternatives for 16.0 and newer +- Update to 2.4.0 + * add conversion of SQLite custom BOOL data type to MySQL TINYINT(1) + * add --mysql-skip-create-tables and --mysql-skip-transfer-data options + * fix default parameter parsing + * add MySQL 8.4 and MariaDB 11.4 support + * fix conversion of SQLite NUMERIC data type with precision and scale to + MySQL DECIMAL with precision and scale + * fix --mysql-insert-method + * modify the existing check_mysql_json_support and check_mysql_fulltext_support + to improve detection of MariaDB versions + * fix connecting with empty MySQL password + +------------------------------------------------------------------- Old: ---- sqlite3-to-mysql-2.1.7.obscpio New: ---- sqlite3-to-mysql-2.4.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sqlite3-to-mysql.spec ++++++ --- /var/tmp/diff_new_pack.xMaVOY/_old 2025-06-30 13:06:41.754426547 +0200 +++ /var/tmp/diff_new_pack.xMaVOY/_new 2025-06-30 13:06:41.754426547 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-sqlite3-to-mysql # -# Copyright (c) 2024 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 @@ -18,35 +18,50 @@ %define short_name sqlite3-to-mysql %define skip_python2 1 +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif + Name: python-sqlite3-to-mysql -Version: 2.1.7 +Version: 2.4.0 Release: 0 Summary: A Python tool to transfer data from SQLite 3 to MySQL License: MIT URL: https://github.com/techouse/sqlite3-to-mysql Source: %{short_name}-%{version}.tar.gz +# libalternative +%if %{with libalternatives} +Requires: alts +BuildRequires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif +# Package Requirements BuildRequires: %{python_module SQLAlchemy-Utils} BuildRequires: %{python_module SQLAlchemy} BuildRequires: %{python_module docker} BuildRequires: %{python_module factory_boy} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} -BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module setuptools} BuildRequires: docker BuildRequires: fdupes +BuildRequires: libmariadb-devel BuildRequires: python-rpm-macros Requires: python-Unidecode >= 1.3.6 Requires: python-click >= 8.1.3 -Requires: python-mysql-connector-python >= 8.2.0 +Requires: python-mysql-connector-python >= 9.0.0 Requires: python-packaging +Requires: python-python-dateutil Requires: python-pytimeparse2 Requires: python-simplejson >= 3.19.1 Requires: python-tabulate Requires: python-tqdm >= 4.65.0 +Requires: python-types-python-dateutil Requires: python-typing_extensions -Requires(post): update-alternatives -Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Sphinx} @@ -54,9 +69,12 @@ BuildRequires: %{python_module coverage} BuildRequires: %{python_module ddt} BuildRequires: %{python_module flake8} -BuildRequires: %{python_module mysql-connector-python >= 8.0.18} +BuildRequires: %{python_module mysql-connector-python >= 9.0.0} BuildRequires: %{python_module packaging >= 20.3} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest >= 7.3.1} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytimeparse >= 1.1.8} BuildRequires: %{python_module simplejson >= 3.16.0} BuildRequires: %{python_module sphinxcontrib-programoutput} @@ -79,6 +97,13 @@ %python_clone -a %{buildroot}%{_bindir}/sqlite3mysql %python_expand %fdupes %{buildroot}%{$python_sitelib} +# We cannot execute the tests here due to python-mysql-connector-python missing +# the C-extension. + +%pre +# removing old update-alternatives entries +%python_libalternatives_reset_alternative sqlite3mysql + %post %python_install_alternative sqlite3mysql ++++++ _service ++++++ --- /var/tmp/diff_new_pack.xMaVOY/_old 2025-06-30 13:06:41.814429032 +0200 +++ /var/tmp/diff_new_pack.xMaVOY/_new 2025-06-30 13:06:41.826429530 +0200 @@ -2,7 +2,7 @@ <service mode="manual" name="obs_scm"> <param name="url">https://github.com/techouse/sqlite3-to-mysql.git</param> <param name="scm">git</param> - <param name="revision">v2.1.7</param> + <param name="revision">v2.4.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> </service> ++++++ sqlite3-to-mysql-2.1.7.obscpio -> sqlite3-to-mysql-2.4.0.obscpio ++++++ ++++ 4710 lines of diff (skipped) ++++++ sqlite3-to-mysql.obsinfo ++++++ --- /var/tmp/diff_new_pack.xMaVOY/_old 2025-06-30 13:06:42.034438148 +0200 +++ /var/tmp/diff_new_pack.xMaVOY/_new 2025-06-30 13:06:42.042438479 +0200 @@ -1,5 +1,5 @@ name: sqlite3-to-mysql -version: 2.1.7 -mtime: 1705180042 -commit: 06ef89e5bc7592486759266523d9ebb78da52679 +version: 2.4.0 +mtime: 1743058172 +commit: 8905a9572c8c20dbc07b1390a506eb6fb1083540