Accepting request 287551 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/287551 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-psycopg2?expand=0&rev=19
This commit is contained in:
commit
f401bfcae9
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:50382d8703a16c3c615f328c2676f002787095925c99f0afb125a59962a5bd2e
|
||||
size 685762
|
3
psycopg2-2.6.tar.gz
Normal file
3
psycopg2-2.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c00afecb302a99a4f83dec9b055c4d1cc196926d62c8db015d68432df8118ca8
|
||||
size 367972
|
@ -1,3 +1,58 @@
|
||||
-------------------------------------------------------------------
|
||||
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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 13 13:29:56 UTC 2014 - dmueller@suse.com
|
||||
|
||||
|
@ -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 @@ Url: http://initd.org/psycopg/
|
||||
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 @@ Documentation and example files for the psycopg python PostgreSQL database adapt
|
||||
|
||||
%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 @@ rm -rf %{buildroot}%{python_sitearch}/psycopg2/tests # Don't package testsuite
|
||||
|
||||
%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
|
||||
|
Loading…
x
Reference in New Issue
Block a user