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 0.9.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f51ec956fda
branches:  trunk
changeset: 375818:4f51ec956fda
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Feb 22 09:18:39 2018 +0000

description:
py-alembic: updated to 0.9.8

version: 0.9.8
Fixed bug where the :meth:.Script.as_revision_number method
did not accommodate for the 'heads' identifier, which in turn
caused the :meth:.EnvironmentContext.get_head_revisions
and :meth:.EnvironmentContext.get_revision_argument methods
to be not usable when multiple heads were present.
The :meth:.EnvironmentContext.get_head_revisions method returns
a tuple in all cases as documented.

Fixed bug where autogenerate of :class:.ExcludeConstraint
would render a raw quoted name for a Column that has case-sensitive
characters, which when invoked as an inline member of the Table
would produce a stack trace that the quoted name is not found.
An incoming Column object is now rendered as sa.column('name').

Fixed bug where the indexes would not be included in a
migration that was dropping the owning table.   The fix
now will also emit DROP INDEX for the indexes ahead of time,
but more importantly will include CREATE INDEX in the
downgrade migration.

Fixed the autogenerate of the module prefix
when rendering the text_type parameter of
postgresql.HSTORE, in much the same way that
we do for ARRAY's type and JSON's text_type.

Added support for DROP CONSTRAINT to the MySQL Alembic
dialect to support MariaDB 10.2 which now has real
CHECK constraints.  Note this change does **not**
add autogenerate support, only support for op.drop_constraint()
to work.

diffstat:

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

diffs (38 lines):

diff -r bc5e748a750e -r 4f51ec956fda databases/py-alembic/Makefile
--- a/databases/py-alembic/Makefile     Thu Feb 22 09:11:18 2018 +0000
+++ b/databases/py-alembic/Makefile     Thu Feb 22 09:18:39 2018 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2018/01/18 09:18:06 adam Exp $
+# $NetBSD: Makefile,v 1.5 2018/02/22 09:18:39 adam Exp $
 
-DISTNAME=      alembic-0.9.7
+DISTNAME=      alembic-0.9.8
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/alembic/}
 
@@ -13,7 +12,7 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
 DEPENDS+=      ${PYPKGPREFIX}-editor>=0.3:../../editors/py-editor
-DEPENDS+=      ${PYPKGPREFIX}-nose>=1.3.0:../../devel/py-nose
+DEPENDS+=      ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako
 DEPENDS+=      ${PYPKGPREFIX}-sqlalchemy>=0.9.8:../../databases/py-sqlalchemy
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
diff -r bc5e748a750e -r 4f51ec956fda databases/py-alembic/distinfo
--- a/databases/py-alembic/distinfo     Thu Feb 22 09:11:18 2018 +0000
+++ b/databases/py-alembic/distinfo     Thu Feb 22 09:18:39 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2018/01/17 11:55:35 adam Exp $
+$NetBSD: distinfo,v 1.4 2018/02/22 09:18:39 adam Exp $
 
-SHA1 (alembic-0.9.7.tar.gz) = 9b6df323769a9af1d8e3dc556700172a1c871441
-RMD160 (alembic-0.9.7.tar.gz) = 68755be653dc03dc4a0605e386b4e365f72e88b7
-SHA512 (alembic-0.9.7.tar.gz) = 102592f7a25033af197fadc260dbb5ee4ad7038feb015fe5672de83c42f6125b659873071b339cccf5eebcf390c16651f6b9064f225198f88b42d58796fb1ca3
-Size (alembic-0.9.7.tar.gz) = 1003312 bytes
+SHA1 (alembic-0.9.8.tar.gz) = e351492035f748ec4b0a6a36cf2b1c0cfff89ec5
+RMD160 (alembic-0.9.8.tar.gz) = acc947ec467e75fb5c5e7d6971d067066e53ccef
+SHA512 (alembic-0.9.8.tar.gz) = 5579bc5ac9f7bf78d5fada9795599aeeeb141cad9855486570d5b7f0d8491e8fcb6119217ea72f7319219293465e8146650188844edfb0d82d70583a637d8417
+Size (alembic-0.9.8.tar.gz) = 1011223 bytes



Home | Main Index | Thread Index | Old Index