Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sqlitedict for
openSUSE:Factory checked in at 2024-03-15 20:31:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sqlitedict (Old)
and /work/SRC/openSUSE:Factory/.python-sqlitedict.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sqlitedict"
Fri Mar 15 20:31:09 2024 rev:7 rq:1158120 version:2.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sqlitedict/python-sqlitedict.changes
2020-06-12 21:39:45.723972734 +0200
+++
/work/SRC/openSUSE:Factory/.python-sqlitedict.new.1905/python-sqlitedict.changes
2024-03-15 20:31:51.065336615 +0100
@@ -1,0 +2,21 @@
+Fri Mar 15 04:32:34 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Update to 2.1.0:
+ * Fix setDaemon deprecated warning
+ * adding optional ability to encode keys
+ * Change logging from info to debug
+ * Properly handle the race condition
+ * Correct spelling mistakes
+ * Introduce weak references
+ * This release supports Python 3.7 and above
+ * Do not create tables when in read-only mode
+ * Use tempfile.mkstemp for safer temp file creation
+ * Fix deadlock where opening database fails
+ * Make outer_stack a parameter
+ * Add a blocking commit after each modification if autocommit is enabled
+ * Clean up license file names
+ * support double quotes in table names
+- Switch to pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
Old:
----
sqlitedict-1.6.0.tar.gz
New:
----
sqlitedict-2.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sqlitedict.spec ++++++
--- /var/tmp/diff_new_pack.SkK3gL/_old 2024-03-15 20:31:52.045372417 +0100
+++ /var/tmp/diff_new_pack.SkK3gL/_new 2024-03-15 20:31:52.049372563 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-sqlitedict
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,18 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sqlitedict
-Version: 1.6.0
+Version: 2.1.0
Release: 0
Summary: Persistent dict in Python backed by sqlite3
License: Apache-2.0
URL: https://github.com/piskvorky/sqlitedict
Source:
https://files.pythonhosted.org/packages/source/s/sqlitedict/sqlitedict-%{version}.tar.gz
+BuildRequires: %{python_module base >= 3.7}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: %{pythons}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -42,21 +44,23 @@
sed -i -e '/^#!\//, 1d' sqlitedict.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%{python_expand # db needs to be regenerated
rm -rf tests/db
mkdir -p tests/db
-PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix}
+PYTHONPATH=%{buildroot}%{$python_sitelib} pytest-%{$python_bin_suffix}
}
%files %{python_files}
-%license LICENSE.apache
+%license LICENSE.md
%doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/sqlitedict.py
+%pycache_only %{python_sitelib}/__pycache__/sqlitedict.*.py*
+%{python_sitelib}/sqlitedict-%{version}.dist-info
++++++ sqlitedict-1.6.0.tar.gz -> sqlitedict-2.1.0.tar.gz ++++++
++++ 2666 lines of diff (skipped)