Thu Jun 2 10:29:03 2016 UTC ()
Changes 1.0.13

Fixed bug in ���evaluate��� strategy of Query.update() and Query.delete() which would fail to accommodate a bound parameter with a ���callable��� value, as which occurs when filtering by a many-to-one equality expression along a relationship.

Fixed bug whereby the event listeners used for backrefs could be inadvertently applied multiple times, when using a deep class inheritance hierarchy in conjunction with mutiple mapper configuration steps.

Fixed bug whereby passing a text() construct to the Query.group_by() method would raise an error, instead of intepreting the object as a SQL fragment.

Anonymous labeling is applied to a func construct that is passed to column_property(), so that if the same attribute is referred to as a column expression twice the names are de-duped, thus avoiding ���ambiguous column��� errors. Previously, the .label(None) would need to be applied in order for the name to be de-anonymized.

Fixed regression appearing in the 1.0 series in ORM loading where the exception raised for an expected column missing would incorrectly be a NoneType error, rather than the expected NoSuchColumnError.


(adam)
diff -r1.18 -r1.19 pkgsrc/databases/py-sqlalchemy/Makefile
diff -r1.14 -r1.15 pkgsrc/databases/py-sqlalchemy/distinfo

cvs diff -r1.18 -r1.19 pkgsrc/databases/py-sqlalchemy/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/py-sqlalchemy/Makefile 2016/04/11 09:24:24 1.18
+++ pkgsrc/databases/py-sqlalchemy/Makefile 2016/06/02 10:29:03 1.19
@@ -1,19 +1,19 @@ @@ -1,19 +1,19 @@
1# $NetBSD: Makefile,v 1.18 2016/04/11 09:24:24 adam Exp $ 1# $NetBSD: Makefile,v 1.19 2016/06/02 10:29:03 adam Exp $
2 2
3DISTNAME= SQLAlchemy-1.0.12 3DISTNAME= SQLAlchemy-1.0.13
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
5CATEGORIES= databases python 5CATEGORIES= databases python
6MASTER_SITES= http://pypi.python.org/packages/source/S/SQLAlchemy/ 6MASTER_SITES= ${MASTER_SITE_PYPI:=S/SQLAlchemy/}
7 7
8MAINTAINER= tonnerre@NetBSD.org 8MAINTAINER= tonnerre@NetBSD.org
9HOMEPAGE= http://www.sqlalchemy.org/ 9HOMEPAGE= http://www.sqlalchemy.org/
10COMMENT= Python SQL toolkit and Object Relational Mapper 10COMMENT= Python SQL toolkit and Object Relational Mapper
11LICENSE= mit 11LICENSE= mit
12 12
13BUILD_DEPENDS+= ${PYPKGPREFIX}-nose>=0.11:../../devel/py-nose 13BUILD_DEPENDS+= ${PYPKGPREFIX}-nose>=0.11:../../devel/py-nose
14BUILD_DEPENDS+= ${PYPKGPREFIX}-mock>=0:../../devel/py-mock 14BUILD_DEPENDS+= ${PYPKGPREFIX}-mock>=0:../../devel/py-mock
15 15
16REPLACE_PYTHON= lib/sqlalchemy/testing/runner.py 16REPLACE_PYTHON= lib/sqlalchemy/testing/runner.py
17 17
18.include "../../lang/python/application.mk" 18.include "../../lang/python/application.mk"
19.include "../../lang/python/egg.mk" 19.include "../../lang/python/egg.mk"

cvs diff -r1.14 -r1.15 pkgsrc/databases/py-sqlalchemy/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/py-sqlalchemy/distinfo 2016/04/11 09:24:24 1.14
+++ pkgsrc/databases/py-sqlalchemy/distinfo 2016/06/02 10:29:03 1.15
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.14 2016/04/11 09:24:24 adam Exp $ 1$NetBSD: distinfo,v 1.15 2016/06/02 10:29:03 adam Exp $
2 2
3SHA1 (SQLAlchemy-1.0.12.tar.gz) = 854e38c746746e7b46189939d2102068ee2f4249 3SHA1 (SQLAlchemy-1.0.13.tar.gz) = 80b5631316144cac4d37f9eab4e8801d8501f1e1
4RMD160 (SQLAlchemy-1.0.12.tar.gz) = abc7fd6b9d0874685433c30f81f8c260324f3223 4RMD160 (SQLAlchemy-1.0.13.tar.gz) = de14eb7fb03471b2d1891f591833f535fc147fa7
5SHA512 (SQLAlchemy-1.0.12.tar.gz) = 67878cd5dd43bebcf17ec40e6879084e661652d0cef3a848eaa3fbc89dcd499ba7bba595ae514a531889496c182a76cd78e2e7ea37ab366ce6b373cbe963c8af 5SHA512 (SQLAlchemy-1.0.13.tar.gz) = 0e0aff5c4b25fa4958c3c7e17d467e41e44603cebc2b9eb6a5cbb5f3b192c83d5f0120757e48a2ace7d00acf7c7231aaca0318555082b45f3e33309a6fb982b4
6Size (SQLAlchemy-1.0.12.tar.gz) = 4748974 bytes 6Size (SQLAlchemy-1.0.13.tar.gz) = 4757399 bytes