From 19a195953e1a4b2489ccf9344e835c35045f0eaf2cff285dd622b0a919a60199 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 15 Sep 2014 06:56:02 +0000 Subject: [PATCH] Accepting request 249191 from Cloud:OpenStack:Master New upstream release OBS-URL: https://build.opensuse.org/request/show/249191 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-alembic?expand=0&rev=30 --- alembic-0.6.5.tar.gz | 3 --- alembic-0.6.7.tar.gz | 3 +++ python-alembic.changes | 48 ++++++++++++++++++++++++++++++++++++++++++ python-alembic.spec | 2 +- 4 files changed, 52 insertions(+), 4 deletions(-) delete mode 100644 alembic-0.6.5.tar.gz create mode 100644 alembic-0.6.7.tar.gz diff --git a/alembic-0.6.5.tar.gz b/alembic-0.6.5.tar.gz deleted file mode 100644 index 5f03861..0000000 --- a/alembic-0.6.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:17bfa1bb48bbc83e9db3a31df146a3b851172616aac9fbc6d40cad426e87e34c -size 461915 diff --git a/alembic-0.6.7.tar.gz b/alembic-0.6.7.tar.gz new file mode 100644 index 0000000..c82f668 --- /dev/null +++ b/alembic-0.6.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55c35e897d2970bae45345ff4c8a190e773a08f4289299de694ebfebfb0c6946 +size 467942 diff --git a/python-alembic.changes b/python-alembic.changes index 34e12f9..bff73b3 100644 --- a/python-alembic.changes +++ b/python-alembic.changes @@ -1,3 +1,51 @@ +------------------------------------------------------------------- +Mon Sep 15 05:25:46 UTC 2014 - tbechtold@suse.com + +- update to version 0.6.7: + * See + + http://alembic.readthedocs.org/en/latest/changelog.html#change-0.6.6 + + http://alembic.readthedocs.org/en/latest/changelog.html#change-0.6.7 + * Fixed bug in MSSQL dialect where "rename table" wasn't using + ``sp_rename()`` as is required on SQL Server. Pull request courtesy + * Added support for functional indexes when using the + :meth:`.Operations.create_index` directive. Within the list of columns, + the SQLAlchemy ``text()`` construct can be sent, embedding a literal + SQL expression; the :meth:`.Operations.create_index` will perform some + hackery behind the scenes to get the :class:`.Index` construct to cooperate. + This works around some current limitations in :class:`.Index` + which should be resolved on the SQLAlchemy side at some point. + * A file named ``__init__.py`` in the ``versions/`` directory is now + ignored by Alembic when the collection of version files is retrieved. + Pull request courtesy Michael Floering. + * Fixed Py3K bug where an attempt would be made to sort None against + string values when autogenerate would detect tables across multiple + schemas, including the default schema. Pull request courtesy + paradoxxxzero. + * Autogenerate render will render the arguments within a Table construct + using ``*[...]`` when the number of columns/elements is greater than + 255. Pull request courtesy Ryan P. Kelly. + * Fixed bug where foreign key constraints would fail to render in + autogenerate when a schema name was present. Pull request courtesy + Andreas Zeidler. + * Some deep-in-the-weeds fixes to try to get "server default" comparison + working better across platforms and expressions, in particular on + the Postgresql backend, mostly dealing with quoting/not quoting of various + expressions at the appropriate time and on a per-backend basis. + Repaired and tested support for such defaults as Postgresql interval + and array defaults. + * When a run of Alembic command line fails due to ``CommandError``, + the output now prefixes the string with ``"FAILED:"``, and the error + is also written to the log output using ``log.error()``. + * Liberalized even more the check for MySQL indexes that shouldn't be + counted in autogenerate as "drops"; this time it's been reported + that an implicitly created index might be named the same as a composite + foreign key constraint, and not the actual columns, so we now skip those + when detected as well. + * Added a new accessor :attr:`.MigrationContext.config`, when used + in conjunction with a :class:`.EnvironmentContext` and + :class:`.Config`, this config will be returned. Patch + courtesy Marc Abramowitz. + ------------------------------------------------------------------- Thu Jul 24 11:33:27 UTC 2014 - dmueller@suse.com diff --git a/python-alembic.spec b/python-alembic.spec index be8bf4e..9ffae59 100644 --- a/python-alembic.spec +++ b/python-alembic.spec @@ -17,7 +17,7 @@ Name: python-alembic -Version: 0.6.5 +Version: 0.6.7 Release: 0 Url: http://bitbucket.org/zzzeek/alembic Summary: A database migration tool for SQLAlchemy