forked from pool/python-pytest-trio
Accepting request 841084 from home:jayvdb:py-submit
- Add missing runtime dependency on contextvars - Deactivate low value hypothesis generated tests - Remove use of pytest-cov in %check - Remove tests from runtime package OBS-URL: https://build.opensuse.org/request/show/841084 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-trio?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
026d3c9ca6
commit
65b39d874a
@@ -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>
|
Tue Aug 25 11:18:03 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-async_generator >= 1.9
|
Requires: python-async_generator >= 1.9
|
||||||
|
Requires: python-contextvars >= 2.1
|
||||||
Requires: python-outcome
|
Requires: python-outcome
|
||||||
Requires: python-pytest >= 3.6
|
Requires: python-pytest >= 3.6
|
||||||
Requires: python-trio >= 0.15.0
|
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 contextvars >= 2.1}
|
||||||
BuildRequires: %{python_module hypothesis >= 3.64}
|
BuildRequires: %{python_module hypothesis >= 3.64}
|
||||||
BuildRequires: %{python_module outcome}
|
BuildRequires: %{python_module outcome}
|
||||||
BuildRequires: %{python_module pytest-cov}
|
|
||||||
# we really need newer pytest in tests than is required by the package
|
# we really need newer pytest in tests than is required by the package
|
||||||
BuildRequires: %{python_module pytest >= 6.0.0}
|
BuildRequires: %{python_module pytest >= 6.0.0}
|
||||||
BuildRequires: %{python_module trio >= 0.15.0}
|
BuildRequires: %{python_module trio >= 0.15.0}
|
||||||
@@ -47,18 +47,25 @@ BuildRequires: %{python_module trio >= 0.15.0}
|
|||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%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
|
%prep
|
||||||
%setup -q -n pytest-trio-%{version}
|
%setup -q -n pytest-trio-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
|
rm pytest.ini
|
||||||
|
rm pytest_trio/_tests/test_hypothesis_interaction.py
|
||||||
|
mv pytest_trio/_tests/ tests
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%{python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
|
||||||
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%pytest
|
||||||
|
|||||||
Reference in New Issue
Block a user