diff --git a/python-sqlalchemy-migrate.changes b/python-sqlalchemy-migrate.changes index b58a57f..807215d 100644 --- a/python-sqlalchemy-migrate.changes +++ b/python-sqlalchemy-migrate.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Sun Nov 24 14:52:57 UTC 2013 - p.drouand@gmail.com + +- Update to version 0.8.2 + + Fix int overflow exception in unittest + + Fix dropping of indexed columns in sqlite + Version 0.8 of SQLAlchemy added support of indexes on expressions + in addition to plain table columns, which changed the way indexes + are created. This broke support of dropping columns of composite + indexes for SQLite: due to limitations of ALTER in SQLite every time + a column is dropped, we recreate the whole table without the given + column; if a column is a part of a composite index, we change the + index definition to omit that column and then indexes are recreated too. + SQLAlchemy versions starting from 0.8 no more pay attention to 'columns' + attribute of Index instances when generating DDL for indexes, so when + one of columns of a composite index is dropped, we try to create a + new index on the column that doesn't exist anymore, which of course fails. + + Run tests on PostgreSQL and MySQL too + + Update tox requirements + + Stop using the d2to1-based pbr + + decouple index name generation from sqlalchemy version + + Run tests with different SQLAlchemy versions + + Fix exceptions for SQLAlchemy 0.8 + + Fix excludeTablesgetDiffOfModelAgainstModel is not passing excludeTables + correctly +- Add python-pbr BuildRequires; new dependency to generate standard + documentation +- Add documentation from tarball + ------------------------------------------------------------------- Thu Oct 24 11:15:11 UTC 2013 - speilicke@suse.com diff --git a/python-sqlalchemy-migrate.spec b/python-sqlalchemy-migrate.spec index e936731..c49be5c 100644 --- a/python-sqlalchemy-migrate.spec +++ b/python-sqlalchemy-migrate.spec @@ -18,7 +18,7 @@ Name: python-sqlalchemy-migrate -Version: 0.7.2 +Version: 0.8.2 Release: 0 Summary: Database schema migration for SQLAlchemy License: MIT @@ -34,6 +34,7 @@ BuildRequires: python-ScriptTest BuildRequires: python-Tempita >= 0.4 BuildRequires: python-decorator BuildRequires: python-nose >= 0.10 +BuildRequires: python-pbr BuildRequires: python-unittest2 Requires: python-SQLAlchemy >= 0.6 Requires: python-Tempita >= 0.4 @@ -56,11 +57,11 @@ well as from inside python code. %prep %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 -sed -i "s/, 'sphinxcontrib.issuetracker'//g" docs/conf.py # No internet access please +sed -i "s/, 'sphinxcontrib.issuetracker'//g" doc/source/conf.py # No internet access please %build python setup.py build -python setup.py build_sphinx && rm docs/_build/html/.buildinfo # Build HTML documentation +python setup.py build_sphinx && rm doc/build/html/.buildinfo # Build HTML documentation %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} @@ -71,7 +72,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root) -%doc README docs/_build/html +%doc AUTHORS ChangeLog COPYING README.rst TODO doc/build/html %{_bindir}/migrate %{_bindir}/migrate-repository %{python_sitelib}/* diff --git a/sqlalchemy-migrate-0.7.2.tar.gz b/sqlalchemy-migrate-0.7.2.tar.gz deleted file mode 100644 index 22cd9dc..0000000 --- a/sqlalchemy-migrate-0.7.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7f55c768ee26f143fedb11b365a4c57c3bbdb5211e049c7f04b8ae8107c28333 -size 105862 diff --git a/sqlalchemy-migrate-0.8.2.tar.gz b/sqlalchemy-migrate-0.8.2.tar.gz new file mode 100644 index 0000000..a0dc611 --- /dev/null +++ b/sqlalchemy-migrate-0.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27a3ffce6a753e1e787f4f576e54ee240fa95abd02428638fa285eaaa3cbd22c +size 138935