17
0

Accepting request 619105 from home:mimi_vx:branches:devel:languages:python

- add upstream fix_test_reflection.patch to fix tests with new sqlite

OBS-URL: https://build.opensuse.org/request/show/619105
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=113
This commit is contained in:
2018-06-26 07:48:41 +00:00
committed by Git OBS Bridge
parent 99f17ae0aa
commit 27c2b295e7
3 changed files with 54 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ License: MIT
Group: Development/Languages/Python
URL: http://www.sqlalchemy.org
Source: https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz
Patch0: fix_test_reflection.patch
BuildRequires: %{python_module devel}
# Test requirements:
BuildRequires: %{python_module mock}
@@ -69,6 +70,7 @@ reference for python-SQLAlchemy.
%prep
%setup -q -n SQLAlchemy-%{version}
%patch0 -p1
rm -rf doc/build # Remove unnecessary scripts for building documentation
sed -i 's/\r$//' examples/dynamic_dict/dynamic_dict.py