From 5b067eb02b30ca7a135b3c4d1a716497c1722fcdb584ba019a15508c5706db9d Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Thu, 5 Feb 2015 15:23:11 +0000 Subject: [PATCH] Accepting request 284207 from home:tbechtold:branches:devel:languages:python New upstream bugfix release OBS-URL: https://build.opensuse.org/request/show/284207 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-alembic?expand=0&rev=34 --- alembic-0.7.3.tar.gz | 3 --- alembic-0.7.4.tar.gz | 3 +++ python-alembic.changes | 32 ++++++++++++++++++++++++++++++++ python-alembic.spec | 4 ++-- 4 files changed, 37 insertions(+), 5 deletions(-) delete mode 100644 alembic-0.7.3.tar.gz create mode 100644 alembic-0.7.4.tar.gz diff --git a/alembic-0.7.3.tar.gz b/alembic-0.7.3.tar.gz deleted file mode 100644 index fab82e4..0000000 --- a/alembic-0.7.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d3302214bc50ff94dcb8def0f2208e50dcf7b5c120729eeb929711a70e8a112 -size 601533 diff --git a/alembic-0.7.4.tar.gz b/alembic-0.7.4.tar.gz new file mode 100644 index 0000000..726e71e --- /dev/null +++ b/alembic-0.7.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:550f10b2266f689778eced2fed899bfd05755737478454b97fb99385f2e780e5 +size 604836 diff --git a/python-alembic.changes b/python-alembic.changes index e45f8b1..63baa2b 100644 --- a/python-alembic.changes +++ b/python-alembic.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Thu Feb 5 15:04:20 UTC 2015 - tbechtold@suse.com + +- update to 0.7.4: + * Repaired issue where a server default specified without text() + that represented a numeric or floating point (e.g. with decimal + places) value would fail in the Postgresql-specific check for + “compare server default”; as PG accepts the value with quotes + in the table specification, it’s still valid. Pull request + courtesy Dimitris Theodorou. + * The rendering of a ForeignKeyConstraint will now ensure that + the names of the source and target columns are the database-side + name of each column, and not the value of the .key attribute as + may be set only on the Python side. This is because Alembic + generates the DDL for constraints as standalone objects without + the need to actually refer to an in-Python Table object, so + there’s no step that would resolve these Python-only key names + to database column names. + * Fixed bug in foreign key autogenerate where if the in-Python + table used custom column keys (e.g. using the key='foo' kwarg + to Column), the comparison of existing foreign keys to those + specified in the metadata would fail, as the reflected table + would not have these keys available which to match up. Foreign + key comparison for autogenerate now ensures it’s looking at + the database-side names of the columns in all cases; this + matches the same functionality within unique constraints and + indexes. + * Fixed issue in autogenerate type rendering where types that + belong to modules that have the name “sqlalchemy” in them would + be mistaken as being part of the sqlalchemy. namespace. Pull + req courtesy Bartosz Burclaf. + ------------------------------------------------------------------- Mon Jan 5 10:19:27 UTC 2015 - dmueller@suse.com diff --git a/python-alembic.spec b/python-alembic.spec index 49d5c96..cb24463 100644 --- a/python-alembic.spec +++ b/python-alembic.spec @@ -1,7 +1,7 @@ # # spec file for package python-alembic # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-alembic -Version: 0.7.3 +Version: 0.7.4 Release: 0 Url: http://bitbucket.org/zzzeek/alembic Summary: A database migration tool for SQLAlchemy