forked from pool/python-pytest-trio
Accepting request 841133 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/841133 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-trio?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 11 16:51:05 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Add missing runtime dependency on contextvars
|
||||
- Deactivate low value hypothesis generated tests
|
||||
- Remove use of pytest-cov in %check
|
||||
- Remove tests from runtime package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 25 11:18:03 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-async_generator >= 1.9
|
||||
Requires: python-contextvars >= 2.1
|
||||
Requires: python-outcome
|
||||
Requires: python-pytest >= 3.6
|
||||
Requires: python-trio >= 0.15.0
|
||||
@@ -39,7 +40,6 @@ BuildRequires: %{python_module async_generator >= 1.9}
|
||||
BuildRequires: %{python_module contextvars >= 2.1}
|
||||
BuildRequires: %{python_module hypothesis >= 3.64}
|
||||
BuildRequires: %{python_module outcome}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
# we really need newer pytest in tests than is required by the package
|
||||
BuildRequires: %{python_module pytest >= 6.0.0}
|
||||
BuildRequires: %{python_module trio >= 0.15.0}
|
||||
@@ -47,18 +47,25 @@ BuildRequires: %{python_module trio >= 0.15.0}
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This is a pytest plugin to help you test projects that use Trio, a friendly library for concurrency and async I/O in Python.
|
||||
This is a pytest plugin to help you test projects that use Trio,
|
||||
a friendly library for concurrency and async I/O in Python.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-trio-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
rm pytest.ini
|
||||
rm pytest_trio/_tests/test_hypothesis_interaction.py
|
||||
mv pytest_trio/_tests/ tests
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%{python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
|
||||
%fdupes %{buildroot}%{$python_sitelib}
|
||||
}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
Reference in New Issue
Block a user