#4 Do not run coverage tests
Closed 2 years ago by fschwarz. Opened 2 years ago by orion.
rpms/ orion/python-responses nocov  into  rawhide

file modified
+6 -4
@@ -3,7 +3,7 @@ 

  

  Name:           python-%{pypi_name}

  Version:        0.16.0

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        Python library to mock out calls with Python requests

  License:        ASL 2.0

  URL:            https://github.com/getsentry/responses
@@ -16,9 +16,6 @@ 

  BuildRequires:  python%{python3_pkgversion}-six

  BuildRequires:  python%{python3_pkgversion}-setuptools

  BuildRequires:  python%{python3_pkgversion}-pytest

- BuildRequires:  python%{python3_pkgversion}-coverage

- BuildRequires:  python%{python3_pkgversion}-pytest-cov

- BuildRequires:  python%{python3_pkgversion}-mock

  

  %description

  A utility library for mocking out the requests Python library.
@@ -36,6 +33,8 @@ 

  

  %prep

  %setup -q -n %{pypi_name}-%{version}

+ # Do not run coverage tests

+ sed -i -e '/cov/d' setup.py

  

  %build

  %py3_build
@@ -54,6 +53,9 @@ 

  %{python3_sitelib}/%{pypi_name}/

  

  %changelog

+ * Tue Jan 11 2022 Orion Poplawski <orion@nwra.com> - 0.16.0-2

+ - Do not run coverage tests

+ 

  * Wed Nov 17 2021 Felix Schwarz <fschwarz@fedoraproject.org> - 0.16.0-1

  - Update to 0.16.0

  

This should also allow it to be built for epel9. Although since python-resonses is a RHEL9 buildroot-only package (https://kojihub.stream.centos.org/koji/packageinfo?packageID=3152) it would be best to stick with 0.10.15 there.

Although since python-resonses is a RHEL9 buildroot-only package

It isn't. python-resonses is not in RHEL9. The Koji link is a very old build of the package that has since been removed.

Sorry for taking so long to respond. I completely forgot I became a co-maintainer for responses some time ago. I "merged" your patch manually.

Pull-Request has been closed by fschwarz

2 years ago
Metadata