#11 Remove optional test dependencies for Python 2
Merged 2 months ago by churchyard. Opened 2 months ago by pviktori.
rpms/ pviktori/pytest break-optional-test-dep  into  master

file modified
+4 -7

@@ -3,7 +3,7 @@ 

  

  Name:           pytest

  Version:        4.4.1

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        Simple powerful testing with Python

  License:        MIT

  URL:            https://pytest.org

@@ -58,12 +58,6 @@ 

  BuildRequires:  python2-pytest-timeout

  %endif

  

- %if %{with optional_tests}

- BuildRequires:  python2-decorator

- BuildRequires:  python2-jinja2

- BuildRequires:  python2-nose

- %endif

- 

  %{?python_provide:%python_provide python2-%{name}}

  # the python2 package was named pytest up to 2.8.7-2

  Provides:       %{name} = %{version}-%{release}

@@ -203,6 +197,9 @@ 

  %{python3_sitelib}/__pycache__/pytest.*

  

  %changelog

+ * Fri Jun 21 2019 Petr Viktorin <pviktori@redhat.com> - 4.4.1-2

+ - Remove optional test dependencies for Python 2 entirely

+ 

  * Tue Apr 16 2019 Thomas Moschny <thomas.moschny@gmx.de> - 4.4.1-1

  - Update to 4.4.1 (see PR#9).

  - Remove test dependencies on python2-hypothesis and python2-twisted (see PR#10).

As Python 2 is being removed from Fedora, we'd like to remove dependencies for tests of non-essential functionality.
It's especially important for jinja2, which currently forms a build dependency loop with pytest.

Pull-Request has been merged by churchyard

2 months ago
Metadata