pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/py-alembic py-alembic: updated to 1.7.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d23fc5c0d727
branches:  trunk
changeset: 378119:d23fc5c0d727
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Apr 29 13:27:48 2022 +0000

description:
py-alembic: updated to 1.7.7

1.7.7
bug

[bug] [operations]
Fixed issue where using Operations.create_table() in conjunction with a CheckConstraint that referred to table-bound Column objects rather than string expressions would be added to the parent table 
potentially multiple times, resulting in an incorrect DDL sequence. Pull request courtesy Nicolas CANIART.

[bug] [environment]
The logging.fileConfig() line in env.py templates, which is used to setup Python logging for the migration run, is now conditional on Config.config_file_name not being None. Otherwise, the line is 
skipped as there is no default logging configuration present.

[bug] [mssql]
Fixed bug where an Operations.alter_column() operation would change a “NOT NULL” column to “NULL” by emitting an ALTER COLUMN statement that did not specify “NOT NULL”. (In the absence of “NOT NULL” 
T-SQL was implicitly assuming “NULL”). An Operations.alter_column() operation that specifies Operations.alter_column.type should also specify include either Operations.alter_column.nullable or 
Operations.alter_column.existing_nullable to inform Alembic as to whether the emitted DDL should include “NULL” or “NOT NULL”; a warning is now emitted if this is missing under this scenario.


1.7.6
usecase

[usecase] [commands]
Add a new command alembic ensure_version, which will ensure that the Alembic version table is present in the target database, but does not alter its contents. Pull request courtesy Kai Mueller.

bug

[bug] [batch] [regression]
Fixed regression where usage of a with_variant() datatype in conjunction with the existing_type option of op.alter_column() under batch mode would lead to an internal exception.

[bug] [autogenerate]
Implemented support for recognizing and rendering SQLAlchemy “variant” types going forward into SQLAlchemy 2.0, where the architecture of “variant” datatypes will be changing.
[bug] [autogenerate] [mysql]
Added a rule to the MySQL impl so that the translation between JSON / LONGTEXT is accommodated by autogenerate, treating LONGTEXT from the server as equivalent to an existing JSON in the model.

misc

[mssql]
Removed a warning raised by SQLAlchemy when dropping constraints on MSSQL regarding statement caching.

diffstat:

 databases/py-alembic/Makefile |  5 ++---
 databases/py-alembic/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 86479510af18 -r d23fc5c0d727 databases/py-alembic/Makefile
--- a/databases/py-alembic/Makefile     Fri Apr 29 13:19:28 2022 +0000
+++ b/databases/py-alembic/Makefile     Fri Apr 29 13:27:48 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.30 2022/01/05 15:40:59 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2022/04/29 13:27:48 adam Exp $
 
-DISTNAME=      alembic-1.7.5
+DISTNAME=      alembic-1.7.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/alembic/}
 
diff -r 86479510af18 -r d23fc5c0d727 databases/py-alembic/distinfo
--- a/databases/py-alembic/distinfo     Fri Apr 29 13:19:28 2022 +0000
+++ b/databases/py-alembic/distinfo     Fri Apr 29 13:27:48 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.26 2021/11/14 18:42:37 adam Exp $
+$NetBSD: distinfo,v 1.27 2022/04/29 13:27:48 adam Exp $
 
-BLAKE2s (alembic-1.7.5.tar.gz) = afdaf8cf13b445fd0f04da31afcad6f67afd6167749efa6cd90b7d0f48b08ba7
-SHA512 (alembic-1.7.5.tar.gz) = 4223116c3610f3196335c1fb2032a9a236c3e6ec4e4ca5cb85ccc3667d614e77d51d9fee1ee0173a32451198929428c1fcf39afd90b6df32584b076e0a4ab1a4
-Size (alembic-1.7.5.tar.gz) = 1229596 bytes
+BLAKE2s (alembic-1.7.7.tar.gz) = 19a410a1df14ad564196bec60647a01c20440f54090c42a0d2b3ee58ef5be065
+SHA512 (alembic-1.7.7.tar.gz) = dcb4ba2faafc3ee789981931e0548f7328c1118938150789218e720f39386fd5e7e2543ab241838bcc1faaf36db07900fd065963496e68ced0896a5f4795d63d
+Size (alembic-1.7.7.tar.gz) = 1247590 bytes


Home | Main Index | Thread Index | Old Index