Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 862731A921F for ; Fri, 18 Dec 2020 08:19:30 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id E741984DA4; Fri, 18 Dec 2020 08:19:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2F02884D9F for ; Fri, 18 Dec 2020 08:19:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Cs7GsKkQAl0i for ; Fri, 18 Dec 2020 08:19:28 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 4A1EC84CEF for ; Fri, 18 Dec 2020 08:19:28 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 43DA6FA9D; Fri, 18 Dec 2020 08:19:28 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_160827956893220" MIME-Version: 1.0 Date: Fri, 18 Dec 2020 08:19:28 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/databases/py-sqlalchemy To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20201218081928.43DA6FA9D@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_160827956893220 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: adam Date: Fri Dec 18 08:19:28 UTC 2020 Modified Files: pkgsrc/databases/py-sqlalchemy: Makefile distinfo Log Message: py-sqlalchemy: updated to 1.3.21 1.3.21 orm [orm] [bug] Added a comprehensive check and an informative error message for the case where a mapped class, or a string mapped class name, is passed to relationship.secondary. This is an extremely common error which warrants a clear message. Additionally, added a new rule to the class registry resolution such that with regards to the relationship.secondary parameter, if a mapped class and its table are of the identical string name, the Table will be favored when resolving this parameter. In all other cases, the class continues to be favored if a class and table share the identical name. [orm] [bug] Fixed bug in Query.update() where objects in the _ormsession.Session that were already expired would be unnecessarily SELECTed individually when they were refreshed by the “evaluate”synchronize strategy. [orm] [bug] Fixed bug involving the restore_load_context option of ORM events such as InstanceEvents.load() such that the flag would not be carried along to subclasses which were mapped after the event handler were first established. sql [sql] [bug] A warning is emmitted if a returning() method such as Insert.returning() is called multiple times, as this does not yet support additive operation. Version 1.4 will support additive operation for this. Additionally, any combination of the Insert.returning() and ValuesBase.return_defaults() methods now raises an error as these methods are mutually exclusive; previously the operation would fail silently. [sql] [bug] Fixed structural compiler issue where some constructs such as MySQL / PostgreSQL “on conflict / on duplicate key” would rely upon the state of the Compiler object being fixed against their statement as the top level statement, which would fail in cases where those statements are branched from a different context, such as a DDL construct linked to a SQL statement. postgresql [postgresql] [usecase] Added new parameter ExcludeConstraint.ops to the ExcludeConstraint object, to support operator class specification with this constraint. Pull request courtesy Alon Menczer. [postgresql] [bug] [mysql] Fixed regression introduced in 1.3.2 for the PostgreSQL dialect, also copied out to the MySQL dialect’s feature in 1.3.18, where usage of a non Table construct such as text() as the argument to Select.with_for_update.of would fail to be accommodated correctly within the PostgreSQL or MySQL compilers. mysql [mysql] [bug] [reflection] Fixed issue where reflecting a server default on MariaDB only that contained a decimal point in the value would fail to be reflected correctly, leading towards a reflected table that lacked any server default. [mysql] [sql] Added missing keywords to the RESERVED_WORDS list for the MySQL dialect: action, level, mode, status, text, time. Pull request courtesy Oscar Batori. sqlite [sqlite] [usecase] Added sqlite_with_rowid=False dialect keyword to enable creating tables as CREATE TABLE … WITHOUT ROWID. Patch courtesy Sean Anderson. mssql [mssql] [bug] Fixed bug where a CREATE INDEX statement was rendered incorrectly when both mssql-include and mssql_where were specified. Pull request courtesy @Adiorz. [mssql] [bug] Added SQL Server code “01000” to the list of disconnect codes. [mssql] [reflection] [sqlite] Fixed issue with composite primary key columns not being reported in the correct order. Patch courtesy @fulpm. oracle [oracle] [usecase] Implemented support for the SERIALIZABLE isolation level for Oracle databases, as well as a real implementation for Connection.get_isolation_level(). To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 pkgsrc/databases/py-sqlalchemy/Makefile cvs rdiff -u -r1.59 -r1.60 pkgsrc/databases/py-sqlalchemy/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_160827956893220 Content-Disposition: inline Content-Length: 1779 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/databases/py-sqlalchemy/Makefile diff -u pkgsrc/databases/py-sqlalchemy/Makefile:1.65 pkgsrc/databases/py-sqlalchemy/Makefile:1.66 --- pkgsrc/databases/py-sqlalchemy/Makefile:1.65 Wed Oct 21 08:58:38 2020 +++ pkgsrc/databases/py-sqlalchemy/Makefile Fri Dec 18 08:19:28 2020 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.65 2020/10/21 08:58:38 adam Exp $ +# $NetBSD: Makefile,v 1.66 2020/12/18 08:19:28 adam Exp $ -DISTNAME= SQLAlchemy-1.3.20 +DISTNAME= SQLAlchemy-1.3.21 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_PYPI:=S/SQLAlchemy/} Index: pkgsrc/databases/py-sqlalchemy/distinfo diff -u pkgsrc/databases/py-sqlalchemy/distinfo:1.59 pkgsrc/databases/py-sqlalchemy/distinfo:1.60 --- pkgsrc/databases/py-sqlalchemy/distinfo:1.59 Wed Oct 21 08:58:38 2020 +++ pkgsrc/databases/py-sqlalchemy/distinfo Fri Dec 18 08:19:28 2020 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.59 2020/10/21 08:58:38 adam Exp $ +$NetBSD: distinfo,v 1.60 2020/12/18 08:19:28 adam Exp $ -SHA1 (SQLAlchemy-1.3.20.tar.gz) = 880084078adb72592538fb36e259f1415f4ccb35 -RMD160 (SQLAlchemy-1.3.20.tar.gz) = 0a97e75868632ceaf86b7de78d681d88b693e065 -SHA512 (SQLAlchemy-1.3.20.tar.gz) = 29c52ada1a66f906ed2563df2ab093eceb7c09de45749c96031f30a1512d20b1d698e00640c777169ef3db99ab012151770a3daea45a51df934269b554ff4b28 -Size (SQLAlchemy-1.3.20.tar.gz) = 6264898 bytes +SHA1 (SQLAlchemy-1.3.21.tar.gz) = 24b9ea2c180651190509df0af5562c2e7a6cb6e3 +RMD160 (SQLAlchemy-1.3.21.tar.gz) = 33a3a52c8c948d1228934152d65a88dd8a4dd19f +SHA512 (SQLAlchemy-1.3.21.tar.gz) = 50ea60b849e6f043507728482dc1a90faea853c3fb16affe1d68197903578cb31f26b3543f4671be6aec2a705343193bfa7579e8d417e74c92ee104af4fba753 +Size (SQLAlchemy-1.3.21.tar.gz) = 6297278 bytes --_----------=_160827956893220--