Hello community, here is the log from the commit of package python-sqlalchemy-migrate for openSUSE:Factory checked in at 2015-02-27 11:10:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sqlalchemy-migrate (Old) and /work/SRC/openSUSE:Factory/.python-sqlalchemy-migrate.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-sqlalchemy-migrate" Changes: -------- --- /work/SRC/openSUSE:Factory/python-sqlalchemy-migrate/python-sqlalchemy-migrate.changes 2015-02-25 02:18:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-sqlalchemy-migrate.new/python-sqlalchemy-migrate.changes 2015-02-27 11:10:03.000000000 +0100 @@ -1,0 +2,11 @@ +Thu Feb 26 10:57:47 UTC 2015 - tbechtold@suse.com + +- update to version 0.9.5: + * Don't run the test if _setup() fails + * Correcting minor typo + * Fix .gitignore for .tox and .testrepository + * allow dropping fkeys with sqlite + * Add pretty_tox setup + * script: strip comments in SQL statements + +------------------------------------------------------------------- Old: ---- sqlalchemy-migrate-0.9.4.tar.gz New: ---- sqlalchemy-migrate-0.9.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sqlalchemy-migrate.spec ++++++ --- /var/tmp/diff_new_pack.cHetzl/_old 2015-02-27 11:10:04.000000000 +0100 +++ /var/tmp/diff_new_pack.cHetzl/_new 2015-02-27 11:10:04.000000000 +0100 @@ -18,7 +18,7 @@ Name: python-sqlalchemy-migrate -Version: 0.9.4 +Version: 0.9.5 Release: 0 Summary: Database schema migration for SQLAlchemy License: MIT ++++++ sqlalchemy-migrate-0.9.4.tar.gz -> sqlalchemy-migrate-0.9.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/AUTHORS new/sqlalchemy-migrate-0.9.5/AUTHORS --- old/sqlalchemy-migrate-0.9.4/AUTHORS 2015-01-13 02:35:52.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/AUTHORS 2015-02-25 20:36:55.000000000 +0100 @@ -14,14 +14,19 @@ Jan Dittberner <jan.dittberner@googlemail.com> Jan Dittberner <jan@dittberner.info> Jason Michalski <armooo@armooo.net> +Jeremy Stanley <fungi@yuggoth.org> Josip Delic <delijati@googlemail.com> +Longgeek <longgeek@thstack.com> Matt Riedemann <mriedem@us.ibm.com> +Mike Bayer <mike_mp@zzzcomputing.com> Monty Taylor <mordred@inaugust.com> Pete Keen <pete@bugsplat.info> +Peter Conerly <pconerly@gmail.com> Pádraig Brady <P@draigBrady.com> Pádraig Brady <pbrady@redhat.com> Rahul Priyadarshi <rahul.priyadarshi@in.ibm.com> Rick Copeland <rick446@usa.net> +Roman Podoliaka <rpodolyaka@mirantis.com> Roman Podolyaka <rpodolyaka@mirantis.com> Sascha Peilicke <saschpe@gmx.de> Sascha Peilicke <speilicke@suse.com> @@ -29,6 +34,7 @@ Sheng Bo Hou <sbhou@cn.ibm.com> Thomas Goirand <thomas@goirand.fr> Thuy Christenson <thuy@us.ibm.com> +Yuval Langer <yuval.langer@gmail.com> al.yazdi@gmail.com <unknown> asuffield@gmail.com <unknown> ches.martin <unknown> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/ChangeLog new/sqlalchemy-migrate-0.9.5/ChangeLog --- old/sqlalchemy-migrate-0.9.4/ChangeLog 2015-01-13 02:35:52.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/ChangeLog 2015-02-25 20:36:55.000000000 +0100 @@ -1,6 +1,16 @@ CHANGES ======= +0.9.5 +----- + +* Don't run the test if _setup() fails +* Correcting minor typo +* Fix .gitignore for .tox and .testrepository +* allow dropping fkeys with sqlite +* Add pretty_tox setup +* script: strip comments in SQL statements + 0.9.4 ----- @@ -12,6 +22,9 @@ * Ignore transaction management statements in SQL scripts * Use native sqlalchemy 0.9 quote attribute with ibmdb2 * Don't add warnings filter on import +* Replace assertNotEquals with assertNotEqual +* Update requirements file matching global requ +* Work toward Python 3.4 support and testing * pep8: mark all pep8 checks that currently fail as ignored 0.9.2 @@ -21,6 +34,7 @@ * Make sure we don't throw away exception on SQL script failure * Pin testtools to < 0.9.36 * Fix ibmdb2 unique constraint handling for sqlalchemy 0.9 +* Fixes the auto-generated manage.py 0.9.1 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/PKG-INFO new/sqlalchemy-migrate-0.9.5/PKG-INFO --- old/sqlalchemy-migrate-0.9.4/PKG-INFO 2015-01-13 02:35:52.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/PKG-INFO 2015-02-25 20:36:56.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: sqlalchemy-migrate -Version: 0.9.4 +Version: 0.9.5 Summary: Database schema migration for SQLAlchemy Home-page: http://www.openstack.org/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/doc/source/index.rst new/sqlalchemy-migrate-0.9.5/doc/source/index.rst --- old/sqlalchemy-migrate-0.9.4/doc/source/index.rst 2015-01-13 02:35:13.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/doc/source/index.rst 2015-02-25 20:36:01.000000000 +0100 @@ -125,7 +125,7 @@ .. [#1] Table is renamed to temporary table, new table is created followed by INSERT statements. .. [#2] See http://www.sqlite.org/lang_altertable.html for more information. - In cases not supported my sqlite, table is renamed to temporary table, + In cases not supported by sqlite, table is renamed to temporary table, new table is created followed by INSERT statements. .. [#3] You can not change datatype or rename column if table has NOT NULL data, see http://blogs.x2line.com/al/archive/2005/08/30/1231.aspx for diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/migrate/changeset/databases/sqlite.py new/sqlalchemy-migrate-0.9.5/migrate/changeset/databases/sqlite.py --- old/sqlalchemy-migrate-0.9.4/migrate/changeset/databases/sqlite.py 2015-01-13 02:35:13.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/migrate/changeset/databases/sqlite.py 2015-02-25 20:36:01.000000000 +0100 @@ -11,6 +11,7 @@ import re from sqlalchemy.databases import sqlite as sa_base +from sqlalchemy.schema import ForeignKeyConstraint from sqlalchemy.schema import UniqueConstraint from migrate import exceptions @@ -29,8 +30,24 @@ class SQLiteHelper(SQLiteCommon): - def _get_unique_constraints(self, table): - """Retrieve information about existing unique constraints of the table + def _filter_columns(self, cols, table): + """Splits the string of columns and returns those only in the table. + + :param cols: comma-delimited string of table columns + :param table: the table to check + :return: list of columns in the table + """ + columns = [] + for c in cols.split(","): + if c in table.columns: + # There was a bug in reflection of SQLite columns with + # reserved identifiers as names (SQLite can return them + # wrapped with double quotes), so strip double quotes. + columns.extend(c.strip(' "')) + return columns + + def _get_constraints(self, table): + """Retrieve information about existing constraints of the table This feature is needed for recreate_table() to work properly. """ @@ -48,19 +65,21 @@ constraints = [] for name, cols in re.findall(UNIQUE_PATTERN, data): # Filter out any columns that were dropped from the table. - columns = [] - for c in cols.split(","): - if c in table.columns: - # There was a bug in reflection of SQLite columns with - # reserved identifiers as names (SQLite can return them - # wrapped with double quotes), so strip double quotes. - columns.extend(c.strip(' "')) + columns = self._filter_columns(cols, table) if columns: constraints.extend(UniqueConstraint(*columns, name=name)) + + FKEY_PATTERN = "CONSTRAINT (\w+) FOREIGN KEY \(([^\)]+)\)" + for name, cols in re.findall(FKEY_PATTERN, data): + # Filter out any columns that were dropped from the table. + columns = self._filter_columns(cols, table) + if columns: + constraints.extend(ForeignKeyConstraint(*columns, name=name)) + return constraints def recreate_table(self, table, column=None, delta=None, - omit_uniques=None): + omit_constraints=None): table_name = self.preparer.format_table(table) # we remove all indexes so as not to have @@ -68,13 +87,13 @@ for index in table.indexes: index.drop() - # reflect existing unique constraints - for uc in self._get_unique_constraints(table): - table.append_constraint(uc) - # omit given unique constraints when creating a new table if required + # reflect existing constraints + for constraint in self._get_constraints(table): + table.append_constraint(constraint) + # omit given constraints when creating a new table if required table.constraints = set([ cons for cons in table.constraints - if omit_uniques is None or cons.name not in omit_uniques + if omit_constraints is None or cons.name not in omit_constraints ]) self.append('ALTER TABLE %s RENAME TO migration_tmp' % table_name) @@ -182,13 +201,13 @@ self.execute() def visit_migrate_foreign_key_constraint(self, *p, **k): - self._not_supported('ALTER TABLE DROP CONSTRAINT') + self.recreate_table(p[0].table, omit_constraints=[p[0].name]) def visit_migrate_check_constraint(self, *p, **k): self._not_supported('ALTER TABLE DROP CONSTRAINT') def visit_migrate_unique_constraint(self, *p, **k): - self.recreate_table(p[0].table, omit_uniques=[p[0].name]) + self.recreate_table(p[0].table, omit_constraints=[p[0].name]) # TODO: technically primary key is a NOT NULL + UNIQUE constraint, should add NOT NULL to index diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/migrate/tests/changeset/test_constraint.py new/sqlalchemy-migrate-0.9.5/migrate/tests/changeset/test_constraint.py --- old/sqlalchemy-migrate-0.9.4/migrate/tests/changeset/test_constraint.py 2015-01-13 02:35:13.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/migrate/tests/changeset/test_constraint.py 2015-02-25 20:36:01.000000000 +0100 @@ -71,7 +71,7 @@ self.assertTrue(isinstance(self.table.primary_key, schema.PrimaryKeyConstraint)) return pk - @fixture.usedb(not_supported='sqlite') + @fixture.usedb() def test_define_fk(self): """FK constraints can be defined, created, and dropped""" # FK target must be unique diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/migrate/tests/fixture/database.py new/sqlalchemy-migrate-0.9.5/migrate/tests/fixture/database.py --- old/sqlalchemy-migrate-0.9.4/migrate/tests/fixture/database.py 2015-01-13 02:35:13.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/migrate/tests/fixture/database.py 2015-02-25 20:36:01.000000000 +0100 @@ -90,9 +90,7 @@ log.info('Backend %s is not available, skip it', url) continue except Exception as e: - setup_exception = e - else: - setup_exception = None + raise RuntimeError('Exception during _setup(): %r' % e) try: f(self, *a, **kw) @@ -100,15 +98,7 @@ try: self._teardown() except Exception as e: - teardown_exception=e - else: - teardown_exception=None - if setup_exception or teardown_exception: - raise RuntimeError(( - 'Exception during _setup/_teardown:\n' - 'setup: %r\n' - 'teardown: %r\n' - )%(setup_exception,teardown_exception)) + raise RuntimeError('Exception during _teardown(): %r' % e) except Exception: failed_for.append(url) fail = sys.exc_info() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/migrate/tests/versioning/test_cfgparse.py new/sqlalchemy-migrate-0.9.5/migrate/tests/versioning/test_cfgparse.py --- old/sqlalchemy-migrate-0.9.4/migrate/tests/versioning/test_cfgparse.py 2015-01-13 02:35:13.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/migrate/tests/versioning/test_cfgparse.py 2015-02-25 20:36:01.000000000 +0100 @@ -24,4 +24,4 @@ 'repository_name', {}) specified_text = Repository.prepare_config(Template().get_repository(), 'repository_name', {'version_table': '_other_table'}) - self.assertNotEquals(default_text, specified_text) + self.assertNotEqual(default_text, specified_text) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/migrate/tests/versioning/test_repository.py new/sqlalchemy-migrate-0.9.5/migrate/tests/versioning/test_repository.py --- old/sqlalchemy-migrate-0.9.4/migrate/tests/versioning/test_repository.py 2015-01-13 02:35:13.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/migrate/tests/versioning/test_repository.py 2015-02-25 20:36:01.000000000 +0100 @@ -44,7 +44,7 @@ self.assertTrue(repos.config.get('db_settings', 'version_table')) # version_table's default isn't none - self.assertNotEquals(repos.config.get('db_settings', 'version_table'), 'None') + self.assertNotEqual(repos.config.get('db_settings', 'version_table'), 'None') def test_load_notfound(self): """Nonexistant repositories shouldn't be loaded""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/migrate/tests/versioning/test_script.py new/sqlalchemy-migrate-0.9.5/migrate/tests/versioning/test_script.py --- old/sqlalchemy-migrate-0.9.4/migrate/tests/versioning/test_script.py 2015-01-13 02:35:13.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/migrate/tests/versioning/test_script.py 2015-02-25 20:36:01.000000000 +0100 @@ -281,6 +281,16 @@ for script_pattern in ( "BEGIN TRANSACTION; %s; COMMIT;", "BEGIN; %s; END TRANSACTION;", + "/* comment */BEGIN TRANSACTION; %s; /* comment */COMMIT;", + "/* comment */ BEGIN TRANSACTION; %s; /* comment */ COMMIT;", + """ +-- comment +BEGIN TRANSACTION; + +%s; + +-- comment +COMMIT;""", ): test_statement = ("CREATE TABLE TEST1 (field1 int); " diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/migrate/tests/versioning/test_shell.py new/sqlalchemy-migrate-0.9.5/migrate/tests/versioning/test_shell.py --- old/sqlalchemy-migrate-0.9.4/migrate/tests/versioning/test_shell.py 2015-01-13 02:35:13.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/migrate/tests/versioning/test_shell.py 2015-02-25 20:36:01.000000000 +0100 @@ -101,7 +101,7 @@ # The default table should not be None repos_ = Repository(repos) - self.assertNotEquals(repos_.config.get('db_settings', 'version_table'), 'None') + self.assertNotEqual(repos_.config.get('db_settings', 'version_table'), 'None') # Can't create it again: it already exists result = self.env.run('migrate create %s repository_name' % repos, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/migrate/versioning/script/sql.py new/sqlalchemy-migrate-0.9.5/migrate/versioning/script/sql.py --- old/sqlalchemy-migrate-0.9.4/migrate/versioning/script/sql.py 2015-01-13 02:35:13.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/migrate/versioning/script/sql.py 2015-02-25 20:36:01.000000000 +0100 @@ -54,6 +54,7 @@ # not all drivers reliably handle multistatement queries or # commands passed to .execute(), so split them and execute one # by one + text = sqlparse.format(text, strip_comments=True, strip_whitespace=True) for statement in sqlparse.split(text): if statement: if re.match(ignored_regex, statement): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/migrate/versioning/templates/manage/default.py_tmpl new/sqlalchemy-migrate-0.9.5/migrate/versioning/templates/manage/default.py_tmpl --- old/sqlalchemy-migrate-0.9.4/migrate/versioning/templates/manage/default.py_tmpl 2015-01-13 02:35:13.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/migrate/versioning/templates/manage/default.py_tmpl 2015-02-25 20:36:01.000000000 +0100 @@ -5,6 +5,7 @@ import six _vars = locals().copy() del _vars['__template_name__'] +del _vars['six'] _vars.pop('repository_name', None) defaults = ", ".join(["%s='%s'" % var for var in six.iteritems(_vars)]) }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/migrate/versioning/templates/manage/pylons.py_tmpl new/sqlalchemy-migrate-0.9.5/migrate/versioning/templates/manage/pylons.py_tmpl --- old/sqlalchemy-migrate-0.9.4/migrate/versioning/templates/manage/pylons.py_tmpl 2015-01-13 02:35:13.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/migrate/versioning/templates/manage/pylons.py_tmpl 2015-02-25 20:36:01.000000000 +0100 @@ -20,6 +20,7 @@ import six _vars = locals().copy() del _vars['__template_name__'] +del _vars['six'] defaults = ", ".join(["%s='%s'" % var for var in six.iteritems(_vars)]) }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/requirements.txt new/sqlalchemy-migrate-0.9.5/requirements.txt --- old/sqlalchemy-migrate-0.9.4/requirements.txt 2015-01-13 02:35:13.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/requirements.txt 2015-02-25 20:36:01.000000000 +0100 @@ -1,10 +1,10 @@ -pbr>=0.5.21,<1.0 +pbr>=0.6,!=0.7,<1.0 # never put a cap on this, *ever*, sqla versions are handled via # tox, and if SQLA is capped it will only make it so we aren't testing # against all the versions we are compatible with. -SQLAlchemy>=0.7.8 +SQLAlchemy>=0.7.8,!=0.9.5,<=0.9.99 decorator -six>=1.4.1 +six>=1.7.0 sqlparse -Tempita >= 0.4 +Tempita>=0.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/setup.cfg new/sqlalchemy-migrate-0.9.5/setup.cfg --- old/sqlalchemy-migrate-0.9.4/setup.cfg 2015-01-13 02:35:52.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/setup.cfg 2015-02-25 20:36:56.000000000 +0100 @@ -32,7 +32,7 @@ source-dir = doc/source [egg_info] -tag_build = tag_svn_revision = 0 tag_date = 0 +tag_build = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/sqlalchemy_migrate.egg-info/PKG-INFO new/sqlalchemy-migrate-0.9.5/sqlalchemy_migrate.egg-info/PKG-INFO --- old/sqlalchemy-migrate-0.9.4/sqlalchemy_migrate.egg-info/PKG-INFO 2015-01-13 02:35:52.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/sqlalchemy_migrate.egg-info/PKG-INFO 2015-02-25 20:36:55.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: sqlalchemy-migrate -Version: 0.9.4 +Version: 0.9.5 Summary: Database schema migration for SQLAlchemy Home-page: http://www.openstack.org/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/sqlalchemy_migrate.egg-info/SOURCES.txt new/sqlalchemy-migrate-0.9.5/sqlalchemy_migrate.egg-info/SOURCES.txt --- old/sqlalchemy-migrate-0.9.4/sqlalchemy_migrate.egg-info/SOURCES.txt 2015-01-13 02:35:52.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/sqlalchemy_migrate.egg-info/SOURCES.txt 2015-02-25 20:36:56.000000000 +0100 @@ -128,4 +128,5 @@ sqlalchemy_migrate.egg-info/not-zip-safe sqlalchemy_migrate.egg-info/pbr.json sqlalchemy_migrate.egg-info/requires.txt -sqlalchemy_migrate.egg-info/top_level.txt \ No newline at end of file +sqlalchemy_migrate.egg-info/top_level.txt +tools/pretty_tox.sh \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/sqlalchemy_migrate.egg-info/pbr.json new/sqlalchemy-migrate-0.9.5/sqlalchemy_migrate.egg-info/pbr.json --- old/sqlalchemy-migrate-0.9.4/sqlalchemy_migrate.egg-info/pbr.json 2015-01-13 02:35:52.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/sqlalchemy_migrate.egg-info/pbr.json 2015-02-25 20:36:55.000000000 +0100 @@ -1 +1 @@ -{"is_release": true, "git_version": "b011e6c"} \ No newline at end of file +{"git_version": "8a638ce", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/sqlalchemy_migrate.egg-info/requires.txt new/sqlalchemy-migrate-0.9.5/sqlalchemy_migrate.egg-info/requires.txt --- old/sqlalchemy-migrate-0.9.4/sqlalchemy_migrate.egg-info/requires.txt 2015-01-13 02:35:52.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/sqlalchemy_migrate.egg-info/requires.txt 2015-02-25 20:36:55.000000000 +0100 @@ -1,6 +1,6 @@ -pbr>=0.5.21,<1.0 -SQLAlchemy>=0.7.8 +pbr>=0.6,!=0.7,<1.0 +SQLAlchemy>=0.7.8,!=0.9.5,<=0.9.99 decorator -six>=1.4.1 +six>=1.7.0 sqlparse -Tempita >= 0.4 +Tempita>=0.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/test-requirements.txt new/sqlalchemy-migrate-0.9.5/test-requirements.txt --- old/sqlalchemy-migrate-0.9.4/test-requirements.txt 2015-01-13 02:35:13.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/test-requirements.txt 2015-02-25 20:36:01.000000000 +0100 @@ -16,6 +16,7 @@ sphinxcontrib_issuetracker testrepository>=0.0.17 testtools>=0.9.34,<0.9.36 +tempest-lib>=0.1.0 scripttest # NOTE(rpodolyaka): This version identifier is currently necessary as diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/tools/pretty_tox.sh new/sqlalchemy-migrate-0.9.5/tools/pretty_tox.sh --- old/sqlalchemy-migrate-0.9.4/tools/pretty_tox.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/tools/pretty_tox.sh 2015-02-25 20:36:01.000000000 +0100 @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +# return nonzero exit status of rightmost command, so that we +# get nonzero exit on test failure without halting subunit-trace +set -o pipefail + + +TESTRARGS=$1 + +python setup.py testr --testr-args="--subunit $TESTRARGS --concurrency=1" | subunit-trace -f +retval=$? +# NOTE(mtreinish) The pipe above would eat the slowest display from pbr's testr +# wrapper so just manually print the slowest tests +echo -e "\nSlowest Tests:\n" +testr slowest +exit $retval diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sqlalchemy-migrate-0.9.4/tox.ini new/sqlalchemy-migrate-0.9.5/tox.ini --- old/sqlalchemy-migrate-0.9.4/tox.ini 2015-01-13 02:35:13.000000000 +0100 +++ new/sqlalchemy-migrate-0.9.5/tox.ini 2015-02-25 20:36:01.000000000 +0100 @@ -1,16 +1,16 @@ [tox] minversion = 1.6 skipsdist = True -envlist = py26,py27,py26sa07,py27sa07,py26sa08,py27sa08,py26sa09,py27sa09,py33,pep8 +envlist = py26,py27,py26sa07,py27sa07,py26sa08,py27sa08,py26sa09,py27sa09,py33,py34,pep8 [testenv] usedevelop = True +whitelist_externals = bash install_command = pip install {opts} {packages} setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = - python setup.py testr --slowest --testr-args='{posargs} --concurrency=1' +commands = bash tools/pretty_tox.sh '{posargs}' [testenv:py26] deps = sqlalchemy>=0.9 @@ -62,6 +62,11 @@ deps = sqlalchemy>=0.9 -r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements-py3.txt + +[testenv:py34] +deps = sqlalchemy>=0.9 + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/test-requirements-py3.txt [testenv:pep8] commands = flake8 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org