pkgsrc/databases/py-peewee/PLIST

74 lines
2.5 KiB
Text
Raw Normal View History

py-peewee: updated to 3.5.2 3.5.2: New guide to using window functions in Peewee. New and improved table name auto-generation. This feature is not backwards compatible, so it is disabled by default. To enable, set legacy_table_names=False in your model's Meta options. For more details, see table names documentation. Allow passing single fields/columns to window function order_by and partition_by arguments. Support for FILTER (WHERE...) clauses with window functions and aggregates. Added IdentityField class suitable for use with Postgres 10's new identity column type. It can be used anywhere AutoField or BigAutoField was being used previously. Fixed bug creating indexes on tables that are in attached databases (SQLite). Fixed obscure bug when using prefetch() and ModelAlias to populate a back-reference related model. 3.5.1: New features ------------ New documentation for working with relationships in Peewee. Improved tests and documentation for MySQL upsert functionality. Allow database parameter to be specified with ModelSelect.get() method. Add QualifiedNames helper to peewee module exports. Add temporary= meta option to support temporary tables. Allow a Database object to be passed to constructor of DataSet helper. Bug fixes --------- Fixed edge-case where attempting to alias a field to it's underlying column-name (when different), Peewee would not respect the alias and use the field name instead. Raise a ValueError when joining and aliasing the join to a foreign-key's object_id_name descriptor. Should prevent accidentally introducing O(n) queries or silently ignoring data from a joined-instance. Fixed bug for MySQL when creating a foreign-key to a model which used the BigAutoField for it's primary-key. Fixed bugs in the implementation of user-defined aggregates and extensions with the APSW SQLite driver. Fixed regression introduced in 3.5.0 which ignored custom Model __repr__(). Fixed regression from 2.x in which inserting from a query using a SQL() was no longer working.
2018-07-04 05:56:46 +02:00
@comment $NetBSD: PLIST,v 1.16 2018/07/04 03:56:46 adam Exp $
Update databases/py-peewee to 2.9.2. ## 2.9.2 - Fixed significant bug in the `savepoint` commit/rollback implementation. - Added support for postgresql `INTERVAL` columns. - Fixed bug where missing `sqlite3` library was causing other, unrelated libraries to throw errors when attempting to import. - Added a `case_sensitive` parameter to the SQLite `REGEXP` function implementation. The default is `False`, to preserve backwards-compatibility. - Fixed bug that caused tables not to be created when using the `dataset` extension. - Modified `drop_table` to raise an exception if the user attempts to drop tables with `CASCADE` when the database backend does not support it. - Fixed Python3 issue in the `AESEncryptedField`. - Modified the behavior of string-typed fields to treat the addition operator as concatenation ## 2.9.1 - Fixed #1218, where the use of `playhouse.flask_utils` was requiring the `sqlite3` module to be installed. - Fixed #1219 regarding the SQL generation for composite key sub-selects, joins, etc. ## 2.9.0 In this release there are two notable changes: - The ``Model.create_or_get()`` method was removed. - The SQLite closure table extension gained support for many-to-many relationships thanks to a nice PR by @necoro. ## 2.8.8 This release contains a single important bugfix for a regression in specifying the type of lock to use when opening a SQLite transaction. ## 2.8.7 This release contains numerous cleanups. ### Bugs fixed - #1087 - Fixed a misuse of the iteration protocol in the `sqliteq` extension. - #1096 - Fix representation of recursive foreign key relations when using the `model_to_dict` helper. - #1126 - Allow `pskel` to be installed into `bin` directory. - #1105 - Added a `Tuple()` type to Peewee to enable expressing arbitrary tuple expressions in SQL. - #1133 - Fixed bug in the conversion of objects to `Decimal` instances in the `DecimalField`. - Fixed an issue renaming a unique foreign key in MySQL. - Remove the join predicate from CROSS JOINs. - #1148 - Ensure indexes are created when a column is added using a schema migration. - #1165 - Fix bug where the primary key was being overwritten in queries using the closure-table extension. ### New stuff - Added properties to the `SqliteExtDatabase` to expose common `PRAGMA` settings. - Clarified documentation on calling `commit()` or `rollback()` from within the scope of an atomic block. - Allow table creation dependencies to be specified using new `depends_on` meta option. - Allow specification of the lock type used in SQLite transactions. - Added support for `CROSS JOIN` expressions in select queries. - Docs on how to implement optimistic locking - Documented optional dependencies. - Generic support for specifying select queries as locking the selected rows `FOR X`, e.g. `FOR UPDATE` or `FOR SHARE`. - Support for specifying the frame-of-reference in window queries, e.g. specifying `UNBOUNDED PRECEDING`, etc. ### Backwards-incompatible changes - As of 9e76c99, an `OperationalError` is raised if the user calls `connect()` on an already-open Database object. Previously, the existing connection would remain open and a new connection would overwrite it, making it impossible to close the previous connection. If you find this is causing breakage in your application, you can switch the `connect()` call to `get_conn()` which will only open a connection if necessary. The error **is** indicative of a real issue, though, so audit your code for places where you may be opening a connection without closing it (module-scope operations, e.g.).
2017-04-21 11:14:01 +02:00
bin/pwiz${PYVERSSUFFIX}
py-peewee: updated to 3.5.2 3.5.2: New guide to using window functions in Peewee. New and improved table name auto-generation. This feature is not backwards compatible, so it is disabled by default. To enable, set legacy_table_names=False in your model's Meta options. For more details, see table names documentation. Allow passing single fields/columns to window function order_by and partition_by arguments. Support for FILTER (WHERE...) clauses with window functions and aggregates. Added IdentityField class suitable for use with Postgres 10's new identity column type. It can be used anywhere AutoField or BigAutoField was being used previously. Fixed bug creating indexes on tables that are in attached databases (SQLite). Fixed obscure bug when using prefetch() and ModelAlias to populate a back-reference related model. 3.5.1: New features ------------ New documentation for working with relationships in Peewee. Improved tests and documentation for MySQL upsert functionality. Allow database parameter to be specified with ModelSelect.get() method. Add QualifiedNames helper to peewee module exports. Add temporary= meta option to support temporary tables. Allow a Database object to be passed to constructor of DataSet helper. Bug fixes --------- Fixed edge-case where attempting to alias a field to it's underlying column-name (when different), Peewee would not respect the alias and use the field name instead. Raise a ValueError when joining and aliasing the join to a foreign-key's object_id_name descriptor. Should prevent accidentally introducing O(n) queries or silently ignoring data from a joined-instance. Fixed bug for MySQL when creating a foreign-key to a model which used the BigAutoField for it's primary-key. Fixed bugs in the implementation of user-defined aggregates and extensions with the APSW SQLite driver. Fixed regression introduced in 3.5.0 which ignored custom Model __repr__(). Fixed regression from 2.x in which inserting from a query using a SQL() was no longer working.
2018-07-04 05:56:46 +02:00
${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/peewee.py
${PYSITELIB}/peewee.pyc
${PYSITELIB}/peewee.pyo
${PYSITELIB}/playhouse/__init__.py
${PYSITELIB}/playhouse/__init__.pyc
${PYSITELIB}/playhouse/__init__.pyo
Update databases/py-peewee to 2.7.3. 2.7.3 Small release which includes some changes to the BM25 sorting algorithm and the addition of a JSONField for use with the new JSON1 extension. 2.7.2 Small release with bugfixes to the setup script. I've also cleaned up some missing APIs in the FTS5Model to support more flexible use of either FTSModel or FTS5Model. 2.7.1 Small release which includes fixes to the setup script. Particularly, if you did not have Cython installed, the installation would completely fail. This was fixed. 2.7.0 New APIs, features, and performance improvements. Notable changes and new features - PasswordField that uses the bcrypt module. - Added new Model Meta.only_save_dirty flag to, by default, only save fields that have been modified. - Added support for upsert() on MySQL (in addition to SQLite). - Implemented SQLite ranking functions (rank and bm25) in Cython, and changed both the Cython and Python APIs to accept weight values for every column in the search index. This more closely aligns with the APIs provided by FTS5. In fact, made the APIs for FTS4 and FTS5 result ranking compatible. - Major changes to the :ref:sqlite_ext module. Function callbacks implemented in Python were implemented in Cython (e.g. date manipulation and regex processing) and will be used if Cython is available when Peewee is installed. - Support for the experimental new FTS5 SQLite search extension. - Added :py:class:SearchField for use with the SQLite FTS extensions. - Added :py:class:RowIDField for working with the special rowid column in SQLite. - Added a model class validation hook to allow model subclasses to perform any validation after class construction. This is currently used to ensure that FTS5Model subclasses do not violate any rules required by the FTS5 virtual table. Bugs fixed - #751, fixed some very broken behavior in the MySQL migrator code. Added more tests. - #718, added a RetryOperationalError mixin that will try automatically reconnecting after a failed query. There was a bug in the previous error handler implementation that made this impossible, which is also fixed.
2015-11-23 22:15:32 +01:00
${PYSITELIB}/playhouse/_speedups.so
Update databases/py-peewee to 2.8.0. This release includes a couple new field types and greatly improved C extension support for both speedups and SQLite enhancements. Also includes some work, suggested by @foxx, to remove some places where Proxy was used in favor of more obvious APIs. New features - C extension speedups now enabled by default, includes faster implementations for dict and tuple QueryResultWrapper classes, faster date formatting, and a faster field and model sorting. - C implementations of SQLite functions is now enabled by default. SQLite extension is now compatible with APSW and can be used in standalone form directly from Python. - SQLite C extension now supports murmurhash2. - UUIDField is now supported for SQLite and MySQL, using text and varchar respectively, thanks @foxx! - Added BinaryField, thanks again, @foxx! - Added PickledField to playhouse.fields. - ManyToManyField now accepts a list of primary keys when adding or removing values from the through relationship. - Added support for SQLite table-valued functions using the sqlite-vtfunc library. - Significantly simplified the build process for compiling the C extensions. Backwards-incompatible changes - Instead of using a Proxy for defining circular foreign key relationships, you now need to use DeferredRelation. - Instead of using a Proxy for defining many-to-many through tables, you now need to use DeferredThroughModel. - SQLite Virtual Models must now use Meta.extension_module and Meta.extension_options to declare extension and any options. - MySQL database will now issue COMMIT statements for SELECT queries. Bugs fixed - #766, fixed bug with PasswordField and Python3. Fuck Python 3. - #768, fixed SortedFieldList and remove_field(). Thanks @klen! - #771, clarified docs for APSW. - #773, added docs for request hooks in Pyramid - #774, prefetch() only loads first ForeignKeyField for a given relation. - #782, fixed typo in docs. - #791, foreign keys were not correctly handling coercing to the appropriate python value. - #792, cleaned up some CSV utils code. - #798, cleaned up iteration protocol in QueryResultWrappers. - #806, not really a bug, but MySQL users were clowning around and needed help. 2.7.4 This is another small release which adds code to automatically build the SQLite C extension if libsqlite is available. The release also includes: - Support for UUIDField with SQLite. - Support for registering additional database classes with the db_url module via register_database. - prefetch() supports fetching multiple foreign-keys to the same model class. - Added method to validate FTS5 search queries.
2016-01-18 16:53:14 +01:00
${PYSITELIB}/playhouse/_sqlite_ext.so
Update databases/py-peewee to 2.8.1. Bugs fixed - #821 - issue warning if Cython is old - #822 - better handling of MySQL connections point for advanced use-cases. - #313 - support equality/inequality with generic foreign key queries, and ensure get_or_create works with GFKs. - #834 - fixed Python3 incompatibilities in the PasswordField, thanks @mosquito. - #836 - fix handling of last_insert_id() when using APSWDatabase. - #845 - add connection hooks to APSWDatabase. - #852 - check SQLite library version to avoid calls to missing APIs. - #857 - allow database definition to be deferred when using the connection pool. - #878 - formerly .limit(0) had no effect. Now adds LIMIT 0. - #879 - implement a __hash__ method for Model - #886 - fix count() for compound select queries. - #895 - allow writing to the foreign_key_id descriptor to set the foreign key value. - #893 - fix boolean logic bug in model_to_dict(). - #904 - fix side-effect in clean_prefetch_query, thanks to @p.kamayev - #907 - package includes pskel now. - #852 - fix sqlite version check in BerkeleyDB backend. - #919 - add runtime check for sqlite3 library to match MySQL and Postgres. Thanks @M157q New features - Added a number of SQLite user-defined functions and aggregates. - Use the DB-API2 Binary type for BlobField. - Implemented the lucene scoring algorithm in the sqlite_ext Cython library. - #825 - allow a custom base class for ModelOptions, providing an extension - #830 - added SmallIntegerField type. - #838 - allow using a custom descriptor class with ManyToManyField. - #855 - merged change from @lez which included docs on using peewee with Pyramid. - #858 - allow arguments to be passed on query-string when using the db_url module. Thanks @RealSalmon - #862 - add support for truncate table, thanks @dev-zero for the sample code. - Allow the related_name model Meta option to be a callable that accepts the foreign key field instance.
2016-05-06 11:45:09 +02:00
${PYSITELIB}/playhouse/_sqlite_udf.so
${PYSITELIB}/playhouse/apsw_ext.py
${PYSITELIB}/playhouse/apsw_ext.pyc
${PYSITELIB}/playhouse/apsw_ext.pyo
${PYSITELIB}/playhouse/dataset.py
${PYSITELIB}/playhouse/dataset.pyc
${PYSITELIB}/playhouse/dataset.pyo
${PYSITELIB}/playhouse/db_url.py
${PYSITELIB}/playhouse/db_url.pyc
${PYSITELIB}/playhouse/db_url.pyo
${PYSITELIB}/playhouse/fields.py
${PYSITELIB}/playhouse/fields.pyc
${PYSITELIB}/playhouse/fields.pyo
Update py-peewee to 2.5.1. 2.5.1 - #566, fixed a bug regarding parentheses around compound SELECT queries (i.e. UNION, INTERSECT, etc). - Fixed unreported bug where table aliases were not generated correctly for compound SELECT queries. - #559, add option to preserve original column order with pwiz. Thanks @elgow! - Fixed unreported bug where selecting all columns from a ModelAlias does not use the appropriate FieldAlias objects. - #561, added an option for bulk insert queries to return the list of auto-generated primary keys. See docs for InsertQuery.return_id_list. - #569, added parse function to the playhouse.db_url module. Thanks @stt! - Added hacks section to the docs. Please contribute your hacks! - Calls to Node.in_() and Node.not_in() do not take *args anymore and instead take a single argument. 2.5.0 - #534, CSV utils was erroneously stripping the primary key from CSV data. - #537, fix upserts when using insert_many. - #541, respect autorollback with PostgresqlExtDatabase. Thanks @davidmcclure. - #551, fix for QueryResultWrapper's implementation of the iterator protocol. - #554, allow SQLite journal_mode to be set at run-time. - Fixed case-sensitivity issue with DataSet. - Added support for CAST expressions. - Added a hook for extending Node with custom methods. - JOIN_<type> became JOIN.<type>, e.g. .join(JOIN.LEFT_OUTER). - OP_<code> became OP.<code>. - #556, allowed using + and - prefixes to indicate ascending/descending ordering. - #550, added Database.initialize_connection() hook. - #549, bind selected columns to a particular model. Thanks @jhorman, nice PR! - #531, support for swapping databases at run-time via Using. - #530, support for SQLCipher and Python3. - New RowIDField for sqlite_ext playhouse module. This field can be used to interact with SQLite rowid fields. - Added LateralJoin helper to the postgres_ext playhouse module. 2.4.7 - #504, Docs updates. - #506, Fixed regression in aggregate_rows() - #510, Fixes bug in pwiz overwriting columns. - #514, Correctly cast foreign keys in prefetch(). - #515, Simplifies queries issued when doing recursive deletes. - #516, Fix cloning of Field objects. - #519, Aggregate rows now correctly preserves ordering of joined instances. - Unreported, fixed bug to not leave expired connections sitting around in the pool. - Added support for Postgresql's jsonb type with BinaryJSONField. - Add some basic Flask helpers. - Add support for UNION ALL queries in #512 - Add SqlCipherExtDatabase, which combines the sqlcipher database with the sqlite extensions. - Add option to print metadata when generating code with pwiz. 2.4.6 - #503, fixes behavior of aggregate_rows() when used with a CompositeKey. - #498, fixes value coercion for field aliases. - #492, fixes bug with pwiz and composite primary keys. - #486, correctly handle schemas with reflection module. - Peewee has a new ManyToManyField available in the playhouse.shortcuts module. - Peewee now has proper support for NOT IN queries through the Node.not_in() method. - Models now support iteration. This is equivalent to Model.select(). 2.4.5 - #471, #482 and #484, all of which had to do with how joins were handled by the aggregate_rows() query result wrapper. - #472 removed some needless special-casing in Model.save(). - #466 fixed case-sensitive issues with the SQLite migrator. - #474 fixed a handful of bugs that cropped up migrating foreign keys with SQLite. - #475 fixed the behavior of the SQLite migrator regarding auto-generated indexes. - #479 fixed a bug in the code that stripped extra parentheses in the SQL generator. - Fixed a handful of bugs in the APSW extension. - Added connection abstraction called ExecutionContext (see docs). - Made all context managers work as decorators (atomic, transaction, savepoint, execution_context). - Added explicit methods for IS NULL and IS NOT NULL queries. The latter was actually necessary since the behavior is different from NOT IS NULL (...). - Allow disabling backref validation (#465) - Made quite a few improvements to the documentation, particularly sections on transactions. - Added caching to the DataSet extension, which should improve performance. - Made the SQLite migrator smarter with regards to preserving indexes when a table copy is necessary.
2015-04-07 11:51:44 +02:00
${PYSITELIB}/playhouse/flask_utils.py
${PYSITELIB}/playhouse/flask_utils.pyc
${PYSITELIB}/playhouse/flask_utils.pyo
${PYSITELIB}/playhouse/hybrid.py
${PYSITELIB}/playhouse/hybrid.pyc
${PYSITELIB}/playhouse/hybrid.pyo
${PYSITELIB}/playhouse/kv.py
${PYSITELIB}/playhouse/kv.pyc
${PYSITELIB}/playhouse/kv.pyo
${PYSITELIB}/playhouse/migrate.py
${PYSITELIB}/playhouse/migrate.pyc
${PYSITELIB}/playhouse/migrate.pyo
${PYSITELIB}/playhouse/mysql_ext.py
${PYSITELIB}/playhouse/mysql_ext.pyc
${PYSITELIB}/playhouse/mysql_ext.pyo
${PYSITELIB}/playhouse/pool.py
${PYSITELIB}/playhouse/pool.pyc
${PYSITELIB}/playhouse/pool.pyo
${PYSITELIB}/playhouse/postgres_ext.py
${PYSITELIB}/playhouse/postgres_ext.pyc
${PYSITELIB}/playhouse/postgres_ext.pyo
${PYSITELIB}/playhouse/reflection.py
${PYSITELIB}/playhouse/reflection.pyc
${PYSITELIB}/playhouse/reflection.pyo
${PYSITELIB}/playhouse/shortcuts.py
${PYSITELIB}/playhouse/shortcuts.pyc
${PYSITELIB}/playhouse/shortcuts.pyo
${PYSITELIB}/playhouse/signals.py
${PYSITELIB}/playhouse/signals.pyc
${PYSITELIB}/playhouse/signals.pyo
${PYSITELIB}/playhouse/sqlcipher_ext.py
${PYSITELIB}/playhouse/sqlcipher_ext.pyc
${PYSITELIB}/playhouse/sqlcipher_ext.pyo
${PYSITELIB}/playhouse/sqlite_ext.py
${PYSITELIB}/playhouse/sqlite_ext.pyc
${PYSITELIB}/playhouse/sqlite_ext.pyo
Update databases/py-peewee to 2.8.1. Bugs fixed - #821 - issue warning if Cython is old - #822 - better handling of MySQL connections point for advanced use-cases. - #313 - support equality/inequality with generic foreign key queries, and ensure get_or_create works with GFKs. - #834 - fixed Python3 incompatibilities in the PasswordField, thanks @mosquito. - #836 - fix handling of last_insert_id() when using APSWDatabase. - #845 - add connection hooks to APSWDatabase. - #852 - check SQLite library version to avoid calls to missing APIs. - #857 - allow database definition to be deferred when using the connection pool. - #878 - formerly .limit(0) had no effect. Now adds LIMIT 0. - #879 - implement a __hash__ method for Model - #886 - fix count() for compound select queries. - #895 - allow writing to the foreign_key_id descriptor to set the foreign key value. - #893 - fix boolean logic bug in model_to_dict(). - #904 - fix side-effect in clean_prefetch_query, thanks to @p.kamayev - #907 - package includes pskel now. - #852 - fix sqlite version check in BerkeleyDB backend. - #919 - add runtime check for sqlite3 library to match MySQL and Postgres. Thanks @M157q New features - Added a number of SQLite user-defined functions and aggregates. - Use the DB-API2 Binary type for BlobField. - Implemented the lucene scoring algorithm in the sqlite_ext Cython library. - #825 - allow a custom base class for ModelOptions, providing an extension - #830 - added SmallIntegerField type. - #838 - allow using a custom descriptor class with ManyToManyField. - #855 - merged change from @lez which included docs on using peewee with Pyramid. - #858 - allow arguments to be passed on query-string when using the db_url module. Thanks @RealSalmon - #862 - add support for truncate table, thanks @dev-zero for the sample code. - Allow the related_name model Meta option to be a callable that accepts the foreign key field instance.
2016-05-06 11:45:09 +02:00
${PYSITELIB}/playhouse/sqlite_udf.py
${PYSITELIB}/playhouse/sqlite_udf.pyc
${PYSITELIB}/playhouse/sqlite_udf.pyo
${PYSITELIB}/playhouse/sqliteq.py
${PYSITELIB}/playhouse/sqliteq.pyc
${PYSITELIB}/playhouse/sqliteq.pyo
${PYSITELIB}/playhouse/test_utils.py
${PYSITELIB}/playhouse/test_utils.pyc
${PYSITELIB}/playhouse/test_utils.pyo
${PYSITELIB}/pwiz.py
${PYSITELIB}/pwiz.pyc
${PYSITELIB}/pwiz.pyo
Update databases/py-peewee to 2.9.2. ## 2.9.2 - Fixed significant bug in the `savepoint` commit/rollback implementation. - Added support for postgresql `INTERVAL` columns. - Fixed bug where missing `sqlite3` library was causing other, unrelated libraries to throw errors when attempting to import. - Added a `case_sensitive` parameter to the SQLite `REGEXP` function implementation. The default is `False`, to preserve backwards-compatibility. - Fixed bug that caused tables not to be created when using the `dataset` extension. - Modified `drop_table` to raise an exception if the user attempts to drop tables with `CASCADE` when the database backend does not support it. - Fixed Python3 issue in the `AESEncryptedField`. - Modified the behavior of string-typed fields to treat the addition operator as concatenation ## 2.9.1 - Fixed #1218, where the use of `playhouse.flask_utils` was requiring the `sqlite3` module to be installed. - Fixed #1219 regarding the SQL generation for composite key sub-selects, joins, etc. ## 2.9.0 In this release there are two notable changes: - The ``Model.create_or_get()`` method was removed. - The SQLite closure table extension gained support for many-to-many relationships thanks to a nice PR by @necoro. ## 2.8.8 This release contains a single important bugfix for a regression in specifying the type of lock to use when opening a SQLite transaction. ## 2.8.7 This release contains numerous cleanups. ### Bugs fixed - #1087 - Fixed a misuse of the iteration protocol in the `sqliteq` extension. - #1096 - Fix representation of recursive foreign key relations when using the `model_to_dict` helper. - #1126 - Allow `pskel` to be installed into `bin` directory. - #1105 - Added a `Tuple()` type to Peewee to enable expressing arbitrary tuple expressions in SQL. - #1133 - Fixed bug in the conversion of objects to `Decimal` instances in the `DecimalField`. - Fixed an issue renaming a unique foreign key in MySQL. - Remove the join predicate from CROSS JOINs. - #1148 - Ensure indexes are created when a column is added using a schema migration. - #1165 - Fix bug where the primary key was being overwritten in queries using the closure-table extension. ### New stuff - Added properties to the `SqliteExtDatabase` to expose common `PRAGMA` settings. - Clarified documentation on calling `commit()` or `rollback()` from within the scope of an atomic block. - Allow table creation dependencies to be specified using new `depends_on` meta option. - Allow specification of the lock type used in SQLite transactions. - Added support for `CROSS JOIN` expressions in select queries. - Docs on how to implement optimistic locking - Documented optional dependencies. - Generic support for specifying select queries as locking the selected rows `FOR X`, e.g. `FOR UPDATE` or `FOR SHARE`. - Support for specifying the frame-of-reference in window queries, e.g. specifying `UNBOUNDED PRECEDING`, etc. ### Backwards-incompatible changes - As of 9e76c99, an `OperationalError` is raised if the user calls `connect()` on an already-open Database object. Previously, the existing connection would remain open and a new connection would overwrite it, making it impossible to close the previous connection. If you find this is causing breakage in your application, you can switch the `connect()` call to `get_conn()` which will only open a connection if necessary. The error **is** indicative of a real issue, though, so audit your code for places where you may be opening a connection without closing it (module-scope operations, e.g.).
2017-04-21 11:14:01 +02:00
man/man1/peewee${PYVERSSUFFIX}.1