From aee725283b748f69522aa4cb007170c39056ec5c848748fb733d92dca1249b48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 3 Jan 2024 14:42:34 +0000 Subject: [PATCH] Accepting request 1135691 from home:SchoolGuy:branches:devel:languages:python Update to version v2.1.6. This request can only be accepted after the following two requests have been accepted: - https://build.opensuse.org/request/show/1135689 - https://build.opensuse.org/request/show/1135690 OBS-URL: https://build.opensuse.org/request/show/1135691 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysql-to-sqlite3?expand=0&rev=5 --- _service | 14 ++++++------ _servicedata | 4 ++++ mysql-to-sqlite3-2.1.6.obscpio | 3 +++ mysql-to-sqlite3-v1.4.3.obscpio | 3 --- mysql-to-sqlite3.obsinfo | 7 +++--- python-mysql-to-sqlite3.changes | 11 ++++++++++ python-mysql-to-sqlite3.spec | 39 +++++++++++++++++++-------------- 7 files changed, 50 insertions(+), 31 deletions(-) create mode 100644 _servicedata create mode 100644 mysql-to-sqlite3-2.1.6.obscpio delete mode 100644 mysql-to-sqlite3-v1.4.3.obscpio diff --git a/_service b/_service index 82afaf0..0b6e864 100644 --- a/_service +++ b/_service @@ -1,13 +1,13 @@ - - git://github.com/techouse/mysql-to-sqlite3.git + + https://github.com/techouse/mysql-to-sqlite3.git git - - v1.4.3 + v2.1.6 + v2.1.6 + enable + v(.*) - + gz diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..9c1c681 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/techouse/mysql-to-sqlite3.git + a4c15807b4014cd75203fa93d5319b1d032269e0 \ No newline at end of file diff --git a/mysql-to-sqlite3-2.1.6.obscpio b/mysql-to-sqlite3-2.1.6.obscpio new file mode 100644 index 0000000..6696150 --- /dev/null +++ b/mysql-to-sqlite3-2.1.6.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b71b85f2fc8d264ab010d46ffde860a478f238e57083219d80e8313a102ab36 +size 222731 diff --git a/mysql-to-sqlite3-v1.4.3.obscpio b/mysql-to-sqlite3-v1.4.3.obscpio deleted file mode 100644 index 6db7dfb..0000000 --- a/mysql-to-sqlite3-v1.4.3.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:65f095b0f7ad6202a492cbe324d4ef800ed9195e81fef8394ef15a400f0bd68b -size 152075 diff --git a/mysql-to-sqlite3.obsinfo b/mysql-to-sqlite3.obsinfo index 291c5a5..2330a7c 100644 --- a/mysql-to-sqlite3.obsinfo +++ b/mysql-to-sqlite3.obsinfo @@ -1,5 +1,4 @@ name: mysql-to-sqlite3 -version: v1.4.3 -mtime: 1625909832 -commit: 60dbda6b847c3bfdfa8e87ce8b1abe6e83ee2cf3 - +version: 2.1.6 +mtime: 1702207839 +commit: a4c15807b4014cd75203fa93d5319b1d032269e0 diff --git a/python-mysql-to-sqlite3.changes b/python-mysql-to-sqlite3.changes index 8c64660..555521f 100644 --- a/python-mysql-to-sqlite3.changes +++ b/python-mysql-to-sqlite3.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Dec 29 15:08:13 UTC 2023 - egotthold@suse.com + +- Update to version v2.1.6: + * [FIX] fix invalid column_type error message + * [CHORE] publish first containerized release + * [FIX] throw more comprehensive error messages when translating column types + * [CHORE] add support for Python 3.12 + * [CHORE] bump minimum version of MySQL Connector/Python to 8.2.0 + * [CHORE] drop support for Python 3.7 + ------------------------------------------------------------------- Thu Jul 22 08:23:34 UTC 2021 - Enno Gotthold diff --git a/python-mysql-to-sqlite3.spec b/python-mysql-to-sqlite3.spec index c9c17ee..2ddf7a8 100644 --- a/python-mysql-to-sqlite3.spec +++ b/python-mysql-to-sqlite3.spec @@ -1,7 +1,7 @@ # # spec file for package python-mysql-to-sqlite3 # -# Copyright (c) 2021 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 @@ -19,12 +19,15 @@ %define short_name mysql-to-sqlite3 %define skip_python2 1 Name: python-mysql-to-sqlite3 -Version: v1.4.3 +Version: 2.1.6 Release: 0 Summary: A simple Python tool to transfer data from MySQL to SQLite 3 License: MIT URL: https://github.com/techouse/mysql-to-sqlite3 Source: %{short_name}-%{version}.tar.gz +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: docker BuildRequires: python-rpm-macros @@ -32,26 +35,27 @@ BuildRequires: python3-SQLAlchemy BuildRequires: python3-SQLAlchemy-Utils BuildRequires: python3-docker BuildRequires: python3-factory_boy -BuildRequires: python3-pytest # SECTION test requirements -BuildRequires: %{python_module click >= 7.0} -BuildRequires: %{python_module mysql-connector-python >= 8.0.18} -BuildRequires: %{python_module python-slugify >= 3.0.3} +BuildRequires: %{python_module click >= 8.1.3} +BuildRequires: %{python_module mysql-connector-python >= 8.2.0} +BuildRequires: %{python_module python-slugify >= 7.0.0} BuildRequires: %{python_module pytimeparse >= 1.1.8} -BuildRequires: %{python_module simplejson >= 3.16.0} +BuildRequires: %{python_module simplejson >= 3.19.0} BuildRequires: %{python_module six >= 1.12.0} BuildRequires: %{python_module tabulate} BuildRequires: %{python_module tqdm >= 4.35.0} # /SECTION BuildRequires: fdupes -Requires: python-click >= 7.0 -Requires: python-mysql-connector-python >= 8.0.18 -Requires: python-python-slugify >= 3.0.3 -Requires: python-pytimeparse >= 1.1.8 -Requires: python-simplejson >= 3.16.0 -Requires: python-six >= 1.12.0 +Requires: python-click >= 8.1.3 +Requires: python-mysql-connector-python >= 8.2.0 +Requires: python-python-slugify >= 7.0.0 +Requires: python-pytimeparse2 +Requires: python-simplejson >= 3.19.0 Requires: python-tabulate -Requires: python-tqdm >= 4.35.0 +Requires: python-tqdm >= 4.65.0 +Requires: python-typing_extensions +Requires(post): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages @@ -62,10 +66,10 @@ A simple Python tool to transfer data from MySQL to SQLite 3 %setup -q -n mysql-to-sqlite3-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/mysql2sqlite %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -79,6 +83,7 @@ A simple Python tool to transfer data from MySQL to SQLite 3 %doc README.md %license LICENSE %python_alternative %{_bindir}/mysql2sqlite -%{python_sitelib}/* +%{python_sitelib}/mysql_to_sqlite3 +%{python_sitelib}/mysql_to_sqlite3-%{version}*-info %changelog