forked from pool/python-alembic
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
This commit is contained in:
committed by
Git OBS Bridge
parent
f084d24ddb
commit
5b067eb02b
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1d3302214bc50ff94dcb8def0f2208e50dcf7b5c120729eeb929711a70e8a112
|
||||
size 601533
|
||||
3
alembic-0.7.4.tar.gz
Normal file
3
alembic-0.7.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:550f10b2266f689778eced2fed899bfd05755737478454b97fb99385f2e780e5
|
||||
size 604836
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user