Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2019-09-23 12:03:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest"

Mon Sep 23 12:03:11 2019 rev:48 rq:729497 version:5.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes      
2019-07-30 13:01:55.346432213 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.7948/python-pytest.changes    
2019-09-23 12:03:17.189946224 +0200
@@ -1,0 +2,53 @@
+Mon Sep  9 14:11:58 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 5.1.2:
+  * #2270: Fixed self reference in function-scoped fixtures defined plugin 
classes: previously self would be a reference to a test class, not the plugin 
class.
+  * #570: Fixed long standing issue where fixture scope was not respected when 
indirect fixtures were used during parametrization.
+  * #5782: Fix decoding error when printing an error response from --pastebin.
+  * #5786: Chained exceptions in test and collection reports are now correctly 
serialized, allowing plugins like pytest-xdist to display them properly.
+
+-------------------------------------------------------------------
+Fri Aug 23 12:58:40 UTC 2019 - Ondřej Súkup <[email protected]>
+
+- Update to 5.1.1
+ * Removed:
+   + Request.getfuncargvalue: use Request.getfixturevalue instead.
+   + pytest.raises and pytest.warns no longer support strings as the second 
argument.
+   + message parameter of pytest.raises.
+   + pytest.raises, pytest.warns and ParameterSet.param now use native 
keyword-only
+     syntax. This might change the exception message from previous versions, 
but
+     they still raise TypeError on unknown keyword arguments as before.
+   + pytest.config global variable.
+   + tmpdir_factory.ensuretemp method.
+   + pytest_logwarning hook.
+   + RemovedInPytest4Warning warning type.
+   + request is now a reserved name for fixtures.
+   + Removed unused support code for unittest2.
+   + pytest.fail, pytest.xfail and pytest.skip no longer support bytes
+     for the message argument.
+ * New Config.invocation_args attribute containing the unchanged arguments 
passed to pytest.main().
+ * New NUMBER option for doctests to ignore irrelevant differences in 
floating-point numbers
+ * JUnit XML now includes a timestamp and hostname in the testsuite tag.
+ * Fix RuntimeError/StopIteration when trying to collect package with 
“__init__.py” only.
+ * Warnings issued during pytest_configure are explicitly not treated as 
errors,
+    even if configured as such, because it otherwise completely breaks pytest.
+ * The XML file produced by --junitxml now correctly contain a <testsuites> 
root element.
+ * Fixed using multiple short options together in the command-line (for 
example -vs) in Python 3.8+.
+ * Fix issue where tmp_path and tmpdir would not remove directories containing
+    files marked as read-only, which could lead to pytest crashing when 
executed
+    a second time with the --basetemp option.
+ * Replace importlib_metadata backport with importlib.metadata from the 
standard
+    library on Python 3.8+.
+ * Improve type checking for some exception-raising functions (pytest.xfail,
+    pytest.skip, etc) so they provide better error messages when users meant
+    to use marks (for example @pytest.xfail instead of @pytest.mark.xfail).
+ * Fixed internal error when test functions were patched with objects that 
cannot
+    be compared for truth values against others, like numpy arrays.
+ * pytest.exit is now correctly handled in unittest cases. This makes unittest
+    cases handle quit from pytest’s pdb correctly.
+ * Improved output when parsing an ini configuration file fails.
+ * Fix collection of staticmethod objects defined with functools.partial.
+ * Skip async generator test functions, and update the warning message to refer
+    to async def functions.
+
+-------------------------------------------------------------------

Old:
----
  pytest-5.0.1.tar.gz

New:
----
  pytest-5.1.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pytest.spec ++++++
--- /var/tmp/diff_new_pack.EJuCHx/_old  2019-09-23 12:03:18.025946087 +0200
+++ /var/tmp/diff_new_pack.EJuCHx/_new  2019-09-23 12:03:18.029946086 +0200
@@ -27,7 +27,7 @@
 %endif
 %define skip_python2 1
 Name:           python-pytest%{psuffix}
-Version:        5.0.1
+Version:        5.1.2
 Release:        0
 Summary:        Python testing tool with autodiscovery and detailed asserts
 License:        MIT
@@ -58,6 +58,7 @@
 BuildRequires:  %{python_module pygments-pytest}
 BuildRequires:  %{python_module pytest >= %{version}}
 BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  %{python_module xmlschema}
 %endif
 %if %{python3_version_nodots} < 36
 Requires:       python-pathlib2 >= 2.2.0

++++++ pytest-5.0.1.tar.gz -> pytest-5.1.2.tar.gz ++++++
++++ 13365 lines of diff (skipped)


Reply via email to