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.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/77f6e352ba59
branches:  trunk
changeset: 423388:77f6e352ba59
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Feb 16 21:11:41 2020 +0000

description:
py-alembic: updated to 1.4.0

1.4.0

[feature] [batch]

Added new parameters BatchOperations.add_column.insert_before, BatchOperations.add_column.insert_after which provide for establishing the specific position in which a new column should be placed. 
Also added Operations.batch_alter_table.partial_reordering which allows the complete set of columns to be reordered when the new table is created. Both operations apply only to when batch mode is 
recreating the whole table using recreate="always". Thanks to Marcin Szymanski for assistance with the implementation.

bug

[bug] [autogenerate]

Adjusted the unique constraint comparison logic in a similar manner as that of 421 did for indexes in order to take into account SQLAlchemy?s own truncation of long constraint names when a naming 
convention is in use. Without this step, a name that is truncated by SQLAlchemy based on a unique constraint naming convention or hardcoded name will not compare properly.

[bug] [autogenerate]

A major rework of the ?type comparison? logic is in place which changes the entire approach by which column datatypes are compared. Types are now compared based on the DDL string generated by the 
metadata type vs. the datatype reflected from the database. This means we compare types based on what would actually render and additionally if elements of the types change like string length, those 
changes are detected as well. False positives like those generated between SQLAlchemy Boolean and MySQL TINYINT should also be resolved. Thanks very much to Paul Becotte for lots of hard work and 
patience on this one.

diffstat:

 databases/py-alembic/Makefile |   4 ++--
 databases/py-alembic/PLIST    |  23 ++++++++++++++++++++++-
 databases/py-alembic/distinfo |  10 +++++-----
 3 files changed, 29 insertions(+), 8 deletions(-)

diffs (70 lines):

diff -r 57a3e02aa519 -r 77f6e352ba59 databases/py-alembic/Makefile
--- a/databases/py-alembic/Makefile     Sun Feb 16 21:08:14 2020 +0000
+++ b/databases/py-alembic/Makefile     Sun Feb 16 21:11:41 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2019/12/03 18:21:15 adam Exp $
+# $NetBSD: Makefile,v 1.21 2020/02/16 21:11:41 adam Exp $
 
-DISTNAME=      alembic-1.3.1
+DISTNAME=      alembic-1.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/alembic/}
diff -r 57a3e02aa519 -r 77f6e352ba59 databases/py-alembic/PLIST
--- a/databases/py-alembic/PLIST        Sun Feb 16 21:08:14 2020 +0000
+++ b/databases/py-alembic/PLIST        Sun Feb 16 21:11:41 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2019/10/10 18:26:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/02/16 21:11:41 adam Exp $
 bin/alembic-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -127,12 +127,33 @@
 ${PYSITELIB}/alembic/testing/env.py
 ${PYSITELIB}/alembic/testing/env.pyc
 ${PYSITELIB}/alembic/testing/env.pyo
+${PYSITELIB}/alembic/testing/exclusions.py
+${PYSITELIB}/alembic/testing/exclusions.pyc
+${PYSITELIB}/alembic/testing/exclusions.pyo
+${PYSITELIB}/alembic/testing/fixture_functions.py
+${PYSITELIB}/alembic/testing/fixture_functions.pyc
+${PYSITELIB}/alembic/testing/fixture_functions.pyo
 ${PYSITELIB}/alembic/testing/fixtures.py
 ${PYSITELIB}/alembic/testing/fixtures.pyc
 ${PYSITELIB}/alembic/testing/fixtures.pyo
+${PYSITELIB}/alembic/testing/plugin/__init__.py
+${PYSITELIB}/alembic/testing/plugin/__init__.pyc
+${PYSITELIB}/alembic/testing/plugin/__init__.pyo
+${PYSITELIB}/alembic/testing/plugin/bootstrap.py
+${PYSITELIB}/alembic/testing/plugin/bootstrap.pyc
+${PYSITELIB}/alembic/testing/plugin/bootstrap.pyo
+${PYSITELIB}/alembic/testing/plugin/plugin_base.py
+${PYSITELIB}/alembic/testing/plugin/plugin_base.pyc
+${PYSITELIB}/alembic/testing/plugin/plugin_base.pyo
+${PYSITELIB}/alembic/testing/plugin/pytestplugin.py
+${PYSITELIB}/alembic/testing/plugin/pytestplugin.pyc
+${PYSITELIB}/alembic/testing/plugin/pytestplugin.pyo
 ${PYSITELIB}/alembic/testing/requirements.py
 ${PYSITELIB}/alembic/testing/requirements.pyc
 ${PYSITELIB}/alembic/testing/requirements.pyo
+${PYSITELIB}/alembic/testing/util.py
+${PYSITELIB}/alembic/testing/util.pyc
+${PYSITELIB}/alembic/testing/util.pyo
 ${PYSITELIB}/alembic/util/__init__.py
 ${PYSITELIB}/alembic/util/__init__.pyc
 ${PYSITELIB}/alembic/util/__init__.pyo
diff -r 57a3e02aa519 -r 77f6e352ba59 databases/py-alembic/distinfo
--- a/databases/py-alembic/distinfo     Sun Feb 16 21:08:14 2020 +0000
+++ b/databases/py-alembic/distinfo     Sun Feb 16 21:11:41 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.19 2019/12/03 18:21:15 adam Exp $
+$NetBSD: distinfo,v 1.20 2020/02/16 21:11:41 adam Exp $
 
-SHA1 (alembic-1.3.1.tar.gz) = 648a41ec223e5bb6e1017328e71b4fba7cd9042d
-RMD160 (alembic-1.3.1.tar.gz) = aac83a36f3ecff8e06b16bbe8e7fbfe58038abb5
-SHA512 (alembic-1.3.1.tar.gz) = 686c109966c66c1720fb193e190d77fe8b039ed4fb114f08989cd44505bcc84d316cd7f6fd26a4a919a6633efc4a1d3d05b8706452ecf6b91ffb5067974bf5fc
-Size (alembic-1.3.1.tar.gz) = 1056451 bytes
+SHA1 (alembic-1.4.0.tar.gz) = 637491458046ceb122ac4f94e25fa70fa64a89cc
+RMD160 (alembic-1.4.0.tar.gz) = 66bde458f6d5f2e74506b9aeac75381aff1588e4
+SHA512 (alembic-1.4.0.tar.gz) = f66c17ce9bd1dedd74d0df6dbda569a2fceb7770ce1020730142c7bd3f72398c520c3b7fdb3a7af0494c231c8f323c01928ca3fcd867d4f7747ad3b5c1f8857c
+Size (alembic-1.4.0.tar.gz) = 1082449 bytes



Home | Main Index | Thread Index | Old Index