Hello community,
here is the log from the commit of package python-psycopg2 for openSUSE:Factory
checked in at 2019-03-05 12:22:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-psycopg2 (Old)
and /work/SRC/openSUSE:Factory/.python-psycopg2.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-psycopg2"
Tue Mar 5 12:22:49 2019 rev:27 rq:681339 version:2.7.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-psycopg2/python-psycopg2.changes
2018-03-08 10:58:59.106113742 +0100
+++
/work/SRC/openSUSE:Factory/.python-psycopg2.new.28833/python-psycopg2.changes
2019-03-05 12:22:57.988884529 +0100
@@ -1,0 +2,20 @@
+Mon Mar 4 12:13:19 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 2.7.7:
+ * Cleanup of the cursor results assignment code, which might have solved
+ double free and inconsistencies in concurrent usage (:tickets:`#346,
#384`).
+ * Close named cursors if exist, even if execute() wasn't called (ticket
#746).
+ * Fixed building on modern FreeBSD versions with Python 3.7 (ticket #755).
+ * Fixed hang trying to COPY via execute() in asynchronous connections
(ticket #781).
+ * Fixed adaptation of arrays of empty arrays (ticket #788).
+ * Fixed segfault accessing the connection.readonly and connection.deferrable
attributes repeatedly (ticket #790).
+ * execute_values() accepts sql.Composable objects (ticket #794).
+ * errorcodes map updated to PostgreSQL 11.
+ * Allow non-ascii chars in namedtuple fields (regression introduced fixing
ticket #211).
+ * Fixed adaptation of arrays of arrays of nulls (ticket #325).
+ * Fixed building on Solaris 11 and derivatives such as SmartOS and illumos
(ticket #677).
+ * Maybe fixed building on MSYS2 (as reported in ticket #658).
+ * Allow string subclasses in connection and other places (ticket #679).
+ * Don't raise an exception closing an unused named cursor (ticket #716).
+
+-------------------------------------------------------------------
Old:
----
psycopg2-2.7.4.tar.gz
New:
----
psycopg2-2.7.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-psycopg2.spec ++++++
--- /var/tmp/diff_new_pack.AWE6ZI/_old 2019-03-05 12:22:59.100884190 +0100
+++ /var/tmp/diff_new_pack.AWE6ZI/_new 2019-03-05 12:22:59.100884190 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-psycopg2
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,18 +12,18 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-psycopg2
-Version: 2.7.4
+Version: 2.7.7
Release: 0
Summary: Python-PostgreSQL Database Adapter
License: LGPL-3.0-or-later AND (LGPL-3.0-or-later OR ZPL-2.0) AND
SUSE-GPL-2.0-with-openssl-exception
Group: Development/Languages/Python
-Url: http://initd.org/psycopg/
+URL: http://initd.org/psycopg/
Source:
https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: fdupes
@@ -55,10 +55,15 @@
%python_install
%python_expand rm -rf %{buildroot}%{$python_sitearch}/psycopg2/tests # Don't
package testsuite
%fdupes -s %{buildroot}/%{_mandir} # Create symlinks for man pages
-%fdupes %{buildroot} # Create hardlinks for the rest
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
+
+%check
+# tests require running PGSQL
+#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m
unittest discover
%files %{python_files}
-%doc AUTHORS LICENSE NEWS README.rst
+%license LICENSE
+%doc AUTHORS NEWS README.rst
%{python_sitearch}/psycopg2/
%{python_sitearch}/psycopg2-%{version}-py%{python_version}.egg-info
++++++ psycopg2-2.7.4.tar.gz -> psycopg2-2.7.7.tar.gz ++++++
++++ 1627 lines of diff (skipped)