17
0

Accepting request 99787 from home:rhafer:branches:devel:languages:python

Update to 0.7.2

OBS-URL: https://build.opensuse.org/request/show/99787
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sqlalchemy-migrate?expand=0&rev=10
This commit is contained in:
Sascha Peilicke
2012-01-12 09:30:34 +00:00
committed by Git OBS Bridge
parent e82d8a494a
commit 3a64913e75
4 changed files with 42 additions and 7 deletions

View File

@@ -1,3 +1,39 @@
-------------------------------------------------------------------
Wed Jan 11 14:24:07 UTC 2012 - rhafer@suse.de
- update to 0.7.2:
* Changes:
- support for SQLAlchemy 0.5.x has been dropped
- Python 2.6 is the minimum supported Python version
* Features
- improved :pep:`8` compliance
- optionally number versions with timestamps instead of
sequences (partly pulled from Pete Keen)
- allow descriptions in SQL change script filenames (by Pete
Keen)
- improved model generation
* Fixed Bugs
- api test downgrade/upgrade does not work with sql scripts
(pulled from Yuen Ho Wong)
- passing a unicode string as the migrate repository fails (add
regression test)
- make_update_script_for_model fails with AttributeError:
'SchemaDiff' object has no attribute 'colDiffs' (patch by
Jeremy Cantrell)
- upgrade and downgrade functions are reversed when using the
command "make_update_script_for_model" (patch by Jeremy
Cantrell)
- manage.py should use the "if __name__=='__main__'" trick
- column creation in make_update_script_for_model and required
API change (by Gabriel de Perthuis)
- compare_model_to_db gets confused by sqlite_sequence (pulled
from Dustin J. Mitchell)
- drop column does not work on persistent sqlite databases
(pulled from Benoît Allard)
- table rename failure with sqlalchemy 0.7.x (patch by Mark
McLoughlin)
- update documentation and help text (pulled from Yuen Ho Wong)
-------------------------------------------------------------------
Wed Nov 30 18:27:26 UTC 2011 - jdmulloy@gmail.com
- Fixed shebang removal code on .spec line 52

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-sqlalchemy-migrate
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright 2011 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -19,13 +19,13 @@
Name: python-sqlalchemy-migrate
Version: 0.7.1
Version: 0.7.2
Release: 0
License: MIT
Summary: Database schema migration for SQLAlchemy
Url: http://pypi.python.org/pypi/sqlalchemy-migrate
Group: Development/Libraries/Python
Source: http://pypi.python.org/packages/source/s/sqlalchemy-migrate/sqlalchemy-migrate-0.7.1.tar.gz
Source: http://pypi.python.org/packages/source/s/sqlalchemy-migrate/sqlalchemy-migrate-0.7.2.tar.gz
BuildRequires: python-Sphinx >= 0.5
BuildRequires: python-distribute
Requires: python-SQLAlchemy >= 0.5
@@ -51,7 +51,6 @@ well as from inside python code.
%setup -q -n sqlalchemy-migrate-%{version}
find . -type f -name "*.py" -o -name "*.py_tmpl" | xargs sed -i "/#!/d" # Remove shebang from non-executable scripts
%build
python setup.py build
cd docs && make html && rm _build/html/.buildinfo # Build HTML documentation

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11ebee99663118d94dadf41035f73bb2d7ac0e4492c29b59824a8aaddb28b9f8
size 101369

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f55c768ee26f143fedb11b365a4c57c3bbdb5211e049c7f04b8ae8107c28333
size 105862