summaryrefslogtreecommitdiff
path: root/tests/test_editor.py
Commit message (Collapse)AuthorAgeFilesLines
* Drop compatibility with python 2.7.CaselIT2021-06-221-6/+4
| | | | | | Now alembic supports only python from version 3.6. Change-Id: Iccf124c2d74af801d90a16c9003cdad318768625
* repair py2k supportMike Bayer2021-06-161-4/+6
| | | | | | | | the editor patch had some py3 isms as a result of us disabling the python 2 tests in gerrit. need to move forward w/ the py3k or re-enable py2k Change-Id: If47b0ebc105131fd3e7b8e6d76e0555da1484b8c
* Revendor editor and make dateutil optionalCaselIT2021-06-151-0/+106
Re-implemented the ``python-editor`` dependency as a small internal function to avoid the need for external dependencies. The implementation is based on the original version in 7b91b325ff43a0e9235e0f15b57391fa92352626. Make the ``python-dateutil`` library an optional dependency. This library is only required if the ``timezone`` option is used in the Alembic configuration. An extra require named ``tz`` is available with ``pip install alembic[tz]`` to install it. Fixes: #674 Fixes: #856 Change-Id: I07f17b2fea01e3a3d677ce95333fe3e8d8d438fd