1
0

Accepting request 855629 from home:mcepl:branches:devel:tools:scm

- We don't need to break Python 2.7

OBS-URL: https://build.opensuse.org/request/show/855629
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-virtualenv?expand=0&rev=8
This commit is contained in:
2020-12-14 00:35:28 +00:00
committed by Git OBS Bridge
parent 1b1a2d9997
commit 359af771ed
4 changed files with 63 additions and 8 deletions

View File

@@ -38,6 +38,10 @@ BuildRequires: %{python_module pytest-shutil}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools-git}
BuildRequires: %{python_module setuptools}
%if 0%{?suse_version} <= 1500
BuildRequires: %{python_module mock}
BuildRequires: %{python_module virtualenv}
%endif
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-path.py
@@ -63,7 +67,8 @@ what's installed.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# Requires network access
%pytest -k 'not test_installed_packages'
%files %{python_files}
%doc CHANGES.md README.md