<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy-migrate.git/migrate/tests/changeset/test_changeset.py, branch master</title>
<subtitle>github.com: stackforge/sqlalchemy-migrate.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/'/>
<entry>
<title>Retire github mirror, repo moved to opendev</title>
<updated>2019-09-26T13:56:42+00:00</updated>
<author>
<name>Jim Rollenhagen</name>
<email>jim@jimrollenhagen.com</email>
</author>
<published>2019-09-26T13:56:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=52672a64cc0cab4ea14a4a756fce850eb03315e3'/>
<id>52672a64cc0cab4ea14a4a756fce850eb03315e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix spelling mistake"</title>
<updated>2017-03-24T21:23:38+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-03-24T21:23:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=9a7a37fba4d6bb1c757e570034667ecc2adcb688'/>
<id>9a7a37fba4d6bb1c757e570034667ecc2adcb688</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix spelling mistake</title>
<updated>2016-10-26T14:27:24+00:00</updated>
<author>
<name>dineshbhor</name>
<email>dinesh.bhor@nttdata.com</email>
</author>
<published>2016-10-26T14:17:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=09ec8f7816e71d112c4c8f565cb5dbc18ba9045c'/>
<id>09ec8f7816e71d112c4c8f565cb5dbc18ba9045c</id>
<content type='text'>
TrivialFix

Change-Id: I089d9e8b57895d9878bf82d2fac397722fccc083
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TrivialFix

Change-Id: I089d9e8b57895d9878bf82d2fac397722fccc083
</pre>
</div>
</content>
</entry>
<entry>
<title>Set autoincrement to False when modifying to non-Integer datatype</title>
<updated>2016-10-20T21:47:19+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-10-20T21:47:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=e9175a37ce0b0b0e87ad728c8a6a10bed100065b'/>
<id>e9175a37ce0b0b0e87ad728c8a6a10bed100065b</id>
<content type='text'>
Starting in SQLAlchemy 1.1, the rules for when "autoincrement=True"
may be set on a column are more strict.  The migrate tests are
testing the alteration of a column from Integer to String
and then regenerating; this means we need to set autoincrement
to False as well.   A related issue in SQLAlchemy 1.1 is
also being fixed (see https://bitbucket.org/zzzeek/sqlalchemy/issues/3835/),
however this fix is not needed in order for the tests to pass here.

Change-Id: Ibd3a75fff13312411df87e17b6e5764865d69728
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Starting in SQLAlchemy 1.1, the rules for when "autoincrement=True"
may be set on a column are more strict.  The migrate tests are
testing the alteration of a column from Integer to String
and then regenerating; this means we need to set autoincrement
to False as well.   A related issue in SQLAlchemy 1.1 is
also being fixed (see https://bitbucket.org/zzzeek/sqlalchemy/issues/3835/),
however this fix is not needed in order for the tests to pass here.

Change-Id: Ibd3a75fff13312411df87e17b6e5764865d69728
</pre>
</div>
</content>
</entry>
<entry>
<title>Port to Python3</title>
<updated>2014-04-09T15:32:52+00:00</updated>
<author>
<name>Cyril Roelandt</name>
<email>cyril.roelandt@enovance.com</email>
</author>
<published>2014-03-19T14:02:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=a03b141a954c7e644f0033defdb1b5b434a7c49a'/>
<id>a03b141a954c7e644f0033defdb1b5b434a7c49a</id>
<content type='text'>
Brief summary of the modifications:

* Use six for compatibility with both Python 2 and 3;
* Replace UserDict.DictMixin with collections.MutableMapping;
* Fix relative imports;
* Use test-requirements.txt for requirements that are common to both Python 2
  and 3, and test-requirements-py{2,3}.txt for version-specific requirements;
* Miscellaneous fixes.
* Use a specific test_db_py3.cfg file for Python 3, that only runs tests on
  sqlite.

Thanks to Victor Stinner who co-wrote this patch.

Change-Id: Ia6dc536c39d274924c21fd5bb619e8e5721e04c4
Co-Authored-By: Victor Stinner &lt;victor.stinner@enovance.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Brief summary of the modifications:

* Use six for compatibility with both Python 2 and 3;
* Replace UserDict.DictMixin with collections.MutableMapping;
* Fix relative imports;
* Use test-requirements.txt for requirements that are common to both Python 2
  and 3, and test-requirements-py{2,3}.txt for version-specific requirements;
* Miscellaneous fixes.
* Use a specific test_db_py3.cfg file for Python 3, that only runs tests on
  sqlite.

Thanks to Victor Stinner who co-wrote this patch.

Change-Id: Ia6dc536c39d274924c21fd5bb619e8e5721e04c4
Co-Authored-By: Victor Stinner &lt;victor.stinner@enovance.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Replace "self.assert_" by "self.assertTrue"</title>
<updated>2014-03-31T13:08:29+00:00</updated>
<author>
<name>Cyril Roelandt</name>
<email>cyril.roelandt@enovance.com</email>
</author>
<published>2014-03-19T16:29:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=07909159ae22dc0d399b9618dcf0f79a1d0332bf'/>
<id>07909159ae22dc0d399b9618dcf0f79a1d0332bf</id>
<content type='text'>
The assert_() method is deprecated and can be safely replaced by assertTrue().
This patch makes sure that running the tests does not fill the screen with
warnings.

Change-Id: I8966b7f7a44f1573a4d2c398717bfc68ae40b197
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The assert_() method is deprecated and can be safely replaced by assertTrue().
This patch makes sure that running the tests does not fill the screen with
warnings.

Change-Id: I8966b7f7a44f1573a4d2c398717bfc68ae40b197
</pre>
</div>
</content>
</entry>
<entry>
<title>Eradicate trailing whitespace</title>
<updated>2014-02-26T20:04:54+00:00</updated>
<author>
<name>David Ripton</name>
<email>dripton@redhat.com</email>
</author>
<published>2014-02-26T20:04:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=d6fbf12989e85b8cdbd0202653ef6a2709c16bf5'/>
<id>d6fbf12989e85b8cdbd0202653ef6a2709c16bf5</id>
<content type='text'>
Remove all trailing spaces and tabs in every file in the project.
People have editors configured to do this, which causes them to
accidentally make little whitespace changes in unrelated commits,
which makes those commits harder to review.  Better to fix them all
at once.

Change-Id: I17d89f55f41d8599e0ab1a31f646cd161289703e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove all trailing spaces and tabs in every file in the project.
People have editors configured to do this, which causes them to
accidentally make little whitespace changes in unrelated commits,
which makes those commits harder to review.  Better to fix them all
at once.

Change-Id: I17d89f55f41d8599e0ab1a31f646cd161289703e
</pre>
</div>
</content>
</entry>
<entry>
<title>Add DB2 10.5 Support</title>
<updated>2014-02-17T15:17:31+00:00</updated>
<author>
<name>Matt Riedemann</name>
<email>mriedem@us.ibm.com</email>
</author>
<published>2013-11-06T21:04:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=85317aead6208cd6377167fc7fcc4f57491d97f9'/>
<id>85317aead6208cd6377167fc7fcc4f57491d97f9</id>
<content type='text'>
This patch adds the initial support for DB2 10.5 to migrate. It
includes:

1. The dialect implementation for DB2.
2. The dialect registration with the visitor.
3. Code to parse the engine name in version.py.
4. A new dependency on ibm_db_sa in test-requirements.txt.
5. A connection string in test_db.cfg for ibm_db_sa.

Part of blueprint add-db2-support

Co-authored-by: Sheng Bo Hou &lt;sbhou@cn.ibm.com&gt;
Co-authored-by: Thuy Christenson &lt;thuy@us.ibm.com&gt;
Co-authored-by: Rahul Priyadarshi &lt;rahul.priyadarshi@in.ibm.com&gt;
Change-Id: I745ec615487b1b06c5d1a09ea316f376d66ee4c0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds the initial support for DB2 10.5 to migrate. It
includes:

1. The dialect implementation for DB2.
2. The dialect registration with the visitor.
3. Code to parse the engine name in version.py.
4. A new dependency on ibm_db_sa in test-requirements.txt.
5. A connection string in test_db.cfg for ibm_db_sa.

Part of blueprint add-db2-support

Co-authored-by: Sheng Bo Hou &lt;sbhou@cn.ibm.com&gt;
Co-authored-by: Thuy Christenson &lt;thuy@us.ibm.com&gt;
Co-authored-by: Rahul Priyadarshi &lt;rahul.priyadarshi@in.ibm.com&gt;
Change-Id: I745ec615487b1b06c5d1a09ea316f376d66ee4c0
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix dropping of indexed columns in sqlite/sa08</title>
<updated>2013-10-18T13:09:16+00:00</updated>
<author>
<name>Roman Podolyaka</name>
<email>rpodolyaka@mirantis.com</email>
</author>
<published>2013-10-18T11:23:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=2485118c24b2293747dfafb3be58a6bdc65f7d66'/>
<id>2485118c24b2293747dfafb3be58a6bdc65f7d66</id>
<content type='text'>
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.

Closes-Bug: #1241038

Change-Id: I777b8ce36e36f49bfb0889908811a063cf1a527b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.

Closes-Bug: #1241038

Change-Id: I777b8ce36e36f49bfb0889908811a063cf1a527b
</pre>
</div>
</content>
</entry>
<entry>
<title>Run tests on PostgreSQL and MySQL too</title>
<updated>2013-10-12T07:04:33+00:00</updated>
<author>
<name>Roman Podolyaka</name>
<email>rpodolyaka@mirantis.com</email>
</author>
<published>2013-08-06T14:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy-migrate.git/commit/?id=a91766a1ac86e432449aa66ae8f4b0f886b33e88'/>
<id>a91766a1ac86e432449aa66ae8f4b0f886b33e88</id>
<content type='text'>
In addition to running tests with different Python and SQLAlchemy
versions, they should also be run on different DB backends, which
are used in production (PostgreSQL and MySQL).

This patch:
  - modifies test_db.cfg to run tests on PostgreSQL and MySQL
    (Jenkins Slave credentials are used here, to ensure these
    tests are always run by Jenkins gate); if a backend is not
    available, test cases will be skipped for it
  - concurrency is set to 1 (sharing of the one MySQL or PostgreSQL
    DB among different test runner processes would lead to
    race conditions)
  - fixes tests dropping FK columns in MySQL: in earlier MySQL
    versions dropping a column that is a part of a FK constraint
    would lead to dropping of the FK too. As of MySQL 5.5 that's
    not the case anymore: if one tries to drop such column, he/she
    will get a very obscure error (something like "Error on rename
    of './openstack_citest/#sql-4af_aa2' to './openstack_citest/tmp_adddropcol'
    (errno: 150)") '\nALTER TABLE tmp_adddropcol DROP COLUMN r2').
    So the solution if to drop FK constraints first, and only then
    the columns it is made up of

Change-Id: I8c5d2874c83e7df46da69969ed54d85437c849e7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In addition to running tests with different Python and SQLAlchemy
versions, they should also be run on different DB backends, which
are used in production (PostgreSQL and MySQL).

This patch:
  - modifies test_db.cfg to run tests on PostgreSQL and MySQL
    (Jenkins Slave credentials are used here, to ensure these
    tests are always run by Jenkins gate); if a backend is not
    available, test cases will be skipped for it
  - concurrency is set to 1 (sharing of the one MySQL or PostgreSQL
    DB among different test runner processes would lead to
    race conditions)
  - fixes tests dropping FK columns in MySQL: in earlier MySQL
    versions dropping a column that is a part of a FK constraint
    would lead to dropping of the FK too. As of MySQL 5.5 that's
    not the case anymore: if one tries to drop such column, he/she
    will get a very obscure error (something like "Error on rename
    of './openstack_citest/#sql-4af_aa2' to './openstack_citest/tmp_adddropcol'
    (errno: 150)") '\nALTER TABLE tmp_adddropcol DROP COLUMN r2').
    So the solution if to drop FK constraints first, and only then
    the columns it is made up of

Change-Id: I8c5d2874c83e7df46da69969ed54d85437c849e7
</pre>
</div>
</content>
</entry>
</feed>
