forked from pool/python-alembic
- 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).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-alembic?expand=0&rev=84
This commit is contained in:
committed by
Git OBS Bridge
parent
cbb363f981
commit
f1a49570b4
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:16505782b229007ae905ef9e0ae6e880fddafa406f086ac7d442c1aaf712f8c2
|
||||
size 1029941
|
||||
3
alembic-1.0.8.tar.gz
Normal file
3
alembic-1.0.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:505d41e01dc0c9e6d85c116d0d35dbb0a833dcb490bf483b75abeb06648864e8
|
||||
size 1030713
|
||||
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 11:27:34 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- 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 <arun@gmx.de>
|
||||
|
||||
|
||||
@@ -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 <http://www.sqlalchemy.org>. 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
|
||||
|
||||
Reference in New Issue
Block a user