Hello community, here is the log from the commit of package python-psycopg2 for openSUSE:Factory checked in at 2015-02-25 02:18:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-psycopg2 (Old) and /work/SRC/openSUSE:Factory/.python-psycopg2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-psycopg2" Changes: -------- --- /work/SRC/openSUSE:Factory/python-psycopg2/python-psycopg2.changes 2014-01-23 15:54:33.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-psycopg2.new/python-psycopg2.changes 2015-02-25 02:18:38.000000000 +0100 @@ -1,0 +2,55 @@ +Tue Feb 24 14:52:53 UTC 2015 - tbechtold@suse.com + +- update to version 2.6: + - Added support for large objects larger than 2GB. Many thanks to Blake Rouse + and the MAAS Team for the feature development. + - Python `time` objects with a tzinfo specified and PostgreSQL :sql:`timetz` + data are converted into each other (:ticket:`#272`). + - Json apapter's `!str()` returns the adapted content instead of the `!repr()` + (:ticket:`#191`). + - Named cursors used as context manager don't swallow the exception on exit + (:ticket:`#262`). + - `cursor.description` can be pickled (:ticket:`#265`). + - Propagate read error messages in COPY FROM (:ticket:`#270`). + - PostgreSQL time 24:00 is converted to Python 00:00 (:ticket:`#278`). + - Added :sql:`jsonb` support for PostgreSQL 9.4 (:ticket:`#226`). + - Fixed segfault if COPY statements are passed to `~cursor.execute()` instead + of using the proper methods (:ticket:`#219`). + - Force conversion of pool arguments to integer to avoid potentially unbounded + pools (:ticket:`#220`). + - Cursors :sql:`WITH HOLD` don't begin a new transaction upon move/fetch/close + (:ticket:`#228`). + - Cursors :sql:`WITH HOLD` can be used in autocommit (:ticket:`#229`). + - `~cursor.callproc()` doesn't silently ignore an argument without a length. + - Fixed memory leak with large objects (:ticket:`#256`). + - Make sure the internal ``_psycopg.so`` module can be imported stand-alone (to + allow modules juggling such as the one described in :ticket:`#201`). + - Work around `pip issue #1630 <https://github.com/pypa/pip/issues/1630>`__ + making installation via ``pip -e git+url`` impossible (:ticket:`#18`). + - Copy operations correctly set the `cursor.rowcount` attribute + (:ticket:`#180`). + - It is now possible to call `get_transaction_status()` on closed connections. + - Fixed unsafe access to object names causing assertion failures in + Python 3 debug builds (:ticket:`#188`). + - Mark the connection closed if found broken on `poll()` (from :ticket:`#192` + discussion) + - Fixed handling of dsn and closed attributes in connection subclasses + failing to connect (from :ticket:`#192` discussion). + - Added arbitrary but stable order to `Range` objects, thanks to + Chris Withers (:ticket:`#193`). + - Avoid blocking async connections on connect (:ticket:`#194`). Thanks to + Adam Petrovich for the bug report and diagnosis. + - Don't segfault using poorly defined cursor subclasses which forgot to call + the superclass init (:ticket:`#195`). + - Mark the connection closed when a Socket connection is broken, as it + happens for TCP connections instead (:ticket:`#196`). + - Fixed overflow opening a lobject with an oid not fitting in a signed int + (:ticket:`#203`). + - Fixed handling of explicit default ``cursor_factory=None`` in + `connection.cursor()` (:ticket:`#210`). + - Fixed possible segfault in named cursors creation. + - Fixed debug build on Windows, thanks to James Emerton. +- Add python-Sphinx as BuilrRequires to build documenation. Also adjust + the build process for html docs. + +------------------------------------------------------------------- Old: ---- psycopg2-2.5.2.tar.gz New: ---- psycopg2-2.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-psycopg2.spec ++++++ --- /var/tmp/diff_new_pack.uap8dP/_old 2015-02-25 02:18:39.000000000 +0100 +++ /var/tmp/diff_new_pack.uap8dP/_new 2015-02-25 02:18:39.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-psycopg2 # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,7 +17,7 @@ Name: python-psycopg2 -Version: 2.5.2 +Version: 2.6 Release: 0 Summary: Python-PostgreSQL Database Adapter License: LGPL-3.0+ and (LGPL-3.0+ or ZPL-2.0) and SUSE-GPL-2.0-with-openssl-exception @@ -26,6 +26,7 @@ Source: http://pypi.python.org/packages/source/p/psycopg2/psycopg2-%{version}.tar.gz BuildRequires: fdupes BuildRequires: postgresql-devel +BuildRequires: python-Sphinx BuildRequires: python-devel Suggests: postgresql-server BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -57,7 +58,8 @@ %build CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build -rm -rf doc/src doc/html/.buildinfo # Remove junk +rm -rf doc/build # Remove junk +sphinx-build doc/src doc/build/html %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} @@ -67,12 +69,12 @@ %files %defattr(-,root,root,-) -%doc AUTHORS LICENSE NEWS README +%doc AUTHORS LICENSE NEWS README.rst %{python_sitearch}/psycopg2/ %{python_sitearch}/psycopg2-%{version}-py%{py_ver}.egg-info %files doc %defattr(-,root,root) -%doc doc/html examples/ +%doc doc/build/html examples/ %changelog ++++++ psycopg2-2.5.2.tar.gz -> psycopg2-2.6.tar.gz ++++++ ++++ 31302 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org