pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-sqlalchemy py-sqlalchemy: updated to 1.2.15



details:   https://anonhg.NetBSD.org/pkgsrc/rev/daf4550e482c
branches:  trunk
changeset: 316461:daf4550e482c
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Dec 13 11:46:16 2018 +0000

description:
py-sqlalchemy: updated to 1.2.15

1.2.15

orm

[orm] [bug] Fixed bug where the ORM annotations could be incorrect for the primaryjoin/secondaryjoin a relationship if one used the pattern ForeignKey(SomeClass.id) in the declarative mappings. This 
pattern would leak undesired annotations into the join conditions which can break aliasing operations done within Query that are not supposed to impact elements in that join condition. These 
annotations are now removed up front if present.

[orm] [bug] In continuing with a similar theme as that of very recent 4349, repaired issue with RelationshipProperty.Comparator.any() and RelationshipProperty.Comparator.has() where the ?secondary? 
selectable needs to be explicitly part of the FROM clause in the EXISTS subquery to suit the case where this ?secondary? is a Join object.

[orm] [bug] Fixed regression caused by 4349 where adding the ?secondary? table to the FROM clause for a dynamic loader would affect the ability of the Query to make a subsequent join to another 
entity. The fix adds the primary entity as the first element of the FROM list since Query.join() wants to jump from that. Version 1.3 will have a more comprehensive solution to this problem as well.

[orm] [bug] Fixed bug where chaining of mapper options using RelationshipProperty.of_type() in conjunction with a chained option that refers to an attribute name by string only would fail to locate 
the attribute.


orm declarative

[bug] [declarative] [orm] A warning is emitted in the case that a column() object is applied to a declarative class, as it seems likely this intended to be a Column object.


misc

Added support for the write_timeout flag accepted by mysqlclient and pymysql to be passed in the URL string.

Fixed issue where reflection of a PostgreSQL domain that is expressed as an array would fail to be recognized.

diffstat:

 databases/py-sqlalchemy/Makefile |   4 ++--
 databases/py-sqlalchemy/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 74e543b792de -r daf4550e482c databases/py-sqlalchemy/Makefile
--- a/databases/py-sqlalchemy/Makefile  Thu Dec 13 11:23:05 2018 +0000
+++ b/databases/py-sqlalchemy/Makefile  Thu Dec 13 11:46:16 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.46 2018/11/11 21:58:41 adam Exp $
+# $NetBSD: Makefile,v 1.47 2018/12/13 11:46:16 adam Exp $
 
-DISTNAME=      SQLAlchemy-1.2.14
+DISTNAME=      SQLAlchemy-1.2.15
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=S/SQLAlchemy/}
diff -r 74e543b792de -r daf4550e482c databases/py-sqlalchemy/distinfo
--- a/databases/py-sqlalchemy/distinfo  Thu Dec 13 11:23:05 2018 +0000
+++ b/databases/py-sqlalchemy/distinfo  Thu Dec 13 11:46:16 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.41 2018/11/11 21:58:41 adam Exp $
+$NetBSD: distinfo,v 1.42 2018/12/13 11:46:16 adam Exp $
 
-SHA1 (SQLAlchemy-1.2.14.tar.gz) = 7e7260c3886ff633bbf6ffbcee3a394a7e520145
-RMD160 (SQLAlchemy-1.2.14.tar.gz) = a0b2476e195c0b887a07b16a4d8a3fc5dee161d9
-SHA512 (SQLAlchemy-1.2.14.tar.gz) = f6b89029180bc6f3e35bc17a1d80c111f6ce05f2f799bbdfee00c961e83aa2f95cbb363c85a5f97c18d5ff0aa1408c164621474cd6ddf8e63dd88da35de69539
-Size (SQLAlchemy-1.2.14.tar.gz) = 5657372 bytes
+SHA1 (SQLAlchemy-1.2.15.tar.gz) = dd645321a887703b9be08434a73abb4041ae220f
+RMD160 (SQLAlchemy-1.2.15.tar.gz) = 7f9f90a5090a48c32a82c44d9a23f1321a7cc921
+SHA512 (SQLAlchemy-1.2.15.tar.gz) = 478583438b2e0f82a5dd1e295ae7a00b308763b669d01875d5e61f43127792ec1ad18929bff664a641a65eff685cb10ef880bf3f1334954720059019bceca7e7
+Size (SQLAlchemy-1.2.15.tar.gz) = 5645275 bytes



Home | Main Index | Thread Index | Old Index