Revisions of python-peewee
Matej Cepl (mcepl)
accepted
request 1223773
from
Martin Hauke (mnhauke)
(revision 64)
- Update to version 3.17.8 * Fix regression in behavior of delete_instance() when traversing nullable foreign-keys. Introduced in 3.17.6. * Fix bug where joins not cloned when going from join-less -> joined query.
buildservice-autocommit
accepted
request 1222054
from
Dirk Mueller (dirkmueller)
(revision 63)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 62)
- update to 3.17.7: * Add db_url support for psycopg3 via `psycopg3://`. * Ensure double-quotes are escaped properly when introspecting constraints. * A few documentation-related fixes.
buildservice-autocommit
accepted
request 1219559
from
Daniel Garcia (dgarcia)
(revision 61)
baserev update by copy to link target
Daniel Garcia (dgarcia)
committed
(revision 60)
- Update license to MIT, that's what the project defines in the setup.py
buildservice-autocommit
accepted
request 1198059
from
Dirk Mueller (dirkmueller)
(revision 59)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 58)
- update to 3.17.6: * Fix bug in recursive `model.delete_instance()` when a table contains foreign-keys at multiple depths of the graph * Fix regression in pool behavior on systems where `time.time()` returns identical values for two connections. This adds a no-op comparable sentinel to the heap to prevent any recurrence of this problem. * Ensure that subqueries inside `CASE` statements generate correct SQL. * Fix regression that broke server-side cursors with Postgres * Fix to ensure compatibility with psycopg3 - the libpq TransactionStatus constants are no longer available on the `Connection` instance. * Fix quoting issue in pwiz that could generate invalid python code for double-quoted string literals used as column defaults.
buildservice-autocommit
accepted
request 1179078
from
Dirk Mueller (dirkmueller)
(revision 57)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 56)
- update to 3.17.5: * Fixes package installation issue on 3.12 and newer introduced in the last version. - update to 3.17.4: * Fix bug that could occur when using CASE inside a function, and one or more of the CASE clauses consisted of a subquery. Refs #2873. new fix in #2872 for regression in truthiness of cursor. * Fix bug in the conversion of TIMESTAMP type in Sqlite on Python 3.12+. * Fix for hybrid properties on subclasses when aliased (#2888). * Many fixes for SqliteQueueDatabase (#2874, #2876, #2877).
buildservice-autocommit
accepted
request 1171418
from
Dirk Mueller (dirkmueller)
(revision 55)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 54)
- update to 3.17.3: * Better fix for #2871 (extraneous queries when coercing query to list), and new fix in #2872 for regression in truthiness of cursor. * Full support for `psycopg3`. * Basic support for Sqlite `jsonb`. * Fix bug where calling `list(query)` resulted in extra queries, #2871
buildservice-autocommit
accepted
request 1146064
from
Steve Kowalik (StevenK)
(revision 53)
baserev update by copy to link target
Steve Kowalik (StevenK)
committed
(revision 52)
- 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.
buildservice-autocommit
accepted
request 1137846
from
Matej Cepl (mcepl)
(revision 51)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 1137767
from
Antonio Larrosa (alarrosa)
(revision 50)
- Remove unneeded BuildRequires PyMySQL and psycopg2. I checked that the number of tests that are run are the same. - Fix shebangs and other rpmlint errors/warnings
buildservice-autocommit
accepted
request 1124001
from
Dirk Mueller (dirkmueller)
(revision 49)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 48)
- 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.
buildservice-autocommit
accepted
request 1105035
from
Markéta Machová (mcalabkova)
(revision 47)
baserev update by copy to link target
Markéta Machová (mcalabkova)
accepted
request 1104939
from
Eric Schirra (ecsos)
(revision 46)
- Update to 3.16.3 - Support for Cython 3.0. - Add flag to ManyToManyField to prevent setting/getting values on unsaved instances. This is worthwhile, since reading or writing a many-to-many has no meaning when the instance is unsaved. - Adds a star() helper to Source base-class for selecting all columns. - Fix missing binary types for mysql-connector and mariadb-connector. - Add extract() method to MySQL JSONField for extracting a jsonpath. - Add %{?sle15_python_module_pythons} - unbind to cython < 3
buildservice-autocommit
accepted
request 1103730
from
Dirk Mueller (dirkmueller)
(revision 45)
baserev update by copy to link target
Displaying revisions 1 - 20 of 64