diff --git a/alembic-1.0.11.tar.gz b/alembic-1.0.11.tar.gz deleted file mode 100644 index 73f7a42..0000000 --- a/alembic-1.0.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cdb7d98bd5cbf65acd38d70b1c05573c432e6473a82f955cdea541b5c153b0cc -size 1032693 diff --git a/alembic-1.1.0.tar.gz b/alembic-1.1.0.tar.gz new file mode 100644 index 0000000..c82c592 --- /dev/null +++ b/alembic-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a4811119efbdc5259d1f4c8f6de977b36ad3bcc919f59a29c2960c5ef9149e4 +size 1028979 diff --git a/python-alembic.changes b/python-alembic.changes index bfa98f6..3c2a4fd 100644 --- a/python-alembic.changes +++ b/python-alembic.changes @@ -1,3 +1,61 @@ +------------------------------------------------------------------- +Sat Aug 31 04:36:49 UTC 2019 - Arun Persaud + +- specfile: + * increased min version of SQLAlechmy + +- update to version 1.1.0: + * bug + + Fixed bug where the double-percent logic applied to some + dialects such as psycopg2 would be rendered in --sql mode, by + allowing dialect options to be passed through to the dialect + used to generate SQL and then providing paramstyle="named" so + that percent signs need not be doubled. For users having this + issue, existing env.py scripts need to add + dialect_opts={"paramstyle": "named"} to their offline + context.configure(). See the alembic/templates/generic/env.py + template for an example. References: #562 + + Fixed use of the deprecated “imp” module, which is used to + detect pep3147 availability as well as to locate .pyc files, + which started emitting deprecation warnings during the test + suite. The warnings were not being emitted earlier during the + test suite, the change is possibly due to changes in py.test + itself but this is not clear. The check for pep3147 is set to + True for any Python version 3.5 or greater now and importlib is + used when available. Note that some dependencies such as + distutils may still be emitting this warning. Tests are adjusted + to accommodate for dependencies that emit the warning as well. + + Fixed issue where emitting a change of column name for MySQL did + not preserve the column comment, even if it were specified as + existing_comment. References: #594 + + Removed the “python setup.py test” feature in favor of a + straight run of “tox”. Per Pypa / pytest developers, “setup.py” + commands are in general headed towards deprecation in favor of + tox. The tox.ini script has been updated such that running “tox” + with no arguments will perform a single run of the test suite + against the default installed Python interpreter. See also + https://github.com/pypa/setuptools/issues/1684 + https://github.com/pytest-dev/pytest/issues/5534 + References: #592 + * usecase + + The “alembic init” command will now proceed if the target + directory exists as long as it’s still empty. Previously, it + would not proceed if the directory existed. The new behavior is + modeled from what git does, to accommodate for container or + other deployments where an Alembic target directory may need to + be already mounted instead of being created with alembic + init. Pull request courtesy Aviskar KC. References: #571 + * misc + + Alembic 1.1 bumps the minimum version of SQLAlchemy to 1.1. As + was the case before, Python requirements remain at Python 2.7, + or in the 3.x series Python 3.4. + + The test suite for Alembic now makes use of SQLAlchemy’s testing + framework directly. Previously, Alembic had its own version of + this framework that was mostly copied from that of SQLAlchemy to + enable testing with older SQLAlchemy versions. The majority of + this code is now removed so that both projects can leverage + improvements from a common testing framework. + ------------------------------------------------------------------- Sat Jul 6 21:27:43 UTC 2019 - Arun Persaud diff --git a/python-alembic.spec b/python-alembic.spec index b00f528..975cdfe 100644 --- a/python-alembic.spec +++ b/python-alembic.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-alembic -Version: 1.0.11 +Version: 1.1.0 Release: 0 Summary: A database migration tool for SQLAlchemy License: MIT @@ -27,7 +27,7 @@ URL: https://github.com/sqlalchemy/alembic Source0: https://files.pythonhosted.org/packages/source/a/alembic/alembic-%{version}.tar.gz Source1: python-alembic-rpmlintrc BuildRequires: %{python_module Mako} -BuildRequires: %{python_module SQLAlchemy >= 0.9.0} +BuildRequires: %{python_module SQLAlchemy >= 1.1.0} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil} @@ -36,7 +36,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Mako -Requires: python-SQLAlchemy >= 0.9.0 +Requires: python-SQLAlchemy >= 1.1.0 Requires: python-python-dateutil Requires: python-python-editor >= 0.3 Requires(post): update-alternatives