Thu Jan 18 09:12:17 2018 UTC ()
py-sqlalchemy: updated to 1.2.1

1.2.1:

[orm] [bug] Fixed bug where an object that is expunged during a rollback of a nested or subtransaction which also had its primary key mutated would not be correctly removed from the session, causing subsequent issues in using the session.
[orm] [bug] Fixed regression where pickle format of a Load / _UnboundLoad object (e.g. loader options) changed and __setstate__() was raising an UnboundLocalError for an object received from the legacy format, even though an attempt was made to do so. tests are now added to ensure this works.
[orm] [bug] Fixed regression caused by new lazyload caching scheme in 3954 where a query that makes use of loader options with of_type would cause lazy loads of unrelated paths to fail with a TypeError.
[orm] [bug] Fixed bug in new 窶徭electin窶� relationship loader where the loader could try to load a non-existent relationship when loading a collection of polymorphic objects, where only some of the mappers include that relationship, typically when PropComparator.of_type() is being used.

sql
[sql] [bug] Fixed bug in Insert.values() where using the 窶徇ulti-values窶� format in combination with Column objects as keys rather than strings would fail. Pull request courtesy Aubrey Stark-Toller.

mssql
[mssql] [bug] Fixed regression in 1.2 where newly repaired quoting of collation names in 3785 breaks SQL Server, which explicitly does not understand a quoted collation name. Whether or not mixed-case collation names are quoted or not is now deferred down to a dialect-level decision so that each dialect can prepare these identifiers directly.

oracle
[oracle] [bug] Fixed regression where the removal of most setinputsizes rules from cx_Oracle dialect impacted the TIMESTAMP datatype窶冱 ability to retrieve fractional seconds.
[oracle] [bug] Fixed regression in Oracle imports where a missing comma caused an undefined symbol to be present. Pull request courtesy Miroslav Shubernetskiy.

misc
[bug] [ext] Fixed regression in association proxy due to 3769 (allow for chained any() / has()) where contains() against an association proxy chained in the form (o2m relationship, associationproxy(m2o relationship, m2o relationship)) would raise an error regarding the re-application of contains() on the final link of the chain.
[bug] [tests] Removed an oracle-specific requirements rule from the public test suite that was interfering with third party dialect suites.
[bug] [tests] Added a new exclusion rule group_by_complex_expression which disables tests that use 窶廨ROUP BY <expr>窶�, which seems to be not viable for at least two third party dialects.


(adam)
diff -r1.32 -r1.33 pkgsrc/databases/py-sqlalchemy/Makefile
diff -r1.15 -r1.16 pkgsrc/databases/py-sqlalchemy/PLIST
diff -r1.27 -r1.28 pkgsrc/databases/py-sqlalchemy/distinfo

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

--- pkgsrc/databases/py-sqlalchemy/Makefile 2017/09/13 17:29:06 1.32
+++ pkgsrc/databases/py-sqlalchemy/Makefile 2018/01/18 09:12:17 1.33
@@ -1,20 +1,21 @@ @@ -1,20 +1,21 @@
1# $NetBSD: Makefile,v 1.32 2017/09/13 17:29:06 minskim Exp $ 1# $NetBSD: Makefile,v 1.33 2018/01/18 09:12:17 adam Exp $
2 2
3DISTNAME= SQLAlchemy-1.1.14 3DISTNAME= SQLAlchemy-1.2.1
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
5CATEGORIES= databases python 5CATEGORIES= databases python
6MASTER_SITES= ${MASTER_SITE_PYPI:=S/SQLAlchemy/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=S/SQLAlchemy/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@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}-mock-[0-9]*:../../devel/py-mock 13BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 14BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=2.5.2:../../devel/py-test
14BUILD_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist 15BUILD_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
15 16
16REPLACE_PYTHON= lib/sqlalchemy/testing/runner.py 17REPLACE_PYTHON= lib/sqlalchemy/testing/runner.py
17 18
18.include "../../lang/python/application.mk" 19.include "../../lang/python/application.mk"
19.include "../../lang/python/egg.mk" 20.include "../../lang/python/egg.mk"
20.include "../../mk/bsd.pkg.mk" 21.include "../../mk/bsd.pkg.mk"

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

--- pkgsrc/databases/py-sqlalchemy/PLIST 2017/02/01 13:03:16 1.15
+++ pkgsrc/databases/py-sqlalchemy/PLIST 2018/01/18 09:12:17 1.16
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.15 2017/02/01 13:03:16 adam Exp $ 1@comment $NetBSD: PLIST,v 1.16 2018/01/18 09:12:17 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/requires.txt 5${PYSITELIB}/${EGG_INFODIR}/requires.txt
6${PYSITELIB}/${EGG_INFODIR}/top_level.txt 6${PYSITELIB}/${EGG_INFODIR}/top_level.txt
7${PYSITELIB}/sqlalchemy/__init__.py 7${PYSITELIB}/sqlalchemy/__init__.py
8${PYSITELIB}/sqlalchemy/__init__.pyc 8${PYSITELIB}/sqlalchemy/__init__.pyc
9${PYSITELIB}/sqlalchemy/__init__.pyo 9${PYSITELIB}/sqlalchemy/__init__.pyo
10${PYSITELIB}/sqlalchemy/connectors/__init__.py 10${PYSITELIB}/sqlalchemy/connectors/__init__.py
11${PYSITELIB}/sqlalchemy/connectors/__init__.pyc 11${PYSITELIB}/sqlalchemy/connectors/__init__.pyc
12${PYSITELIB}/sqlalchemy/connectors/__init__.pyo 12${PYSITELIB}/sqlalchemy/connectors/__init__.pyo
13${PYSITELIB}/sqlalchemy/connectors/mxodbc.py 13${PYSITELIB}/sqlalchemy/connectors/mxodbc.py
14${PYSITELIB}/sqlalchemy/connectors/mxodbc.pyc 14${PYSITELIB}/sqlalchemy/connectors/mxodbc.pyc
@@ -63,26 +63,29 @@ ${PYSITELIB}/sqlalchemy/dialects/mssql/p @@ -63,26 +63,29 @@ ${PYSITELIB}/sqlalchemy/dialects/mssql/p
63${PYSITELIB}/sqlalchemy/dialects/mssql/pyodbc.pyo 63${PYSITELIB}/sqlalchemy/dialects/mssql/pyodbc.pyo
64${PYSITELIB}/sqlalchemy/dialects/mssql/zxjdbc.py 64${PYSITELIB}/sqlalchemy/dialects/mssql/zxjdbc.py
65${PYSITELIB}/sqlalchemy/dialects/mssql/zxjdbc.pyc 65${PYSITELIB}/sqlalchemy/dialects/mssql/zxjdbc.pyc
66${PYSITELIB}/sqlalchemy/dialects/mssql/zxjdbc.pyo 66${PYSITELIB}/sqlalchemy/dialects/mssql/zxjdbc.pyo
67${PYSITELIB}/sqlalchemy/dialects/mysql/__init__.py 67${PYSITELIB}/sqlalchemy/dialects/mysql/__init__.py
68${PYSITELIB}/sqlalchemy/dialects/mysql/__init__.pyc 68${PYSITELIB}/sqlalchemy/dialects/mysql/__init__.pyc
69${PYSITELIB}/sqlalchemy/dialects/mysql/__init__.pyo 69${PYSITELIB}/sqlalchemy/dialects/mysql/__init__.pyo
70${PYSITELIB}/sqlalchemy/dialects/mysql/base.py 70${PYSITELIB}/sqlalchemy/dialects/mysql/base.py
71${PYSITELIB}/sqlalchemy/dialects/mysql/base.pyc 71${PYSITELIB}/sqlalchemy/dialects/mysql/base.pyc
72${PYSITELIB}/sqlalchemy/dialects/mysql/base.pyo 72${PYSITELIB}/sqlalchemy/dialects/mysql/base.pyo
73${PYSITELIB}/sqlalchemy/dialects/mysql/cymysql.py 73${PYSITELIB}/sqlalchemy/dialects/mysql/cymysql.py
74${PYSITELIB}/sqlalchemy/dialects/mysql/cymysql.pyc 74${PYSITELIB}/sqlalchemy/dialects/mysql/cymysql.pyc
75${PYSITELIB}/sqlalchemy/dialects/mysql/cymysql.pyo 75${PYSITELIB}/sqlalchemy/dialects/mysql/cymysql.pyo
 76${PYSITELIB}/sqlalchemy/dialects/mysql/dml.py
 77${PYSITELIB}/sqlalchemy/dialects/mysql/dml.pyc
 78${PYSITELIB}/sqlalchemy/dialects/mysql/dml.pyo
76${PYSITELIB}/sqlalchemy/dialects/mysql/enumerated.py 79${PYSITELIB}/sqlalchemy/dialects/mysql/enumerated.py
77${PYSITELIB}/sqlalchemy/dialects/mysql/enumerated.pyc 80${PYSITELIB}/sqlalchemy/dialects/mysql/enumerated.pyc
78${PYSITELIB}/sqlalchemy/dialects/mysql/enumerated.pyo 81${PYSITELIB}/sqlalchemy/dialects/mysql/enumerated.pyo
79${PYSITELIB}/sqlalchemy/dialects/mysql/gaerdbms.py 82${PYSITELIB}/sqlalchemy/dialects/mysql/gaerdbms.py
80${PYSITELIB}/sqlalchemy/dialects/mysql/gaerdbms.pyc 83${PYSITELIB}/sqlalchemy/dialects/mysql/gaerdbms.pyc
81${PYSITELIB}/sqlalchemy/dialects/mysql/gaerdbms.pyo 84${PYSITELIB}/sqlalchemy/dialects/mysql/gaerdbms.pyo
82${PYSITELIB}/sqlalchemy/dialects/mysql/json.py 85${PYSITELIB}/sqlalchemy/dialects/mysql/json.py
83${PYSITELIB}/sqlalchemy/dialects/mysql/json.pyc 86${PYSITELIB}/sqlalchemy/dialects/mysql/json.pyc
84${PYSITELIB}/sqlalchemy/dialects/mysql/json.pyo 87${PYSITELIB}/sqlalchemy/dialects/mysql/json.pyo
85${PYSITELIB}/sqlalchemy/dialects/mysql/mysqlconnector.py 88${PYSITELIB}/sqlalchemy/dialects/mysql/mysqlconnector.py
86${PYSITELIB}/sqlalchemy/dialects/mysql/mysqlconnector.pyc 89${PYSITELIB}/sqlalchemy/dialects/mysql/mysqlconnector.pyc
87${PYSITELIB}/sqlalchemy/dialects/mysql/mysqlconnector.pyo 90${PYSITELIB}/sqlalchemy/dialects/mysql/mysqlconnector.pyo
88${PYSITELIB}/sqlalchemy/dialects/mysql/mysqldb.py 91${PYSITELIB}/sqlalchemy/dialects/mysql/mysqldb.py

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

--- pkgsrc/databases/py-sqlalchemy/distinfo 2017/09/13 17:29:06 1.27
+++ pkgsrc/databases/py-sqlalchemy/distinfo 2018/01/18 09:12:17 1.28
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.27 2017/09/13 17:29:06 minskim Exp $ 1$NetBSD: distinfo,v 1.28 2018/01/18 09:12:17 adam Exp $
2 2
3SHA1 (SQLAlchemy-1.1.14.tar.gz) = 7fc30f6d92529ba36e3292d572c7f6fd4927bdd2 3SHA1 (SQLAlchemy-1.2.1.tar.gz) = 518772a8f77f6d294c5bf3d123fc54284b20caa7
4RMD160 (SQLAlchemy-1.1.14.tar.gz) = 5495c7f68787db9ead47dd629c891e226caf0430 4RMD160 (SQLAlchemy-1.2.1.tar.gz) = b136b58ce7d567705e8cde0617b55f1e9f599c89
5SHA512 (SQLAlchemy-1.1.14.tar.gz) = 82b9a97553a27e8d366401b1b99ebc884ee3a95f7ccefc27dae50bc335e30a4c019906caf07238c2a91b7b89a4a5a5e1118defb11e6a2719b631ca0d1e0905a1 5SHA512 (SQLAlchemy-1.2.1.tar.gz) = 1f958ed2b06a7cb34665b34cd844bfdda72f197f966928ee02389f56eabd05ef68973caeccf17e7f5485b67c899cd5fe67d3ac55981481c13a5368bc9b7c238e
6Size (SQLAlchemy-1.1.14.tar.gz) = 5183519 bytes 6Size (SQLAlchemy-1.2.1.tar.gz) = 5457455 bytes