Hello community, here is the log from the commit of package python-yappi for openSUSE:Factory checked in at 2020-03-18 12:45:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-yappi (Old) and /work/SRC/openSUSE:Factory/.python-yappi.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-yappi" Wed Mar 18 12:45:28 2020 rev:4 rq:786089 version:1.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-yappi/python-yappi.changes 2020-03-17 13:08:14.925711590 +0100 +++ /work/SRC/openSUSE:Factory/.python-yappi.new.3160/python-yappi.changes 2020-03-18 12:50:54.845157569 +0100 @@ -1,0 +2,6 @@ +Tue Mar 17 23:52:17 UTC 2020 - Hans-Peter Jansen <h...@urpla.net> + +- add more testing requirements +- disable a test, that relies on asyncio.run for py < 3.7 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-yappi.spec ++++++ --- /var/tmp/diff_new_pack.OOOfP5/_old 2020-03-18 12:50:56.613158625 +0100 +++ /var/tmp/diff_new_pack.OOOfP5/_new 2020-03-18 12:50:56.617158628 +0100 @@ -25,8 +25,10 @@ License: MIT URL: https://github.com/sumerc/yappi Source: https://files.pythonhosted.org/packages/source/y/yappi/yappi-%{version}.tar.gz +BuildRequires: %{python_module contextvars} BuildRequires: %{python_module devel} BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -52,7 +54,12 @@ export PYTHONPATH="tests/" export PATH="$PATH:%{buildroot}/%{_bindir}" # Skip two flaky tests -%pytest_arch -k 'not (test_basic_old_style or test_basic)' +skip_tests="not test_basic_old_style and not test_basic" +%if %{python3_version_nodots} < 37 + # this test relies on asyncio.run method + skip_tests="$skip_tests and not test_asyncio_context_vars" +%endif +%pytest_arch -k "$skip_tests" %files %{python_files} %doc README.md