From c527dfef00744822e25f2741a3e2ce69f50d434c Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 20 Feb 2021 16:47:00 -0500 Subject: [PATCH] - 1.5.5 --- docs/build/changelog.rst | 34 ++++++++++++++++++++++++++- docs/build/conf.py | 4 ++-- docs/build/unreleased/797.rst | 25 -------------------- docs/build/unreleased/copy_change.rst | 5 ---- 4 files changed, 35 insertions(+), 33 deletions(-) delete mode 100644 docs/build/unreleased/797.rst delete mode 100644 docs/build/unreleased/copy_change.rst diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst index 3ed21033..027d8769 100644 --- a/docs/build/changelog.rst +++ b/docs/build/changelog.rst @@ -5,7 +5,39 @@ Changelog .. changelog:: :version: 1.5.5 - :include_notes_from: unreleased + :released: February 20, 2021 + + .. change:: + :tags: bug + + Adjusted the use of SQLAlchemy's ".copy()" internals to use "._copy()" + for version 1.4.0, as this method is being renamed. + + .. change:: + :tags: bug, environment + :tickets: 797 + + Added new config file option ``prepend_sys_path``, which is a series of + paths that will be prepended to sys.path; the default value in newly + generated alembic.ini files is ".". This fixes a long-standing issue + where for some reason running the alembic command line would not place the + local "." path in sys.path, meaning an application locally present in "." + and importable through normal channels, e.g. python interpreter, pytest, + etc. would not be located by Alembic, even though the ``env.py`` file is + loaded relative to the current path when ``alembic.ini`` contains a + relative path. To enable for existing installations, add the option to the + alembic.ini file as follows:: + + # sys.path path, will be prepended to sys.path if present. + # defaults to the current working directory. + prepend_sys_path = . + + .. seealso:: + + :ref:`installation` - updated documentation reflecting that local + installation of the project is not necessary if running the Alembic cli + from the local path. + .. changelog:: :version: 1.5.4 diff --git a/docs/build/conf.py b/docs/build/conf.py index 4f84afc5..74db4fc2 100644 --- a/docs/build/conf.py +++ b/docs/build/conf.py @@ -85,8 +85,8 @@ # The short X.Y version. version = alembic.__version__ # The full version, including alpha/beta/rc tags. -release = "1.5.4" -release_date = "February 3, 2021" +release = "1.5.5" +release_date = "February 20, 2021" # The language for content autogenerated by Sphinx. Refer to documentation diff --git a/docs/build/unreleased/797.rst b/docs/build/unreleased/797.rst deleted file mode 100644 index 9f01e41b..00000000 --- a/docs/build/unreleased/797.rst +++ /dev/null @@ -1,25 +0,0 @@ -.. change:: - :tags: bug, environment - :tickets: 797 - - Added new config file option ``prepend_sys_path``, which is a series of - paths that will be prepended to sys.path; the default value in newly - generated alembic.ini files is ".". This fixes a long-standing issue - where for some reason running the alembic command line would not place the - local "." path in sys.path, meaning an application locally present in "." - and importable through normal channels, e.g. python interpreter, pytest, - etc. would not be located by Alembic, even though the ``env.py`` file is - loaded relative to the current path when ``alembic.ini`` contains a - relative path. To enable for existing installations, add the option to the - alembic.ini file as follows:: - - # sys.path path, will be prepended to sys.path if present. - # defaults to the current working directory. - prepend_sys_path = . - - .. seealso:: - - :ref:`installation` - updated documentation reflecting that local - installation of the project is not necessary if running the Alembic cli - from the local path. - diff --git a/docs/build/unreleased/copy_change.rst b/docs/build/unreleased/copy_change.rst deleted file mode 100644 index 0cdb8558..00000000 --- a/docs/build/unreleased/copy_change.rst +++ /dev/null @@ -1,5 +0,0 @@ -.. change:: - :tags: bug - - Adjusted the use of SQLAlchemy's ".copy()" internals to use "._copy()" - for version 1.4.0, as this method is being renamed.