diff --git a/alembic-1.0.7.tar.gz b/alembic-1.0.7.tar.gz deleted file mode 100644 index 1f75567..0000000 --- a/alembic-1.0.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:16505782b229007ae905ef9e0ae6e880fddafa406f086ac7d442c1aaf712f8c2 -size 1029941 diff --git a/alembic-1.0.8.tar.gz b/alembic-1.0.8.tar.gz new file mode 100644 index 0000000..5021868 --- /dev/null +++ b/alembic-1.0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:505d41e01dc0c9e6d85c116d0d35dbb0a833dcb490bf483b75abeb06648864e8 +size 1030713 diff --git a/python-alembic.changes b/python-alembic.changes index fb593a3..23213f9 100644 --- a/python-alembic.changes +++ b/python-alembic.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Mar 6 11:27:34 UTC 2019 - Tomáš Chvátal + +- Update to 1.0.8: + * Fixed issue where server default comparison on the PostgreSQL dialect would + fail for a blank string on Python 3.7 only, due to a change in regular + expression behavior in Python 3.7. + * Removed use of deprecated ``force`` parameter for SQLAlchemy quoting + functions as this parameter will be removed in a future release. + Pull request courtesy Parth Shandilya(ParthS007). + ------------------------------------------------------------------- Sat Jan 26 17:40:42 UTC 2019 - Arun Persaud diff --git a/python-alembic.spec b/python-alembic.spec index b3438e3..090d1e9 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.7 +Version: 1.0.8 Release: 0 Summary: A database migration tool for SQLAlchemy License: MIT @@ -26,12 +26,10 @@ Group: Development/Languages/Python URL: https://github.com/sqlalchemy/alembic Source0: https://files.pythonhosted.org/packages/source/a/alembic/alembic-%{version}.tar.gz Source1: python-alembic-rpmlintrc -# Test requirements: BuildRequires: %{python_module Mako} BuildRequires: %{python_module SQLAlchemy >= 0.9.0} BuildRequires: %{python_module mock} -BuildRequires: %{python_module nose >= 0.11} -BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module python-editor >= 0.3} BuildRequires: %{python_module setuptools} @@ -59,38 +57,16 @@ offers the following functionality: "downgrade" similarly, doing the same steps in reverse. * Allows the scripts to execute in some sequential manner. -%package -n python-alembic-doc -Summary: Documentation for %{name} -Group: Documentation/Other -Provides: %{python_module alembic-doc = %{version}} - -%description -n python-alembic-doc -Alembic is a new database migrations tool, written by the author -of SQLAlchemy . A migrations tool -offers the following functionality: - -* Can emit ALTER statements to a database in order to change - the structure of tables and other constructs -* Provides a system whereby "migration scripts" may be constructed; - each script indicates a particular series of steps that can "upgrade" a - target database to a new version, and optionally a series of steps that can - "downgrade" similarly, doing the same steps in reverse. -* Allows the scripts to execute in some sequential manner. - -This package contains the documentation. - %prep %setup -q -n alembic-%{version} -mv docs html && rm -rf html/build -sed -i -e '1d' alembic/testing/runner.py %build %python_build %install %python_install -%python_clone -a %{buildroot}%{_bindir}/alembic %python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_clone -a %{buildroot}%{_bindir}/alembic %check %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} @@ -107,8 +83,4 @@ sed -i -e '1d' alembic/testing/runner.py %python_alternative %{_bindir}/alembic %{python_sitelib}/alembic* -%files -n python-alembic-doc -%license LICENSE -%doc html - %changelog