Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-apsw for openSUSE:Factory 
checked in at 2023-07-27 16:51:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-apsw (Old)
 and      /work/SRC/openSUSE:Factory/.python-apsw.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-apsw"

Thu Jul 27 16:51:48 2023 rev:17 rq:1100912 version:3.42.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-apsw/python-apsw.changes  2023-06-21 
22:40:25.154573413 +0200
+++ /work/SRC/openSUSE:Factory/.python-apsw.new.32662/python-apsw.changes       
2023-07-27 16:52:12.154286861 +0200
@@ -1,0 +2,30 @@
+Wed Jul 26 14:57:47 UTC 2023 - Matej Cepl <mc...@suse.com>
+
+- Update to 3.42.0.1:
+  - Work with SQLite compiled with
+    SQLITE_OMIT_DEPRECATED. Connection.setprofile() was changed
+    from using the deprecated sqlite3_profile to sqlite3_trace_v2
+    giving the same results. When including the amalgamation,
+    SQLITE_OMIT_DEPRECATED is defined. (APSW issue 443)
+  - Shell updates adding various commands to match the SQLite
+    shell, as well as code and documentation improvements. (APSW
+    issue 397)
+  - Added Connection.read() and apsw.ext.dbinfo() to provide
+    information from the database and journal/wal files. The
+    shell command .dbinfo displays it.
+  - Added apsw.vfs_details(). The shell command .vfslist displays
+    it.
+  - Implemented VFS method xCurrentTimeInt64. The default SQLite
+    VFS no longer provide xCurrentTime (floating point version)
+    if SQLITE_OMIT_DEPRECATED is defined, so this is needed for
+    inheritance to work. (APSW issue 451)
+  - Backwards incompatible change: VFS If you override
+    xCurrentTime, then you will need to override
+    xCurrentTimeInt64 in the same way, or exclude
+    xCurrentTimeInt64 in VFS, or use iVersion of 1.
+  - speedtest now shows summary statistics, and improved help
+    text. (APSW issue 444)
+- Clean up the SPEC file, use %pyproject_* macros instead.
+- Make the test suite pass again (gh#rogerbinns/apsw#462).
+
+-------------------------------------------------------------------

Old:
----
  3.42.0.0.tar.gz

New:
----
  apsw-3.42.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-apsw.spec ++++++
--- /var/tmp/diff_new_pack.qlrjo8/_old  2023-07-27 16:52:12.738290160 +0200
+++ /var/tmp/diff_new_pack.qlrjo8/_new  2023-07-27 16:52:12.746290206 +0200
@@ -18,15 +18,17 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-apsw
-Version:        3.42.0.0
+Version:        3.42.0.1
 Release:        0
 Summary:        Another Python SQLite Wrapper
 License:        Zlib
 Group:          Development/Libraries/Python
 URL:            https://github.com/rogerbinns/apsw/
-Source:         https://github.com/rogerbinns/apsw/archive/%{version}.tar.gz
+Source:         
https://github.com/rogerbinns/apsw/archive/refs/tags/%{version}.tar.gz#/apsw-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module wheel}
+BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(sqlite3) >= 3.42
@@ -39,29 +41,34 @@
 complete SQLite API into Python.
 
 %prep
-%setup -q -n apsw-%{version}
+%autosetup -p1 -n apsw-%{version}
+
+# See the discussion on gh#rogerbinns/apsw#462
+cat << EOF >setup.apsw
+[build_ext]
+use_system_sqlite_config = true
+EOF
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
-#%%python_build
-%{python_expand $python setup.py build --enable-all-extensions 
--enable=load_extension}
+%pyproject_wheel
+%python_exec setup.py build_test_extension
 
 %install
-%python_install
+%pyproject_install
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-# python setup.py test is in this case very complicated home-brewn,
-# and using unittest, so it shouldn't be affected by changes in
-# setuptools.
-export CFLAGS="%{optflags} -fno-strict-aliasing"
-%{python_expand $python setup.py build_ext --inplace
-$python setup.py test
-$python setup.py clean
+# gh#rogerbinns/apsw#462
+# We cannot use %%pyunittest_arch here, see the ticket for the discussion
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} 
PYTHONDONTWRITEBYTECODE=1
+$python -m apsw.tests -v
 }
 
 %files %{python_files}
 %license LICENSE
 %doc README.rst
-%{python_sitearch}/*
+%{python_sitearch}/apsw
+%{python_sitearch}/apsw-%{version}*-info
 
 %changelog

Reply via email to