Subject: CVS commit: pkgsrc/databases/py-sqlalchemy
From: Adam Ciarcinski
Date: 2018-07-03 07:34:20
Message id: 20180703053420.9A956FB3E@cvs.NetBSD.org

Log Message:
py-sqlalchemy: updated to 1.2.9

Version 1.2.9

Fixed issue where chaining multiple join elements inside of Query.join() might \ 
not correctly adapt to the previous left-hand side, when chaining joined \ 
inheritance classes that share the same base class.

Fixed bug in cache key generation for baked queries which could cause a \ 
too-short cache key to be generated for the case of eager loads across \ 
subclasses. This could in turn cause the eagerload query to be cached in place \ 
of a non-eagerload query, or vice versa, for a polymorhic “selectin” load, \ 
or possibly for lazy loads or selectin loads as well.

Fixed bug in new polymorphic selectin loading where the BakedQuery used \ 
internally would be mutated by the given loader options, which would both \ 
inappropriately mutate the subclass query as well as carry over the effect to \ 
subsequent queries.

Fixed regression caused by 4256 (itself a regression fix for 4228) which breaks \ 
an undocumented behavior which converted for a non-sequence of entities passed \ 
directly to the Query constructor into a single-element sequence. While this \ 
behavior was never supported or documented, it’s already in use so has been \ 
added as a behavioral contract to Query.

Fixed an issue that was both a performance regression in 1.2 as well as an \ 
incorrect result regarding the “baked” lazy loader, involving the generation \ 
of cache keys from the original Query object’s loader options. If the loader \ 
options were built up in a “branched” style using common base elements for \ 
multiple options, the same options would be rendered into the cache key \ 
repeatedly, causing both a performance issue as well as generating the wrong \ 
cache key. This is fixed, along with a performance improvement when such \ 
“branched” options are applied via Query.options() to prevent the same \ 
option objects from being applied repeatedly.

Files:
RevisionActionfile
1.41modifypkgsrc/databases/py-sqlalchemy/Makefile
1.17modifypkgsrc/databases/py-sqlalchemy/PLIST
1.36modifypkgsrc/databases/py-sqlalchemy/distinfo