#5 Enable tests as python-vine is now packaged
Closed 2 years ago by frantisekz. Opened 2 years ago by frantisekz.
rpms/ frantisekz/python-kombu enable_tests  into  master

file modified
+11 -4
@@ -14,7 +14,7 @@ 

  

  Name:           python-%{srcname}

  Version:        4.6.6

- Release:        4%{?dist}

+ Release:        5%{?dist}

  Epoch:          1

  Summary:        An AMQP Messaging Framework for Python

  
@@ -103,6 +103,8 @@ 

  BuildRequires:  python3-vine

  BuildRequires:  python3-case

  BuildRequires:  python3-pytz

+ BuildRequires:  python3-sqlalchemy

+ BuildRequires:  python3-pytest

  %endif

  %{?python_provide:%python_provide python3-%{srcname}}

  
@@ -129,8 +131,10 @@ 

  %{?with_python2:%py2_install}

  

  %check

- # test requires python-vine, which is not packaged yet

- # py.test -xv --cov=kombu --cov-report=xml --no-cov-on-fail

+ %if %{with tests}

+ # test_driver_version is failing

+ py.test-3 -k "not test_driver_version"

+ %endif

  

  %if %{with python2}

  %files -n python2-%{srcname}
@@ -149,6 +153,9 @@ 

  %endif

  

  %changelog

+ * Mon Jun 01 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1:4.6.6-5

+ - Enable testsuite as python-vine is now packaged

+ 

  * Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 1:4.6.6-4

  - Rebuilt for Python 3.9

  
@@ -350,7 +357,7 @@ 

  - Update to 3.0.8 (rhbz#1037549)

  

  * Fri Nov 22 2013 Matthias Runge <mrunge@redhat.com> - 3.0.6-1

- - Update to 3.0.6 and enable tests for py3 as well 

+ - Update to 3.0.6 and enable tests for py3 as well

  

  * Sun Nov 17 2013 Fabian Affolter <mail@fabian-affolter.ch> - 3.0.5-1

  - Updated to latest upstream version 3.0.5 (rhbz#1024916)

no initial comment

Pull-Request has been closed by frantisekz

2 years ago
Metadata