883b248319Accepting request 1218908 from devel:languages:python
factory
Ana Guerrero
2024-10-29 13:36:32 +00:00
1b94deff94- Drop patch py313-tests.patch, included in: - Add patch support-python-313.patch: * Support Python 3.13.
devel
Steve Kowalik
2024-10-29 05:08:38 +00:00
d0b27bcb21Accepting request 1129668 from devel:languages:python
Ana Guerrero
2023-11-30 21:00:04 +00:00
7ba5100ba5- update to 2.9.9: * Add support for Python 3.12. * Drop support for Python 3.6. * Wheel package bundled with PostgreSQL 16 libpq in order to add support for recent features, such as `sslcertmode`.Dirk Mueller2023-11-28 21:49:48 +00:00
a516948d5bAccepting request 1109514 from devel:languages:python
Ana Guerrero
2023-09-07 19:13:48 +00:00
34f11a13c5- update to 2.9.7: * Fix propagation of exceptions raised during module initialization * Fix building when pg_config returns an empty string - Update to 2.9.5 * Alpine (musl) wheels now available - update to 2.8.5 * Added interval_status parameter to start_replication() method and other facilities to send automatic replication keepalives * Fixed “there’s no async cursor” error polling a connection with * Added errors module. Every PostgreSQL error is converted into * Added BYTES adapter to manage databases with mixed encodings on * Added table_oid and table_column attributes on cursor.description * Added connection.info object to retrieve various PostgreSQL * Fixed async communication blocking if results are returned in * Dropped deprecated PersistentConnectionPool. Use * Binary packages no longer installed by default. The * Added Replication protocol support (ticket #322). Main authors are * Added parse_dsn() and make_dsn() functions (tickets #321, #363). connect() * Added __libpq_version__ and libpq_version() to inspect the version of the * The attributes notices and notifies can be customized replacing them with * Adapt network types to ipaddress objects when available. When not enabled, convert arrays of network types to lists by default. The old Inet adapter is * Give precedence to __conform__() over superclasses to choose an object * Using Python C API decoding functions and codecs caching for faster * executemany() slowness addressed by execute_batch() and execute_values() * Added async_ as an alias for async to support Python 3.7 where async will * Unless in autocommit, do not use default_transaction_* settings to control the session characteristics as it may create problems with external * isolation_level is now writable and entirely separated from autocommit;Dirk Mueller2023-09-07 11:10:42 +00:00
c462c09bb2- update to 2.9.6: * Package manylinux 2014 for aarch64 and ppc64le platforms, in order to include libpq 15 in the binary package (🎫#1396). * Wheel package compiled against OpenSSL 1.1.1t.Dirk Mueller2023-04-03 19:55:58 +00:00
2038d23c52- update to 2.8.6: * Fixed memory leak changing connection encoding to the current one * Fixed search of mxDateTime headers in virtualenvs (🎫#996). * Added missing values from errorcodes (🎫#1133). * cursor.query reports the query of the last :sql:COPY opearation too * ~psycopg2.errorcodes map and ~psycopg2.errors classes updated to PostgreSQL 13. * Added wheel packages for ARM architecture (🎫#1125). * Wheel package compiled against OpenSSL 1.1.1g.Dirk Mueller2020-09-16 21:19:49 +00:00
5481992927- update to 2.8.4: - Fixed building with Python 3.8 (🎫#854). - Don't swallow keyboard interrupts on connect when a password is specified in the connection string (🎫#898). - Don't advance replication cursor when the message wasn't confirmed (🎫#940). - Fixed inclusion of `time.h on linux (🎫#951). - Fixed int overflow for large values in ~psycopg2.extensions.Column.table_oid and ~psycopg2.extensions.Column.type_code (🎫#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.Dirk Mueller2020-02-28 21:51:09 +00:00
15154cfc8d- Update to 2.7.7: * Cleanup of the cursor results assignment code, which might have solved double free and inconsistencies in concurrent usage (🎟️#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).
Tomáš Chvátal
2019-03-04 12:18:22 +00:00
d7de5c3d8f- convert to singlespec - update to 2.7.1 - drop doc subpackage, html docs available from http://pythonhosted.org/psycopg2/
Jan Matejek
2017-06-23 16:40:37 +00:00
9fddc27560Accepting request 505420 from home:bmwiedemann:branches:devel:languages:python
Jan Matejek
2017-06-21 13:51:32 +00:00
6458c95602- update to 2.6.2: * Fixed inconsistent state in externally closed connections (tickets #263, #311, #443). * Report the server response status on errors (such as ticket #281). * Raise NotSupportedError on unhandled server response status (ticket #352). * Allow overriding string adapter encoding with no connection (ticket #331). * The wait_select callback allows interrupting a long-running query in an interactive shell using Ctrl-C (ticket #333). * Fixed PersistentConnectionPool on Python 3 (ticket #348). * Fixed segfault on repr() of an uninitialized connection (ticket #361). * Allow adapting bytes using QuotedString on Python 3 (ticket #365). * Added support for setuptools/wheel (ticket #370). * Fix build on Windows with Python 3.5, VS 2015 (ticket #380). * Fixed errorcodes.lookup initialization thread-safety (ticket #382). * Fixed read() exception propagation in copy_from (ticket #412). * Fixed possible NULL TZ decref (ticket #424). * errorcodes map updated to PostgreSQL 9.5. * Lists consisting of only None are escaped correctly (ticket #285). * Fixed deadlock in multithread programs using OpenSSL (ticket #290). * Correctly unlock the connection after error in flush (ticket #294). * Fixed MinTimeLoggingCursor.callproc() (ticket #309). * Added support for MSVC 2015 compiler (ticket #350).Dirk Mueller2016-11-14 14:07:56 +00:00
a66f16c56aAccepting request 287547 from home:tbechtold:branches:devel:languages:pythonAlberto Planas Dominguez2015-02-24 15:28:39 +00:00
f5607fc4b6Accepting request 213773 from devel:languages:python
Stephan Kulow
2014-01-17 15:14:36 +00:00
338745f184Accepting request 213708 from Cloud:OpenStack:Master
Denisart Benjamin
2014-01-13 17:23:55 +00:00
55933af917Accepting request 180872 from devel:languages:python
Stephan Kulow
2013-06-29 12:33:44 +00:00
d590b3749bAccepting request 180856 from home:dirkmueller:branches:devel:languages:python
Sascha Peilicke
2013-06-25 12:20:06 +00:00
d5f45c6328Accepting request 179936 from devel:languages:python
Stephan Kulow
2013-06-19 14:45:34 +00:00
c4b349269cPython3 moved to devel:languages:python3
Sascha Peilicke
2013-06-17 12:52:45 +00:00
cd90b371e5Accepting request 173096 from devel:languages:python
Stephan Kulow
2013-04-24 14:11:46 +00:00
1ba7060b5a- Update to 2.5: - Added JSON adaptation. - Added support for PostgreSQL 9.2 range types. - connection and cursor objects can be used in `with statements as context managers as specified by recent DBAPI extension. - Added psycopg2.extensions.Diagnostics object to get extended info from a database error. Many thanks to Matthew Woodcraft for the implementation (ticket #149). - Added connection.cursor_factory attribute to customize the default object returned by connection.cursor(). - Added support for backward scrollable cursors. Thanks to Jon Nelson for the initial patch (ticket #108). - Added a simple way to customize casting of composite types into Python objects other than namedtuples. Many thanks to Ronan Dunklau and Tobias Oberstein for the feature development. - connection.reset() implemented using DISCARD ALL on server versions supporting it. - Properly cleanup memory of broken connections (ticket #148). - Fixed bad interaction of setup.py with other dependencies in Distribute projects on Python 3 (ticket #153). - Added support for Python 3.3. - Dropped support for Python 2.4. Please use Psycopg 2.4.x if you need it. - psycopg2.errorcodes` map updated to PostgreSQL 9.2. - Dropped Zope adapter from source repository. ZPsycopgDA now has its own project at <http://github.com/psycopg/ZPsycopgDA>. - Changes from 2.4.6: - Fixed 'cursor()' arguments propagation in connection subclasses and overriding of the 'cursor_factory' argument. Thanks to Corry Haines for the report and the initial patch (ticket #105). - Dropped GIL release during string adaptation around a function call
James Oakley
2013-04-16 18:44:03 +00:00
e3b517db2bAccepting request 142781 from devel:languages:python
Stephan Kulow
2012-11-28 13:33:58 +00:00
ceb39cf029Accepting request 142768 from devel:languages:python3
Todd R
2012-11-25 11:12:03 +00:00
a0f9f6ad85Accepting request 122421 from devel:languages:python
Stephan Kulow
2012-05-29 09:44:50 +00:00
4c2de53697Accepting request 122403 from home:babelworx:ldig:branches:devel:languages:python
Todd R
2012-05-25 15:20:33 +00:00
0cfed57b69Accepting request 122225 from home:HighwayStar:branches:devel:languages:python
Todd R
2012-05-25 06:57:27 +00:00
e7ced2a1a5Accepting request 113770 from devel:languages:python
Stephan Kulow
2012-04-17 05:49:03 +00:00
9c371a0633- Update to 2.4.5: * The close() methods on connections and cursors don't raise exceptions if called on already closed objects. * Fixed fetchmany() with no argument in cursor subclasses (ticket #84). * Use lo_creat() instead of lo_create() when possible for better interaction with pgpool-II (ticket #88). * Error and its subclasses are picklable, useful for multiprocessing interaction (ticket #90). * Better efficiency and formatting of timezone offset objects thanks to Menno Smits (tickets #94, #95). * Fixed 'rownumber' during iteration on cursor subclasses. Regression introduced in 2.4.4 (ticket #100). * Added support for 'inet' arrays. * Fixed 'commit()' concurrency problem (ticket #103). * Codebase cleaned up using the GCC Python plugin's static analysis tool, which has revealed several unchecked return values, possible NULL dereferences, reference counting problems. Many thanks to David Malcolm for the useful tool and the assistance provided using it.
James Oakley
2012-04-06 19:07:13 +00:00
f53a2e04bfAccepting request 104796 from devel:languages:python
Stephan Kulow
2012-02-16 09:09:14 +00:00
36b3e26208Accepting request 104494 from devel:openSUSE:Factory:patch-license
James Oakley
2012-02-13 18:42:16 +00:00
e7d443b97f- Update to 2.4.4: * register_composite() also works with the types implicitly defined after a table row, not only with the ones created by CREATE TYPE. * Values for the isolation level symbolic constants restored to what they were before release 2.4.2 to avoid breaking apps using the values instead of the constants. * Named DictCursor/RealDictCursor honour itersize (ticket #80). * Fixed rollback on error on Zope (ticket #73). * Raise DatabaseError instead of Error with empty libpq errors, consistently with other disconnection-related errors: regression introduced in release 2.4.1 (ticket #82). - Version 2.4.3: * connect() supports all the keyword arguments supported by the database * Added new_array_type() function for easy creation of array typecasters. * Added support for arrays of hstores and composite types (ticket #66). * Fixed segfault in case of transaction started with connection lost (and possibly other events). * Fixed adaptation of Decimal type in sub-interpreters, such as in certain mod_wsgi configurations (ticket #52). * Rollback connections in transaction or in error before putting them back into a pool. Also discard broken connections (ticket #62). * Lazy import of the slow uuid module, thanks to Marko Kreen. * Fixed NamedTupleCursor.executemany() (ticket #65). * Fixed --static-libpq setup option (ticket #64). * Fixed interaction between RealDictCursor and named cursors (ticket #67). * Dropped limit on the columns length in COPY operations (ticket #68). * Fixed reference leak with arguments referenced more than once in queries (ticket #81). * Fixed typecasting of arrays containing consecutive backslashes. * errorcodes map updated to PostgreSQL 9.1.
James Oakley
2012-01-12 22:04:03 +00:00
1d707c1cebAccepting request 84195 from devel:languages:python
Sascha Peilicke
2011-09-22 08:51:44 +00:00
8a9c080a37- Update to version 2.4.2: * connection.h: added codec attribute to avoid repeated codec name lookups during unicode query/params manipulations. * setup.py: bumped to version 2.3.2.dev0 * psycopg/connection_int.c: applied patch from Marti Raudsepp to close ticket #24. Fixed segfault in connection when DateStyle not available (e.g. pgbouncer appars not passing it to the client) * psycopg/utils.c: Added psycopg_strdup function. - See ChangeLog for more... - Don't package testsuite - Fix non-executable script rpmlint warning
Sascha Peilicke
2011-09-21 13:46:02 +00:00
53eb616efaAccepting request 67290 from devel:languages:pythonMarcus Rueckert2011-05-30 14:55:44 +00:00
b74cf63130- Spec file changes: * Added LICENSE and NEWS files * Added ZPL license to preamble (psycopg2 is dual-licensed) * Use upstream description * Fixed SLE build errors * Repacked tarball to bzip2 - Update to version 2.4 * Added support for Python 3.1 and 3.2. The conversion has also brought several improvements: * Improvements to the named cusors and data handling * Fixed adaptation of None in composite types (ticket #26). Bug report by Karsten Hilbert. * Fixed several reference leaks in less common code paths. * Fixed segfault when a large object is closed and its connection no more available. * Added missing icon to ZPsycopgDA package, not available in Zope 2.12.9 (ticket #30). Bug report and patch by Pumukel. * Fixed conversion of negative infinity (ticket #40). Bug report and patch by Marti Raudsepp.
Sascha Peilicke
2011-02-28 08:29:10 +00:00
f6e539b8a8generated via source service
OBS User _service
2011-02-28 07:52:43 +00:00
82e4ad5a3fAccepting request 56848 from home:elchevive
Pavol Rusnak
2011-01-03 00:42:53 +00:00
bdcf7a3f62Accepting request 51433 from home:termim:branches:devel:languages:python
Cristian Rodríguez
2010-10-27 12:22:11 +00:00
5943334955Accepting request 20517 from home:jnelson-suse:branches:devel:languages:python
James Oakley
2009-09-16 13:38:40 +00:00
34778ec224Copy from home:jnelson-suse:branches:devel:languages:python/python-psycopg2 via accept of submit request 18644 Request was accepted with message: Thanks
James Oakley
2009-08-25 15:07:49 +00:00
72910d89eaUpdate to 2.0.12 - Update to 2.0.12: * psycopg/lobject_int.c: fixed problem with writing large data using lo_write: apparently the large objects code does not like non-blocking connections. * setup.py: fixed version detection for PostgreSQL rc, as suggested by Sok Ann Yap. * ZPsycopgDA/db.py: applied serialization error retry from Brian Sutherland. * Implemented connection.reset() method to reset the connection to well-know default parameters. This is much faster than closing and reopening the connection. (Suggested by a bug report by Glenn Maynard.) * psycopg/cursor_type.c: unified size macro definitions in COPY TO and COPY FROM operations: now the buffer for column names is 8192 bytes that should be enough even for very large tables. * Applied patch from Robert Munro to fix version check in ZPsycopgDA. - Release 2.0.11: * lib/extras.py: fixed crash in fetchone() when prefetching using a RealDictCursor. * psycopg/cursor_ext.c: now raise correct exception when fetching using a custom row factory results in an error. * lib/extras.py: applied DictRow "diet" patch from Marko Kreen. * setup.py: applied patch from Elvis Pranskevichus to make PostgreSQL version detection more robust.
James Oakley
2009-08-18 13:17:15 +00:00
e28468a321update to 2.0.10
Lars Vogdt
2009-04-27 15:31:31 +00:00
cd5328189dOops. Wrong project
James Oakley
2008-11-20 20:56:43 +00:00
a9c4e6c4d1Disable 7.4+ features
James Oakley
2008-11-20 20:53:29 +00:00
1d8b5fd8c9Update to 2.0.8
James Oakley
2008-11-20 20:29:18 +00:00
f37200f7d6use --record-rpm instead of --record
Peter Poeml
2008-11-05 10:58:23 +00:00