1. 22 Jan, 2019 1 commit
    • Matt Riedemann's avatar
      Change title in README.rst · 8acab2cd
      Matt Riedemann authored
      This is needed to be able to release to pypi:
      
      $ python3 setup.py check --restructuredtext --strict
      running check
      warning: check: Duplicate implicit target name: "sqlalchemy-migrate".
      
      Change-Id: I26dd765a5273199d6666dd9ed618dc8189a2e8ed
      8acab2cd
  2. 21 Jan, 2019 2 commits
  3. 18 Jan, 2019 1 commit
  4. 15 Jan, 2019 8 commits
    • Corey Bryant's avatar
      Use legacy_alter_table ON in sqlite recreate_table · 231a4d2a
      Corey Bryant authored
      Use "PRAGMA legacy_alter_table = ON" with sqlite >= 3.26 when
      using "ALTER TABLE RENAME TO migration_tmp" to maintain legacy
      behavior.
      
      As of sqlite version 3.26, when a table is renamed using
      "ALTER TABLE RENAME TO", REFERENCES clauses that refer to the
      table will be updated. To maintain legacy (3.24 and earlier)
      behavior, "PRAGMA legacy_alter_table" can be set to true and
      "PRAGMA foreign_keys" can be set to false. [1]
      
      [1] https://www.sqlite.org/src/info/ae9638e9c0ad0c36
      
      Thanks to "László Böszörményi (GCS)" <gcs@debian.org> for
      providing the code for this patch, which has since been
      slightly modified.
      
      Change-Id: I539988ab2ad6df6c8f423ecec15364ad8fcc7267
      Closes-Bug: 1807262
      231a4d2a
    • Zuul's avatar
      Merge "Add .eggs in .gitignore" · 8fd7226f
      Zuul authored
      8fd7226f
    • Zuul's avatar
      Merge "Remove py26 support" · fb138f6d
      Zuul authored
      fb138f6d
    • Anusree's avatar
      Remove py26 support · 8266c8de
      Anusree authored
      As of mitaka, the infra team won't have the resources available to
      reasonably test py26, also the oslo team is dropping py26 support
      from their libraries. sine we rely on oslo for a lot of our work,
      and depend on infra for our CI, we should drop py26 support too.
      
      Change-Id: I6af3716f5daf73febdabcd79853a09512428c289
      Closes-Bug: 1519510
      8266c8de
    • Nicola Soranzo's avatar
      Add .eggs in .gitignore · d45ea279
      Nicola Soranzo authored
      Change-Id: Ia7738e03aff843b1b120c0d5d13a7b64f2f33201
      d45ea279
    • Chih-Hsuan Yen's avatar
      Import MutableMapping from the correct Python module · a00dab7b
      Chih-Hsuan Yen authored
      Change-Id: Ifb66fe22bc607b13f5c4756d3b93f5e8206c33e3
      a00dab7b
    • Jonathan Herlin's avatar
      Update mailinglist from dev to discuss · 9f0bda97
      Jonathan Herlin authored
      openstack-dev was decomissioned this night in https://review.openstack.org/621258
      Update openstack-dev to openstack-discuss
      
      Change-Id: Ic84b2422d37aa1ebb443fff4152c7ebe5a098566
      9f0bda97
    • Chih-Hsuan Yen's avatar
      Get rid of psycopg2 warnings by disabling wheels · f44d0795
      Chih-Hsuan Yen authored
      The psycopg2 wheel package warnings are causing some tests
      to fail which expect there to be no stderr output. This fixes
      the problem by not using the wheel binary for that package.
      
      Closes-Bug: #1811876
      
      Change-Id: Id43e74d8d343ab4e80d1d246543bada1ed4d06ad
      f44d0795
  5. 07 Apr, 2017 1 commit
  6. 24 Mar, 2017 1 commit
  7. 01 Mar, 2017 1 commit
    • Tony Breeds's avatar
      Use a modern PBR package · ca6f3a93
      Tony Breeds authored
      The 2.0.0 is breaking in that it removes the use of warnerrors in
      build_sphinux.
      
      sqlalchemy-migrate isn't using that feature, so it shoudln't break.
      
      The cap on pbr is preventing other OpenStack projects that would like to
      use pbr 2.0.0 (and sphinx 1.5.1) from doing so as it breaks
      co-installability with sqlalchemy-migrate
      
      Change-Id: I1c907201c717fe42caca24831985a119f2a1738b
      Related-Bug: 1668848
      ca6f3a93
  8. 09 Feb, 2017 2 commits
  9. 01 Feb, 2017 1 commit
  10. 26 Oct, 2016 1 commit
  11. 20 Oct, 2016 1 commit
  12. 03 Jun, 2016 1 commit
  13. 27 May, 2016 1 commit
    • dineshbhor's avatar
      Raise VersionNotFoundError instead of KeyError · 2a326810
      dineshbhor authored
      Currently migrate.versioning.api.upgrade() raises KeyError
      instead of sqlalchemy-migrate specific exception if migration
      script file is not present in migration repository.
      
      Raised migrate.exception.VersionNotFoundError if the specified
      migration script does not exist in the repository. Made
      VersionNotFoundError exception class as a subclass of KeyError
      in order to avoid breaking existing users looking for KeyError.
      
      Related-Bug: #1546441
      Change-Id: I0210d56a6e85f03c44cea027f50863faaf050c1d
      2a326810
  14. 26 May, 2016 1 commit
    • dineshbhor's avatar
      Fix DeprecationWarning on setuptools >= 11.3 · 9356e5e2
      dineshbhor authored
      Python 3.4 unit test is failing because of
      DeprecationWarning: Parameters to load are deprecated.
      Called .resolve and .require separately on setuptools >= 11.3.
      
      Made provision to call .resolve() method if setuptools >= 10.2
      and less than 11.3 else call .load() method.
      
      Change-Id: I5ba80edfbf6b7c8399c66f01d57c91bd02eab274
      Closes-Bug: #1586060
      9356e5e2
  15. 17 Oct, 2015 1 commit
  16. 29 Aug, 2015 2 commits
  17. 31 Jul, 2015 1 commit
  18. 28 Jul, 2015 1 commit
    • Victor Stinner's avatar
      Add VerNum.__index__() for Python 3 support · 1384e901
      Victor Stinner authored
      On Python 3, some functions like range() don't try to call the __int__()
      method to cast an object to integer, but try instead the __index__()
      method.
      
      Add an __index__() method to mimick correctly the int type on Python 3.
      
      Change-Id: I8df116d80e201778714a59367600eaef644266ed
      1384e901
  19. 22 Jul, 2015 1 commit
    • Thomas Goirand's avatar
      Fixes usage function for Py3 · fb55b01a
      Thomas Goirand authored
      The usage function of migrate_repository.py isn't Python 3 compatible,
      and this hasn't be caught by unit tests. This patch fixes the function,
      so at least the file can be compiled in Py3.
      
      Change-Id: Ib9333e46e7526e82acde573d4b2046b2bf9a7ae0
      fb55b01a
  20. 18 Jul, 2015 1 commit
    • Matt Riedemann's avatar
      Unblock migrate (py26 and py3* testing issues) · 8252703f
      Matt Riedemann authored
      There are two changes which have to go together to pass the gate
      tests:
      
      1. Update pbr and mock requirements from global-requirements
      
      mock 1.2 supports py26 again so make that the minimum version. The
      same change is being made in g-r with:
      
      Ic6b9e18eaec9c81bbbbc57129e024904be928e09
      
      Sync up with latest pbr in global-requirements while we're at it.
      
      Closes-Bug: #1474925
      
      2. Fix the importpath module to work with python >= 3.3 where the
      __import__ built-in is raising an ImportError on a temporary file
      that is added to the system path.
      
      Closes-Bug: #1475339
      
      Change-Id: Ie98938ba75f3983094dd540b7d26a7ec46be4f6e
      8252703f
  21. 05 Jul, 2015 2 commits
    • Matt Riedemann's avatar
      Revert "Revert "uncap pbr and sqla requirements"" · 050b646e
      Matt Riedemann authored
      This reverts commit e4d0e5be
      
      Now that flake8-related dependencies have been updated in the
      dependent change the pep8 job is fixed.
      
      Change-Id: Idfa6a18836d7ce02dfaa5d9da1a51c98ad987f51
      050b646e
    • Matt Riedemann's avatar
      Update flake8 related dependencies · dc07f8de
      Matt Riedemann authored
      In order to raise the cap on pbr we need to update
      the dependent versions of the flake8 related packages
      for the pep8 job since they have capped pbr.
      
      A couple of simple hacking issues are fixed, the rest
      are ignored.
      
      Change-Id: Icddb5bf284da7b6463ebcfc7512726149ffe6085
      dc07f8de
  22. 04 Jul, 2015 2 commits
  23. 02 Jul, 2015 1 commit
    • Sean Dague's avatar
      uncap pbr and sqla requirements · 35832555
      Sean Dague authored
      The cap of pbr causes issues now that pbr 1.2 is basically needed for
      a lot of projects to do the right thing with requirements ranges. The
      sqla capping is preventing new versions of sqla to be used in the
      OpenStack gates, and shouldn't be capped by a library.
      
      Change-Id: I5fc142eb8c9d616db2ed9b2f3e4e4d1147e131ff
      35832555
  24. 01 Jul, 2015 2 commits
    • Mike Bayer's avatar
      Update tests and reqs for SQLA 1.0 · a94dae7a
      Mike Bayer authored
      Lift the requirements to support SQLAlchemy 1.0.  Two tests
      were calling upon revised APIs and required adjustment.
      
      Change-Id: Ic91a91bb3c915027b522eace302f2ed074233294
      a94dae7a
    • Mike Bayer's avatar
      Ignore stderr output when invoking migrate script in tests · b8def7cb
      Mike Bayer authored
      Under Python 2.6 a setuptools warning is produced when
      the migrate runner runs.  Since migrate invokes its own
      commandline client from tests in a separate shell, the
      fixture we're using to do that must be told not to complain
      about this stderr.
      
      Change-Id: Ib5823754d6ffabe954665f2a7529ed0e56591ebf
      b8def7cb
  25. 17 Apr, 2015 1 commit
    • Victor Stinner's avatar
      Add Python 3 classifiers · d651f123
      Victor Stinner authored
      sqlachemy-migrate works on Python 3.3 and Python 3.4: announce it in
      classifiers in setup.cfg.
      
      Change-Id: Ibb2a803941dcc7b05efd407692b3627203ba2afe
      d651f123
  26. 16 Mar, 2015 1 commit
    • Qin Zhao's avatar
      Fix ibmdb2 index name handling · e57ee4c3
      Qin Zhao authored
      The ibmdb2 code calls _index_identifier() when it handles index name. This
      method only exists from sqlalchemy 0.6.5 to 0.7.*. Nova code change
      https://review.openstack.org/#/c/153123/ attempts to drop a db constraint and
      it fails to sync nova db with sqlalchemy 0.9.8 running against db2. Need to let
      ibmdb2 code identify sqlalchemy version and call the correct method to handle
      index name.
      
      Closes-Bug: 1428477
      
      Change-Id: Ie6333f9cea0209c1ea290356873a1a1bcf409bed
      e57ee4c3
  27. 24 Feb, 2015 1 commit