Revisions of python-peewee
Ana Guerrero (anag+factory)
accepted
request 1146064
from
Steve Kowalik (StevenK)
(revision 26)
- Update to 3.17.1: * Add bitwise and other helper methods to `BigBitField`, #2802. * Add `add_column_default` and `drop_column_default` migrator methods for specifying a server-side default value, #2803. * The new `star` attribute was causing issues for users who had a field named star on their models. This attribute is now renamed to `__star__`. #2796. * Fix compatibility issues with 3.12 related to utcnow() deprecation. * Add stricter locking on connection pool to prevent race conditions. * Add adapters and converters to Sqlite to replace ones deprecated in 3.12. * Fix bug in `model_to_dict()` when only aliases are present. * Fix version check for Sqlite native drop column support. * Do not specify a `reconnect=` argument to `ping()` if using MySQL 8.x.
Ana Guerrero (anag+factory)
accepted
request 1124001
from
Dirk Mueller (dirkmueller)
(revision 24)
- update to 3.17.0: * Only roll-back in the outermost `@db.transaction` decorator/ctx manager if an unhandled exception occurs. * Cover transaction `BEGIN` in the reconnect-mixin. Given that no transaction has been started, reconnecting when beginning a new transaction ensures that a reconnect will occur if it is safe to do so. * Add support for setting `isolation_level` in `db.atomic()` and `db.transaction()` when using Postgres and MySQL/MariaDB, which will apply to the wrapped transaction. * Add support for the Sqlite `SQLITE_DETERMINISTIC` function flag. This allows user-defined Sqlite functions to be used in indexes and may be used by the query planner. * Fix unreported bug in dataset import when inferred field name differs from column name. - disable apsw from tests for sle15 - can't be build anymore - unbind to cython < 3 - bind to cython < 3 - Update to 3.15.4 Fix bug in test_utils.count_queres() which could erroneously include pool events such as connect/disconnect, etc. set to `None`. - switch to PyMSQL instead of mysql-connector-python, which is the * This will be a notable release as it adds support for CockroachDB, * Fix non-deterministic join ordering issue when using the filter() * Bulk insert (insert_many() and insert_from()) will now return * Migration extension now supports altering a column's data-type, * Added BloomFilter.from_buffer() method for populating a bloom-filter * Fix for issue #1991 regarding setting intervening models to None.
Ana Guerrero (anag+factory)
accepted
request 1105035
from
Markéta Machová (mcalabkova)
(revision 23)
Dominique Leuenberger (dimstar_suse)
accepted
request 1103730
from
Dirk Mueller (dirkmueller)
(revision 22)
- bind to cython < 3
Dominique Leuenberger (dimstar_suse)
accepted
request 1091730
from
Factory Maintainer (factory-maintainer)
(revision 21)
Automatic submission by obs-autosubmit
Dominique Leuenberger (dimstar_suse)
accepted
request 1039750
from
Dirk Mueller (dirkmueller)
(revision 20)
Dominique Leuenberger (dimstar_suse)
accepted
request 1032500
from
Markéta Machová (mcalabkova)
(revision 19)
Richard Brown (RBrownFactory)
accepted
request 1008722
from
Dirk Mueller (dirkmueller)
(revision 18)
Dominique Leuenberger (dimstar_suse)
accepted
request 931290
from
Dirk Mueller (dirkmueller)
(revision 16)
- update to 3.14.8: * Returning clause can still be specified for Sqlite, however it just needs to be done so manually rather than having it applied automatically. * Fix bug in APSW extension with Sqlite 3.35 and newer, due to handling of last insert rowid with RETURNING. Refs #2479. * Fix pesky bug in new `last_insert_id()` on the `SqliteExtDatabase`. * Only raise `DoesNotExist` when `lazy_load` is enabled on ForeignKeyField * Add missing convenience method `ModelSelect.get_or_none()` * Allow `ForeignKeyField` to specify a custom `BackrefAccessorClass` * Ensure foreign-key-specific conversions are applied on INSERT and UPDATE * Add handling of MySQL error 4031 (inactivity timeout) to the `ReconnectMixin` helper class. * Support specification of conflict target for ON CONFLICT/DO NOTHING. * Add `encoding` parameter to the DataSet `freeze()` and `thaw()` methods * Fix bug which prevented `DeferredForeignKey` from being used as a model's primary key * Ensure foreign key's related object cache is cleared when the foreign-key is set to `None`. * Allow specification of `(schema, table)` to be used with CREATE TABLE AS... * Allow reusing open connections with DataSet * Add `highlight()` and `snippet()` helpers to Sqlite `SearchField`, for use with full-text search extension. * Preserve user-provided aliases in column names. * Add support for Sqlite 3.37 strict tables. * Ensure database is inherited when using `ThreadSafeDatabaseMetadata`, and also adds an implementation in `playhouse.shortcuts` along with basic unit tests. * Better handling of Model's dirty fields when saving, fixes #2466. * Add basic support for MariaDB connector driver in `playhouse.mysql_ext` * Begin a basic implementation for a psycopg3-compatible pg database
Dominique Leuenberger (dimstar_suse)
accepted
request 917302
from
Alexei Podvalsky (awissu)
(revision 15)
Dominique Leuenberger (dimstar_suse)
accepted
request 786217
from
Dirk Mueller (dirkmueller)
(revision 13)
- switch to PyMSQL instead of mysql-connector-python, which is the default since 3.12.x and doesn't have vulnerabilities (bsc#1122204)
Dominique Leuenberger (dimstar_suse)
accepted
request 784338
from
Tomáš Chvátal (scarabeus_iv)
(revision 12)
Dominique Leuenberger (dimstar_suse)
accepted
request 755739
from
Tomáš Chvátal (scarabeus_iv)
(revision 11)
- Pull in the full python for sqlite
Dominique Leuenberger (dimstar_suse)
accepted
request 741075
from
Tomáš Chvátal (scarabeus_iv)
(revision 10)
Ludwig Nussel (lnussel_factory)
accepted
request 730058
from
Tomáš Chvátal (scarabeus_iv)
(revision 9)
- Update to 3.10.0: * Many bugfixes to enumerate, see CHANGELOG.md
Dominique Leuenberger (dimstar_suse)
accepted
request 717890
from
Tomáš Chvátal (scarabeus_iv)
(revision 8)
- Update to 3.9.6: * Support nesting the Database instance as a context-manager. The outermost block will handle opening and closing the connection along with wrapping everything in a transaction. Nested blocks will use savepoints. * Add new session_start(), session_commit() and session_rollback() interfaces to the Database object to support using transactional controls in situations where a context-manager or decorator is awkward. * Fix error that would arise when attempting to do an empty bulk-insert. * Set isolation_level=None in SQLite connection constructor rather than afterwards using the setter. * Add create_table() method to Select query to implement CREATE TABLE AS. * Cleanup some declarations in the Sqlite C extension. * Add new example showing how to implement Reddit's ranking algorithm in SQL.
Dominique Leuenberger (dimstar_suse)
accepted
request 702514
from
Alexei Podvalsky (awissu)
(revision 7)
Displaying revisions 1 - 20 of 26