Accepting request 780870 from devel:languages:python:pytest
- Skip tests that fail with pytest 5.x series OBS-URL: https://build.opensuse.org/request/show/780870 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-twisted?expand=0&rev=2
This commit is contained in:
parent
1811540c1f
commit
9474727ef6
29
LICENSE
29
LICENSE
@ -1,29 +0,0 @@
|
|||||||
BSD 3-Clause License
|
|
||||||
|
|
||||||
Copyright (c) 2012, Ralf Schmitt
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice, this
|
|
||||||
list of conditions and the following disclaimer.
|
|
||||||
|
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer in the documentation
|
|
||||||
and/or other materials provided with the distribution.
|
|
||||||
|
|
||||||
* Neither the name of the copyright holder nor the names of its
|
|
||||||
contributors may be used to endorse or promote products derived from
|
|
||||||
this software without specific prior written permission.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
||||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
||||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
||||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
||||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
||||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bb9af117c5c6063d9ef20ffdf2fa297caaf57de5a687e4d3607db7b0a6f74fea
|
|
||||||
size 15996
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 2 09:30:14 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Skip tests that fail with pytest 5.x series
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 14 14:52:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Thu Nov 14 14:52:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-twisted
|
# spec file for package python-pytest-twisted
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -24,9 +24,7 @@ Summary: Pytest Plugin for Twisted
|
|||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/pytest-dev/pytest-twisted
|
URL: https://github.com/pytest-dev/pytest-twisted
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-twisted/pytest-twisted-%{version}.zip
|
Source: https://github.com/pytest-dev/pytest-twisted/archive/v%{version}.tar.gz
|
||||||
# https://github.com/pytest-dev/pytest-twisted/pull/72
|
|
||||||
Source99: https://raw.githubusercontent.com/pytest-dev/pytest-twisted/master/LICENSE
|
|
||||||
BuildRequires: %{python_module Twisted}
|
BuildRequires: %{python_module Twisted}
|
||||||
BuildRequires: %{python_module decorator}
|
BuildRequires: %{python_module decorator}
|
||||||
BuildRequires: %{python_module greenlet}
|
BuildRequires: %{python_module greenlet}
|
||||||
@ -49,7 +47,6 @@ objects and pytest will wait for their completion with this plugin.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pytest-twisted-%{version}
|
%setup -q -n pytest-twisted-%{version}
|
||||||
cp %{SOURCE99} .
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -59,7 +56,10 @@ cp %{SOURCE99} .
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
|
# test_inline_callbacks_in_pytest_deprecation - breaks with the new pytest 5.x series
|
||||||
|
# test_blockon_in_pytest_deprecation - breaks with the new pytest 5.x series
|
||||||
|
%pytest -k 'not test_blockon_in_pytest_deprecation and not test_inline_callbacks_in_pytest_deprecation'
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
3
v1.12.tar.gz
Normal file
3
v1.12.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ab6388569c3fd4a601a94ad5f331c926775383667ba8db645de2fbaea7e9bd89
|
||||||
|
size 10257
|
Loading…
x
Reference in New Issue
Block a user