Hello community,
here is the log from the commit of package python-pytest for openSUSE:Factory checked in at 2018-09-26 14:53:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest (Old)
and /work/SRC/openSUSE:Factory/.python-pytest.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest"
Wed Sep 26 14:53:57 2018 rev:41 rq:637656 version:3.8.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes 2018-09-10 12:36:13.830258286 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 2018-09-26 14:54:02.139050632 +0200
@@ -1,0 +2,63 @@
+Mon Sep 24 10:43:29 UTC 2018 - Ondřej Súkup
+
+- update to 3.8.1
+- drop remove_mock.patch
+ * .pytest_cache directory is now automatically ignored by Git
+ * Fix the following error during collection of tests inside packages:
+ 'TypeError: object of type 'Package' has no len()'
+ * Fix bug where indirect parametrization would consider the scope of all
+ fixtures used by the test function to determine the parametrization scope,
+ and not only the scope of the fixtures being parametrized.
+ * Fix crash of the assertion rewriter if a test changed the current working
+ directory without restoring it afterwards.
+ * Fix issue that prevented some caplog properties (for example record_tuples)
+ from being available when entering the debugger with --pdb.
+ * Fix UnicodeDecodeError in python2.x when a class returns a non-ascii binary
+ __repr__ in an assertion which also contains non-ascii text.
+
+-------------------------------------------------------------------
+Mon Sep 17 09:39:03 UTC 2018 - Ondřej Súkup
+
+- update to 3.8.0
+ * Config.warn has been deprecated, it should be replaced by calls
+ to the standard warnings.warn.
+ * Node.warn now supports two signatures:
+ + node.warn(PytestWarning("some message")): is now the recommended way
+ to call this function. The warning instance must be a PytestWarning
+ or subclass instance.
+ + node.warn("CI", "some message"): this code/message form is now deprecated
+ and should be converted to the warning instance form above.
+ * RemovedInPytest4Warning and PytestExperimentalApiWarning are now part
+ of the public API and should be accessed using pytest.RemovedInPytest4Warning
+ and pytest.PytestExperimentalApiWarning.
+ * @pytest.mark.filterwarnings second parameter is no longer regex-escaped,
+ making it possible to actually use regular expressions to check the warning message.
+ + Note: regex-escaping the match string was an implementation oversight
+ that might break test suites which depend on the old behavior.
+ * Internal pytest warnings are now issued using the standard warnings module,
+ making it possible to use the standard warnings filters to manage those
+ warnings. This introduces PytestWarning, PytestDeprecationWarning
+ and RemovedInPytest4Warning warning types as part of the public API.
+ * DeprecationWarning and PendingDeprecationWarning are now shown by default
+ if no other warning filter is configured. This makes pytest more compliant
+ with PEP-0506. See the docs for more info.
+ * Warnings are now captured and displayed during test collection.
+ * PYTEST_DISABLE_PLUGIN_AUTOLOAD environment variable disables
+ plugin auto-loading when set.
+ * Added the count option to console_output_style to enable displaying
+ the progress as a count instead of a percentage.
+ * Added support for ‘xfailed’ and ‘xpassed’ outcomes
+ to the pytester.RunResult.assert_outcomes signature.
+
+-------------------------------------------------------------------
+Mon Sep 10 22:43:26 CEST 2018 - Matěj Cepl
+
+- Add remove_mock.patch which makes use of mock from PyPI
+ optional (all python 3 versions have unittest.mock these days)
+
+-------------------------------------------------------------------
+Tue Sep 4 16:12:26 UTC 2018 - Matěj Cepl
+
+- Clean up SPEC file.
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes 2018-09-10 12:36:14.398257445 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 2018-09-26 14:54:02.431050184 +0200
@@ -1,0 +2,58 @@
+Mon Sep 24 10:43:29 UTC 2018 - Ondřej Súkup
+
+- update to 3.8.1
+- drop remove_mock.patch
+ * .pytest_cache directory is now automatically ignored by Git
+ * Fix the following error during collection of tests inside packages:
+ 'TypeError: object of type 'Package' has no len()'
+ * Fix bug where indirect parametrization would consider the scope of all
+ fixtures used by the test function to determine the parametrization scope,
+ and not only the scope of the fixtures being parametrized.
+ * Fix crash of the assertion rewriter if a test changed the current working
+ directory without restoring it afterwards.
+ * Fix issue that prevented some caplog properties (for example record_tuples)
+ from being available when entering the debugger with --pdb.
+ * Fix UnicodeDecodeError in python2.x when a class returns a non-ascii binary
+ __repr__ in an assertion which also contains non-ascii text.
+
+-------------------------------------------------------------------
+Mon Sep 17 09:39:03 UTC 2018 - Ondřej Súkup
+
+- update to 3.8.0
+ * Config.warn has been deprecated, it should be replaced by calls
+ to the standard warnings.warn.
+ * Node.warn now supports two signatures:
+ + node.warn(PytestWarning("some message")): is now the recommended way
+ to call this function. The warning instance must be a PytestWarning
+ or subclass instance.
+ + node.warn("CI", "some message"): this code/message form is now deprecated
+ and should be converted to the warning instance form above.
+ * RemovedInPytest4Warning and PytestExperimentalApiWarning are now part
+ of the public API and should be accessed using pytest.RemovedInPytest4Warning
+ and pytest.PytestExperimentalApiWarning.
+ * @pytest.mark.filterwarnings second parameter is no longer regex-escaped,
+ making it possible to actually use regular expressions to check the warning message.
+ + Note: regex-escaping the match string was an implementation oversight
+ that might break test suites which depend on the old behavior.
+ * Internal pytest warnings are now issued using the standard warnings module,
+ making it possible to use the standard warnings filters to manage those
+ warnings. This introduces PytestWarning, PytestDeprecationWarning
+ and RemovedInPytest4Warning warning types as part of the public API.
+ * DeprecationWarning and PendingDeprecationWarning are now shown by default
+ if no other warning filter is configured. This makes pytest more compliant
+ with PEP-0506. See the docs for more info.
+ * Warnings are now captured and displayed during test collection.
+ * PYTEST_DISABLE_PLUGIN_AUTOLOAD environment variable disables
+ plugin auto-loading when set.
+ * Added the count option to console_output_style to enable displaying
+ the progress as a count instead of a percentage.
+ * Added support for ‘xfailed’ and ‘xpassed’ outcomes
+ to the pytester.RunResult.assert_outcomes signature.
+
+-------------------------------------------------------------------
+Tue Sep 4 16:10:55 UTC 2018 - Matěj Cepl
+
+- Remove unnecessary patch 0001-Use-unittest.mock-if-is-only-aviable.patch
+ (it has been already included in 3.7.4)
+
+-------------------------------------------------------------------
Old:
----
pytest-3.7.4.tar.gz
New:
----
pytest-3.8.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-doc.spec ++++++
--- /var/tmp/diff_new_pack.jMaSqe/_old 2018-09-26 14:54:03.091049172 +0200
+++ /var/tmp/diff_new_pack.jMaSqe/_new 2018-09-26 14:54:03.091049172 +0200
@@ -12,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-doc
-Version: 3.7.4
+Version: 3.8.1
Release: 0
Summary: Documentation for python-pytest, a testing tool with autodiscovery
License: MIT
++++++ python-pytest.spec ++++++
--- /var/tmp/diff_new_pack.jMaSqe/_old 2018-09-26 14:54:03.111049141 +0200
+++ /var/tmp/diff_new_pack.jMaSqe/_new 2018-09-26 14:54:03.119049129 +0200
@@ -12,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest
-Version: 3.7.4
+Version: 3.8.1
Release: 0
Summary: Python testing tool with autodiscovery and detailed asserts
License: MIT
@@ -41,10 +41,9 @@
%ifpython2
Requires: python-funcsigs
%endif
-%if "%python_flavor" == "python2" || %python3_version_nodots < 36
+%if "%{python_flavor}" == "python2" || %{python3_version_nodots} < 36
Requires: python-pathlib2 >= 2.2.0
%endif
-
%python_subpackages
%description
++++++ pytest-3.7.4.tar.gz -> pytest-3.8.1.tar.gz ++++++
++++ 5561 lines of diff (skipped)