Hello community, here is the log from the commit of package python-pytest-trio for openSUSE:Factory checked in at 2020-06-10 00:49:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest-trio (Old) and /work/SRC/openSUSE:Factory/.python-pytest-trio.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-trio" Wed Jun 10 00:49:08 2020 rev:3 rq:812803 version:0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest-trio/python-pytest-trio.changes 2019-09-18 13:10:57.592695957 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-trio.new.3606/python-pytest-trio.changes 2020-06-10 00:49:10.207063329 +0200 @@ -1,0 +2,9 @@ +Tue Jun 9 07:31:17 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Update to 0.6.0: + * Incompatible change: if you use yield inside a Trio fixture, + and the yield gets cancelled (for example, due to a background + task crashing), then the yield will now raise :exc:`trio.Cancelled`. + * Updated for compatibility with Trio v0.15.0. + +------------------------------------------------------------------- Old: ---- pytest-trio-0.5.2.tar.gz New: ---- v0.6.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-trio.spec ++++++ --- /var/tmp/diff_new_pack.MuXaeB/_old 2020-06-10 00:49:12.091068258 +0200 +++ /var/tmp/diff_new_pack.MuXaeB/_new 2020-06-10 00:49:12.095068269 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pytest-trio # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,26 +19,28 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pytest-trio -Version: 0.5.2 +Version: 0.6.0 Release: 0 Summary: Pytest plugin for trio License: MIT OR Apache-2.0 -Group: Development/Languages/Python URL: https://github.com/python-trio/pytest-trio -Source: file:///home/herman/OBS/home:Simmphonie:python/python-pytest-trio/pytest-trio-%{version}.tar.gz#/pytest-trio-%{version}.tar.gz +Source: https://github.com/python-trio/pytest-trio/archive/v%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-async_generator >= 1.9 +Requires: python-outcome Requires: python-pytest >= 3.6 -Requires: python-trio >= 0.11 +Requires: python-trio >= 0.15.0 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module async_generator >= 1.9} BuildRequires: %{python_module contextvars >= 2.1} -BuildRequires: %{python_module hypothesis} +BuildRequires: %{python_module hypothesis >= 3.64} +BuildRequires: %{python_module outcome} BuildRequires: %{python_module pytest >= 3.6} -BuildRequires: %{python_module trio >= 0.11} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module trio >= 0.15.0} # /SECTION %python_subpackages @@ -48,10 +50,6 @@ %prep %setup -q -n pytest-trio-%{version} -# Temporary hack on a temporary hack -# https://github.com/pytest-dev/pytest/issues/4039 -sed -i /RemovedInPytest4Warning/d pytest_trio/_tests/conftest.py - %build %python_build @@ -60,7 +58,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest %files %{python_files} %doc README.rst
