Accepting request 718149 from devel:languages:python:pytest

- Update to 1.6.1:
  * Internal change to avoid using deprecated funcargs name in pytest 5+.
- Obsoletes pytest4.patch

- Add patch to play with new pytest rather than restricting:
  * pytest4.patch

- use pytest4 to run testsuite, pytest-5 for testsuite isn't supported

OBS-URL: https://build.opensuse.org/request/show/718149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-execnet?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2019-07-30 11:05:58 +00:00 committed by Git OBS Bridge
commit c0877752fb
4 changed files with 25 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:752a3786f17416d491f833a29217dda3ea4a471fc5269c492eebcee8cc4772d3
size 169744

3
execnet-1.6.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dfd10a5663f94d1235e6fbee86bc53e2f89b6f15e031e7e6d9e4bb345bcd7e52
size 165813

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Jul 24 08:57:00 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.6.1:
* Internal change to avoid using deprecated funcargs name in pytest 5+.
- Obsoletes pytest4.patch
-------------------------------------------------------------------
Fri Jul 19 09:14:51 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Add patch to play with new pytest rather than restricting:
* pytest4.patch
-------------------------------------------------------------------
Thu Jul 18 08:47:00 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- use pytest4 to run testsuite, pytest-5 for testsuite isn't supported
-------------------------------------------------------------------
Mon Apr 1 08:31:46 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-execnet
Version: 1.6.0
Version: 1.6.1
Release: 0
Summary: Rapid multi-Python deployment
License: MIT
@ -26,11 +26,11 @@ Group: Development/Libraries/Python
URL: https://github.com/pytest-dev/execnet
Source0: https://files.pythonhosted.org/packages/source/e/execnet/execnet-%{version}.tar.gz
BuildRequires: %{python_module apipkg}
BuildRequires: %{python_module base}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: procps
BuildRequires: python-rpm-macros
Requires: python-apipkg
BuildArch: noarch
@ -58,10 +58,10 @@ sed -i "1d" execnet/script/shell.py execnet/script/socketserver.py
%install
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=build/lib py.test-%{$python_version} -r s -k"-test_gateway" testing
%pytest -r s -k"not test_gateway" testing
%files %{python_files}
%license LICENSE