Enable tests
This commit is contained in:
parent
6d5f2434bc
commit
7b4e8decb2
@ -6,7 +6,7 @@
|
||||
|
||||
Name: python-sqlalchemy
|
||||
Version: 1.1.4
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Modular and flexible ORM library for python
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -22,7 +22,7 @@ BuildRequires: pytest
|
||||
%if 0%{?with_python3}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
#BuildRequires: python3-pytest
|
||||
BuildRequires: python3-pytest
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -107,8 +107,8 @@ pytest2="py.test-$(%{__python2} -c 'from __future__ import print_function; impor
|
||||
PYTHONPATH=. "$pytest2" test
|
||||
|
||||
%if 0%{?with_python3}
|
||||
#pytest3="py.test-$(%{__python3} -c 'from __future__ import print_function; import sys; vi=sys.version_info; print("{0}.{1}".format(vi.major, vi.minor))')"
|
||||
#PYTHONPATH=. "$pytest3" test
|
||||
pytest3="py.test-$(%{__python3} -c 'from __future__ import print_function; import sys; vi=sys.version_info; print("{0}.{1}".format(vi.major, vi.minor))')"
|
||||
PYTHONPATH=. "$pytest3" test
|
||||
%endif
|
||||
|
||||
|
||||
@ -128,6 +128,9 @@ PYTHONPATH=. "$pytest2" test
|
||||
%endif # with_python3
|
||||
|
||||
%changelog
|
||||
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.1.4-3
|
||||
- Enable tests
|
||||
|
||||
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.1.4-2
|
||||
- Rebuild for Python 3.6
|
||||
- Disable python3 tests for now
|
||||
|
Loading…
Reference in New Issue
Block a user