unbreak links
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sqlalchemy-migrate?expand=0&rev=17
This commit is contained in:
committed by
Git OBS Bridge
parent
b05e3d0a96
commit
5a0717a455
@@ -1,31 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 24 14:52:57 UTC 2013 - p.drouand@gmail.com
|
||||
Tue Nov 19 10:40:54 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Update to version 0.8.2
|
||||
- Update to version 0.8.2:
|
||||
+ Run tests on PostgreSQL and MySQL tooFix dropping of indexed columns in sqlite/sa08
|
||||
+ 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
|
||||
+ Drop setuptools_git test requirement
|
||||
+ Remove the tag_build line from setup.cfg
|
||||
+ Fix the version number to match the last release.
|
||||
+ Un-break the version in migrate/__init__.py
|
||||
+ Fix broken development version link in README
|
||||
- Use official PyPI release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 14 13:17:48 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Fix 12.2 build by catching all egg-info incarnations (either file
|
||||
or directory)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 14 11:01:00 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Change to Openstack upstream for SQLAlchemy-0.8+ support
|
||||
- Add _service file, fix requirements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 11:15:11 UTC 2013 - speilicke@suse.com
|
||||
|
||||
@@ -24,18 +24,18 @@ Summary: Database schema migration for SQLAlchemy
|
||||
License: MIT
|
||||
Group: Development/Libraries/Python
|
||||
Url: http://pypi.python.org/pypi/sqlalchemy-migrate
|
||||
Source: http://pypi.python.org/packages/source/s/sqlalchemy-migrate/sqlalchemy-migrate-%{version}.tar.gz
|
||||
BuildRequires: python-setuptools
|
||||
Source: sqlalchemy-migrate-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-pbr
|
||||
# Documentation requirements:
|
||||
BuildRequires: python-SQLAlchemy >= 0.6
|
||||
BuildRequires: python-Sphinx >= 0.5
|
||||
# Test requirements:
|
||||
BuildRequires: python-SQLAlchemy >= 0.6
|
||||
BuildRequires: python-ScriptTest
|
||||
#BuildRequires: python-ScriptTest >= 1.0
|
||||
BuildRequires: python-Tempita >= 0.4
|
||||
BuildRequires: python-decorator
|
||||
BuildRequires: python-nose >= 0.10
|
||||
BuildRequires: python-pbr
|
||||
BuildRequires: python-unittest2
|
||||
#BuildRequires: python-pysqlite
|
||||
#BuildRequires: python-pytz
|
||||
Requires: python-SQLAlchemy >= 0.6
|
||||
Requires: python-Tempita >= 0.4
|
||||
Requires: python-decorator
|
||||
@@ -65,16 +65,18 @@ python setup.py build_sphinx && rm doc/build/html/.buildinfo # Build HTML docume
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%fdupes %{buildroot}%{python_sitelib}
|
||||
|
||||
#NOTE(saschpe): Fix tests with need for DB access:
|
||||
#NOTE(saschpe): enable tests later, there are one or two upstream issues
|
||||
#%%check
|
||||
#python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog COPYING README.rst TODO doc/build/html
|
||||
%doc README.rst doc/build/html
|
||||
%{_bindir}/migrate
|
||||
%{_bindir}/migrate-repository
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/migrate
|
||||
%{python_sitelib}/sqlalchemy_migrate-*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user