Revisions of python-SQLAlchemy
Dominique Leuenberger (dimstar_suse)
accepted
request 842705
from
Tomáš Chvátal (scarabeus_iv)
(revision 79)
Dominique Leuenberger (dimstar_suse)
accepted
request 828161
from
Ondřej Súkup (mimi_vx)
(revision 78)
- update to 1.3.19 * Adjusted the workings of the Mapper.all_orm_descriptors() * The name of the virtual column used when using the AbstractConcreteBase and ConcreteBase classes can now be customized * Repaired an issue where the “ORDER BY” clause rendering a label name rather than a complete expression * The LookupError message will now provide the user with up to four possible values that a column is constrained to via the Enum * Fixed issue where the Connection.execution_options.schema_translate_map feature would not take effect when the Sequence.next_value() function for a Sequence were used in the Column.server_default parameter and the create table DDL were emitted. * Added a **kw argument to the DeclarativeMeta.__init__() method
Dominique Leuenberger (dimstar_suse)
accepted
request 817631
from
Tomáš Chvátal (scarabeus_iv)
(revision 77)
Dominique Leuenberger (dimstar_suse)
accepted
request 793339
from
Tomáš Chvátal (scarabeus_iv)
(revision 75)
Dominique Leuenberger (dimstar_suse)
accepted
request 787144
from
Dirk Mueller (dirkmueller)
(revision 74)
- update to 1.3.15: * Adjusted the error message emitted by :meth:`.Query.join` when a left hand side can't be located that the :meth:`.Query.select_from` method is the best way to resolve the issue. Also, within the 1.3 series, used a deterministic ordering when determining the FROM clause from a given column entity passed to :class:`.Query` so that the same expression is determined each time. * Fixed regression in 1.3.14 due to :ticket:`4849` where a sys.exc_info() call failed to be invoked correctly when a flush error would occur. Test coverage has been added for this exception case. * Fixed bug where a CTE of an INSERT/UPDATE/DELETE that also uses RETURNING could then not be SELECTed from directly, as the internal state of the compiler would try to treat the outer SELECT as a DELETE statement itself and access nonexistent state. * Fixed regression caused in 1.3.13 by :ticket:`5056` where a refactor of the ORM path registry system made it such that a path could no longer be compared to an empty tuple, which can occur in a particular kind of joined eager loading path. The "empty tuple" use case has been resolved so that the path registry is compared to a path registry in all cases; - Fix build for older distributions by buildrequiring a new-enough pytest - Fix build without python2
Dominique Leuenberger (dimstar_suse)
accepted
request 767564
from
Tomáš Chvátal (scarabeus_iv)
(revision 73)
Dominique Leuenberger (dimstar_suse)
accepted
request 758623
from
Dirk Mueller (dirkmueller)
(revision 72)
- update to version 1.3.12: * [orm] [bug] Fixed issue involving lazy="raise" strategy where an ORM delete of an object would raise for a simple “use-get” style many-to-one relationship that had lazy=”raise” configured. This is inconsistent vs. the change introduced in 1.3 as part of #4353, where it was established that a history operation that does not expect emit SQL should bypass the lazy="raise" check, and instead effectively treat it as lazy="raise_on_sql" for this case. The fix adjusts the lazy loader strategy to not raise for the case where the lazy load was instructed that it should not emit SQL if the object were not present. * [orm] [bug] Fixed regression introduced in 1.3.0 related to the association proxy refactor in #4351 that prevented composite() attributes from working in terms of an association proxy that references them. * [orm] [bug] Setting persistence-related flags on relationship() while also setting viewonly=True will now emit a regular warning, as these flags do not make sense for a viewonly=True relationship. In particular, the “cascade” settings have their own warning that is generated based on the individual values, such as “delete, delete-orphan”, that should not apply to a viewonly relationship. Note however that in the case of “cascade”, these settings are still erroneously taking effect even though the relationship is set up as “viewonly”. In 1.4, all persistence-related cascade settings will be disallowed on a viewonly=True relationship in order to resolve this issue. * [orm] [bug] [py3k] Fixed issue where when assigning a collection to itself as a slice, the mutation operation would fail as it would first erase the assigned collection inadvertently. As an assignment that does not change the contents should not generate events, the operation is now a no-op. Note that the fix only applies to Python 3; in Python 2, the __setitem__ hook isn’t called in this case; __setslice__ is used instead which recreates the list item-by-item in all cases. * [orm] [bug] Fixed issue where by if the “begin” of a transaction failed at the Core engine/connection level, such as due to network error or database is
Dominique Leuenberger (dimstar_suse)
accepted
request 749101
from
Tomáš Chvátal (scarabeus_iv)
(revision 71)
Dominique Leuenberger (dimstar_suse)
accepted
request 744192
from
Tomáš Chvátal (scarabeus_iv)
(revision 70)
- Update to 1.3.10: * Fixed regression in selectinload loader strategy * Passing a plain string expression to Session.query() is deprecated * A warning is emitted for a condition in which the Session may implicitly swap an object out of the identity map for another one with the same primary key
Dominique Leuenberger (dimstar_suse)
accepted
request 727458
from
Tomáš Chvátal (scarabeus_iv)
(revision 69)
Dominique Leuenberger (dimstar_suse)
accepted
request 725980
from
Tomáš Chvátal (scarabeus_iv)
(revision 68)
Dominique Leuenberger (dimstar_suse)
accepted
request 724866
from
Tomáš Chvátal (scarabeus_iv)
(revision 67)
Dominique Leuenberger (dimstar_suse)
accepted
request 717942
from
Todd R (TheBlackCat)
(revision 66)
Dominique Leuenberger (dimstar_suse)
accepted
request 711669
from
Ondřej Súkup (mimi_vx)
(revision 65)
Dominique Leuenberger (dimstar_suse)
accepted
request 708934
from
Tomáš Chvátal (scarabeus_iv)
(revision 64)
Dominique Leuenberger (dimstar_suse)
accepted
request 693001
from
Tomáš Chvátal (scarabeus_iv)
(revision 62)
Dominique Leuenberger (dimstar_suse)
accepted
request 683645
from
Thomas Bechtold (tbechtold)
(revision 61)
Dominique Leuenberger (dimstar_suse)
accepted
request 682172
from
Tomáš Chvátal (scarabeus_iv)
(revision 60)
- Add patch to fix test failure from upstream test.patch - Update to versrion 1.3.0: * See https://docs.sqlalchemy.org/en/latest/changelog/migration_13.html for deprecation list with this version * For the changes see https://docs.sqlalchemy.org/en/latest/changelog/changelog_13.html
Displaying revisions 41 - 60 of 119