Hello community, here is the log from the commit of package python-psycopg2 for openSUSE:Leap:15.2 checked in at 2020-05-29 15:16:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-psycopg2 (Old) and /work/SRC/openSUSE:Leap:15.2/.python-psycopg2.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-psycopg2" Fri May 29 15:16:28 2020 rev:23 rq:810156 version:2.8.5 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-psycopg2/python-psycopg2.changes 2020-01-15 15:51:42.603538294 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-psycopg2.new.3606/python-psycopg2.changes 2020-05-29 15:16:33.567152072 +0200 @@ -1,0 +2,111 @@ +Tue May 19 06:16:56 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com> + +- Sort out the syntax of the deps bsc#1171213 + +------------------------------------------------------------------- +Thu Apr 23 16:13:29 UTC 2020 - Marcus Rueckert <mrueckert@suse.de> + +- update to 2.8.5 + - Fixed use of connection_factory and cursor_factory together + (ticket #1019). + - Added support for logging.LoggerAdapter in LoggingConnection + (ticket #1026). + - Column objects in cursor.description can be sliced (ticket + #1034). + - Added AIX support (ticket #1061). + - Fixed copy() of DictCursor rows (ticket #1073). + +------------------------------------------------------------------- +Thu Mar 19 08:19:57 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net> + +- fix postgresql build dependency: pg_config is in postgresql-server-devel (bsc#1167541) + +------------------------------------------------------------------- +Fri Feb 28 21:49:40 UTC 2020 - Dirk Mueller <dmueller@suse.com> + +- update to 2.8.4: + - Fixed building with Python 3.8 (:ticket:`#854`). + - Don't swallow keyboard interrupts on connect when a password is specified + in the connection string (:ticket:`#898`). + - Don't advance replication cursor when the message wasn't confirmed + (:ticket:`#940`). + - Fixed inclusion of ``time.h`` on linux (:ticket:`#951`). + - Fixed int overflow for large values in `~psycopg2.extensions.Column.table_oid` + and `~psycopg2.extensions.Column.type_code` (:ticket:`#961`). + - `~psycopg2.errorcodes` map and `~psycopg2.errors` classes updated to + PostgreSQL 12. + - Wheel package compiled against OpenSSL 1.1.1d and PostgreSQL at least 11.4. + +------------------------------------------------------------------- +Mon Oct 14 14:14:29 UTC 2019 - Matej Cepl <mcepl@suse.com> + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + +------------------------------------------------------------------- +Thu Jul 4 15:02:11 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com> + +- Update to 2.8.4 + * Added interval_status parameter to start_replication() method and other + facilities to send automatic replication keepalives at periodic intervals + (ticket #913). + * Fixed namedtuples caching introduced in 2.8 (ticket #928). + +------------------------------------------------------------------- +Tue Jun 4 15:36:23 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com> + +- Update to 2.8.3 + * Added interval_status parameter to start_replication() method + and other facilities to send automatic replication keepalives + at periodic intervals + * Fixed RealDictCursor when there are repeated columns + * Fixed RealDictRow modifiability + * Fixed “there’s no async cursor” error polling a connection with + no cursor + 2.8.0 + * Added errors module. Every PostgreSQL error is converted into + a specific exception class + * Added encrypt_password() function + * Added BYTES adapter to manage databases with mixed encodings on + Python 3 + * Added table_oid and table_column attributes on cursor.description + items + * Added connection.info object to retrieve various PostgreSQL + connection information + * str() on Range produces a human-readable representation + * Fixed async communication blocking if results are returned in + different chunks + * Fixed adaptation of numeric subclasses such as IntEnum + * Dropped support for Python 2.6, 3.2, 3.3. + * Dropped deprecated register_tstz_w_secs() + * Dropped deprecated PersistentConnectionPool. Use + ZPsycopgDA.pool instead. + * Binary packages no longer installed by default. The + ‘psycopg2-binary’ package must be used explicitly. + * Dropped PSYCOPG_DISPLAY_SIZE build parameter. + +------------------------------------------------------------------- +Tue Apr 2 16:43:30 UTC 2019 - Todd R <toddrme2178@gmail.com> + +- Requires postgresql-server-devel on Factory now. + +------------------------------------------------------------------- +Mon Mar 4 12:13:19 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- 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.8.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-psycopg2.spec ++++++ --- /var/tmp/diff_new_pack.Ieq6X9/_old 2020-05-29 15:16:33.911153194 +0200 +++ /var/tmp/diff_new_pack.Ieq6X9/_new 2020-05-29 15:16:33.915153207 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-psycopg2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,24 +12,29 @@ # 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.8.5 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: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: postgresql-devel >= 9.1 BuildRequires: python-rpm-macros -%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 +# newer postgresql packages pg_config in -server-devel +%if 0%{?sle_version} > 150100 || 0%{?suse_version} > 1500 +BuildRequires: postgresql-server-devel >= 9.1 +%else +BuildRequires: postgresql-devel >= 9.1 +%endif +%if 0%{?suse_version} || 0%{?fedora_version} >= 24 Suggests: postgresql-server %endif %python_subpackages @@ -54,11 +59,16 @@ %install %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 +%fdupes %{buildroot}/%{_mandir} # Create symlinks for man pages +%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.8.5.tar.gz ++++++ ++++ 27473 lines of diff (skipped)