Hello community, here is the log from the commit of package python-pytest for openSUSE:Factory checked in at 2017-12-15 14:01:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest (Old) and /work/SRC/openSUSE:Factory/.python-pytest.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest" Fri Dec 15 14:01:40 2017 rev:29 rq:556675 version:3.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes 2017-11-19 11:06:06.542943454 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 2017-12-15 14:01:43.475219763 +0100 @@ -1,0 +2,144 @@ +Wed Dec 13 09:25:43 UTC 2017 - [email protected] + +- Adjust summaries and description of python-pytest to focus on + the documentation part. + +------------------------------------------------------------------- +Wed Dec 13 09:12:40 UTC 2017 - [email protected] + +- Rename BuildRequires python2-funcsigs to python-funcsigs + +------------------------------------------------------------------- +Tue Dec 12 16:45:15 UTC 2017 - [email protected] + +- Cleanup BuildRequires + +------------------------------------------------------------------- +Wed Dec 6 02:55:08 UTC 2017 - [email protected] + +- update to version 3.3.1: + * Bug Fixes + + Fix issue about -p no:<plugin> having no effect. (#2920) + + Fix regression with warnings that contained non-strings in their + arguments in Python 2. (#2956) + + Always escape null bytes when setting + PYTEST_CURRENT_TEST. (#2957) + + Fix ZeroDivisionError when using the testmon plugin when no + tests were actually collected. (#2971) + + Bring back TerminalReporter.writer as an alias to + TerminalReporter._tw. This alias was removed by accident in the + 3.3.0 release. (#2984) + + The pytest-capturelog plugin is now also blacklisted, avoiding + errors when running pytest with it still installed. (#3004) + * Improved Documentation + + Fix broken link to plugin pytest-localserver. (#2963) + * Trivial/Internal Changes + + Update github “bugs” link in CONTRIBUTING.rst (#2949) + +------------------------------------------------------------------- +Tue Nov 28 18:58:11 UTC 2017 - [email protected] + +- specfile: + * add requirement for attr and pluggy + * add requirement for funcsigs for python2 only + +- update to version 3.3.0: + * Deprecations and Removals + + Pytest no longer supports Python 2.6 and 3.3. Those Python + versions are EOL for some time now and incur maintenance and + compatibility costs on the pytest core team, and following up + with the rest of the community we decided that they will no + longer be supported starting on this version. Users which still + require those versions should pin pytest to <3.3. (#2812) + + Remove internal _preloadplugins() function. This removal is part + of the pytest_namespace() hook deprecation. (#2636) + + Internally change CallSpec2 to have a list of marks instead of a + broken mapping of keywords. This removes the keywords attribute + of the internal CallSpec2 class. (#2672) + + Remove ParameterSet.deprecated_arg_dict - its not a public api + and the lack of the underscore was a naming error. (#2675) + + Remove the internal multi-typed attribute Node._evalskip and + replace it with the boolean Node._skipped_by_mark. (#2767) + * Features + + pytest_fixture_post_finalizer hook can now receive a request + argument. (#2124) + + Replace the old introspection code in compat.py that determines + the available arguments of fixtures with inspect.signature on + Python 3 and funcsigs.signature on Python 2. This should respect + __signature__ declarations on functions. (#2267) + + Report tests with global pytestmark variable only once. (#2549) + + Now pytest displays the total progress percentage while running + tests. The previous output style can be set by configuring the + console_output_style setting to classic. (#2657) + + Match warns signature to raises by adding match keyword. (#2708) + + Pytest now captures and displays output from the standard + logging module. The user can control the logging level to be + captured by specifying options in pytest.ini, the command line + and also during individual tests using markers. Also, a caplog + fixture is available that enables users to test the captured log + during specific tests (similar to capsys for example). For more + information, please see the logging docs. This feature was + introduced by merging the popular pytest-catchlog plugin, thanks + to Thomas Hisch. Be advised that during the merging the backward + compatibility interface with the defunct pytest-capturelog has + been dropped. (#2794) + + Add allow_module_level kwarg to pytest.skip(), enabling to skip + the whole module. (#2808) + + Allow setting file_or_dir, -c, and -o in PYTEST_ADDOPTS. (#2824) + + Return stdout/stderr capture results as a namedtuple, so out and + err can be accessed by attribute. (#2879) + + Add capfdbinary, a version of capfd which returns bytes from + readouterr(). (#2923) + + Add capsysbinary a version of capsys which returns bytes from + readouterr(). (#2934) + + Implement feature to skip setup.py files when run with + --doctest-modules. (#502) + * Bug Fixes + + Resume output capturing after capsys/capfd.disabled() context + manager. (#1993) + + pytest_fixture_setup and pytest_fixture_post_finalizer hooks are + now called for all conftest.py files. (#2124) + + If an exception happens while loading a plugin, pytest no longer + hides the original traceback. In python2 it will show the + original traceback with a new message that explains in which + plugin. In python3 it will show 2 canonized exceptions, the + original exception while loading the plugin in addition to an + exception that PyTest throws about loading a plugin. (#2491) + + capsys and capfd can now be used by other fixtures. (#2709) + + Internal pytester plugin properly encodes bytes arguments to + utf-8. (#2738) + + testdir now uses use the same method used by tmpdir to create + its temporary directory. This changes the final structure of the + testdir directory slightly, but should not affect usage in + normal scenarios and avoids a number of potential + problems. (#2751) + + Pytest no longer complains about warnings with unicode messages + being non-ascii compatible even for ascii-compatible + messages. As a result of this, warnings with unicode messages + are converted first to an ascii representation for + safety. (#2809) + + Change return value of pytest command when --maxfail is reached + from 2 (interrupted) to 1 (failed). (#2845) + + Fix issue in assertion rewriting which could lead it to rewrite + modules which should not be rewritten. (#2939) + + Handle marks without description in pytest.ini. (#2942) + * Trivial/Internal Changes + + pytest now depends on attrs for internal structures to ease code + maintainability. (#2641) + + Refactored internal Python 2/3 compatibility code to use + six. (#2642) + + Stop vendoring pluggy - we’re missing out on its latest changes + for not much benefit (#2719) + + Internal refactor: simplify ascii string escaping by using the + backslashreplace error handler in newer Python 3 + versions. (#2734) + + Remove unnecessary mark evaluator in unittest plugin (#2767) + + Calls to Metafunc.addcall now emit a deprecation warning. This + function is scheduled to be removed in pytest-4.0. (#2876) + + Internal move of the parameterset extraction to a more + maintainable place. (#2877) + + Internal refactoring to simplify scope node lookup. (#2910) + + Configure pytest to prevent pip from installing pytest in + unsupported Python versions. (#2922) + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes 2017-11-19 11:06:06.638939954 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 2017-12-15 14:01:44.355177284 +0100 @@ -1,0 +2,133 @@ +Tue Dec 12 16:57:07 UTC 2017 - [email protected] + +- Cleanup BuildRequires + +------------------------------------------------------------------- +Wed Dec 6 02:55:08 UTC 2017 - [email protected] + +- update to version 3.3.1: + * Bug Fixes + + Fix issue about -p no:<plugin> having no effect. (#2920) + + Fix regression with warnings that contained non-strings in their + arguments in Python 2. (#2956) + + Always escape null bytes when setting + PYTEST_CURRENT_TEST. (#2957) + + Fix ZeroDivisionError when using the testmon plugin when no + tests were actually collected. (#2971) + + Bring back TerminalReporter.writer as an alias to + TerminalReporter._tw. This alias was removed by accident in the + 3.3.0 release. (#2984) + + The pytest-capturelog plugin is now also blacklisted, avoiding + errors when running pytest with it still installed. (#3004) + * Improved Documentation + + Fix broken link to plugin pytest-localserver. (#2963) + * Trivial/Internal Changes + + Update github “bugs” link in CONTRIBUTING.rst (#2949) + +------------------------------------------------------------------- +Tue Nov 28 18:58:11 UTC 2017 - [email protected] + +- specfile: + * add requirement for attr and pluggy + * add requirement for funcsigs for python2 only + +- update to version 3.3.0: + * Deprecations and Removals + + Pytest no longer supports Python 2.6 and 3.3. Those Python + versions are EOL for some time now and incur maintenance and + compatibility costs on the pytest core team, and following up + with the rest of the community we decided that they will no + longer be supported starting on this version. Users which still + require those versions should pin pytest to <3.3. (#2812) + + Remove internal _preloadplugins() function. This removal is part + of the pytest_namespace() hook deprecation. (#2636) + + Internally change CallSpec2 to have a list of marks instead of a + broken mapping of keywords. This removes the keywords attribute + of the internal CallSpec2 class. (#2672) + + Remove ParameterSet.deprecated_arg_dict - its not a public api + and the lack of the underscore was a naming error. (#2675) + + Remove the internal multi-typed attribute Node._evalskip and + replace it with the boolean Node._skipped_by_mark. (#2767) + * Features + + pytest_fixture_post_finalizer hook can now receive a request + argument. (#2124) + + Replace the old introspection code in compat.py that determines + the available arguments of fixtures with inspect.signature on + Python 3 and funcsigs.signature on Python 2. This should respect + __signature__ declarations on functions. (#2267) + + Report tests with global pytestmark variable only once. (#2549) + + Now pytest displays the total progress percentage while running + tests. The previous output style can be set by configuring the + console_output_style setting to classic. (#2657) + + Match warns signature to raises by adding match keyword. (#2708) + + Pytest now captures and displays output from the standard + logging module. The user can control the logging level to be + captured by specifying options in pytest.ini, the command line + and also during individual tests using markers. Also, a caplog + fixture is available that enables users to test the captured log + during specific tests (similar to capsys for example). For more + information, please see the logging docs. This feature was + introduced by merging the popular pytest-catchlog plugin, thanks + to Thomas Hisch. Be advised that during the merging the backward + compatibility interface with the defunct pytest-capturelog has + been dropped. (#2794) + + Add allow_module_level kwarg to pytest.skip(), enabling to skip + the whole module. (#2808) + + Allow setting file_or_dir, -c, and -o in PYTEST_ADDOPTS. (#2824) + + Return stdout/stderr capture results as a namedtuple, so out and + err can be accessed by attribute. (#2879) + + Add capfdbinary, a version of capfd which returns bytes from + readouterr(). (#2923) + + Add capsysbinary a version of capsys which returns bytes from + readouterr(). (#2934) + + Implement feature to skip setup.py files when run with + --doctest-modules. (#502) + * Bug Fixes + + Resume output capturing after capsys/capfd.disabled() context + manager. (#1993) + + pytest_fixture_setup and pytest_fixture_post_finalizer hooks are + now called for all conftest.py files. (#2124) + + If an exception happens while loading a plugin, pytest no longer + hides the original traceback. In python2 it will show the + original traceback with a new message that explains in which + plugin. In python3 it will show 2 canonized exceptions, the + original exception while loading the plugin in addition to an + exception that PyTest throws about loading a plugin. (#2491) + + capsys and capfd can now be used by other fixtures. (#2709) + + Internal pytester plugin properly encodes bytes arguments to + utf-8. (#2738) + + testdir now uses use the same method used by tmpdir to create + its temporary directory. This changes the final structure of the + testdir directory slightly, but should not affect usage in + normal scenarios and avoids a number of potential + problems. (#2751) + + Pytest no longer complains about warnings with unicode messages + being non-ascii compatible even for ascii-compatible + messages. As a result of this, warnings with unicode messages + are converted first to an ascii representation for + safety. (#2809) + + Change return value of pytest command when --maxfail is reached + from 2 (interrupted) to 1 (failed). (#2845) + + Fix issue in assertion rewriting which could lead it to rewrite + modules which should not be rewritten. (#2939) + + Handle marks without description in pytest.ini. (#2942) + * Trivial/Internal Changes + + pytest now depends on attrs for internal structures to ease code + maintainability. (#2641) + + Refactored internal Python 2/3 compatibility code to use + six. (#2642) + + Stop vendoring pluggy - we’re missing out on its latest changes + for not much benefit (#2719) + + Internal refactor: simplify ascii string escaping by using the + backslashreplace error handler in newer Python 3 + versions. (#2734) + + Remove unnecessary mark evaluator in unittest plugin (#2767) + + Calls to Metafunc.addcall now emit a deprecation warning. This + function is scheduled to be removed in pytest-4.0. (#2876) + + Internal move of the parameterset extraction to a more + maintainable place. (#2877) + + Internal refactoring to simplify scope node lookup. (#2910) + + Configure pytest to prevent pip from installing pytest in + unsupported Python versions. (#2922) + +------------------------------------------------------------------- Old: ---- pytest-3.2.5.tar.gz New: ---- pytest-3.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-doc.spec ++++++ --- /var/tmp/diff_new_pack.ZSjCXB/_old 2017-12-15 14:01:45.139139439 +0100 +++ /var/tmp/diff_new_pack.ZSjCXB/_new 2017-12-15 14:01:45.143139246 +0100 @@ -18,40 +18,29 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-doc -Version: 3.2.5 +Version: 3.3.1 Release: 0 -Summary: Simple powerful testing with Python +Summary: Documentation for python-pytest, a testing tool with autodiscovery License: MIT -Group: Development/Languages/Python +Group: Documentation/HTML Url: http://pytest.org Source: https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz -BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module attrs} BuildRequires: %{python_module hypothesis} -BuildRequires: %{python_module mock} -BuildRequires: %{python_module py >= 1.4.33} +BuildRequires: %{python_module pluggy} +BuildRequires: %{python_module py} BuildRequires: %{python_module setuptools_scm} -# /SECTION +BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx +%ifpython2 +BuildRequires: python-funcsigs +%endif Provides: %{python_module pytest-doc = %{version}} BuildArch: noarch %description -pytest helps you write better programs. It is a a mature full-featured, -cross-project Python testing tool. It provides: - -* auto-discovery of test modules and functions, -* detailed info on failing assert statements (no need to remember - self.assert* names), -* modular fixtures for managing small or parametrized long-lived test resources. -* multi-paradigm support: you can use py.test to run test suites based on - unittest (or trial), nose, -* single-source compatibility to Python2.4 all the way up to Python3.3, - PyPy-1.9 and Jython-2.5.1, and -* many external plugins. - -This package contains the documentation for pytest +This package contains the documentation to pytest, a cross-project Python +testing tool. %prep %setup -q -n pytest-%{version} @@ -63,6 +52,7 @@ %install # Only building documentation +#Check here because in main package creates buildcycle %check %python_exec setup.py test ++++++ python-pytest.spec ++++++ --- /var/tmp/diff_new_pack.ZSjCXB/_old 2017-12-15 14:01:45.163138280 +0100 +++ /var/tmp/diff_new_pack.ZSjCXB/_new 2017-12-15 14:01:45.163138280 +0100 @@ -18,26 +18,28 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest -Version: 3.2.5 +Version: 3.3.1 Release: 0 Summary: Python testing tool with autodiscovery and detailed asserts License: MIT Group: Development/Languages/Python Url: http://pytest.org Source: https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz -BuildRequires: %{python_module devel} -BuildRequires: %{python_module py >= 1.4.33} BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-attrs +Requires: python-pluggy Requires: python-py >= 1.4.33 +Requires: python-six #/usr/bin/py.test imports pkg_resources Requires: python-setuptools Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch +%ifpython2 +Requires: python-funcsigs +%endif %python_subpackages %description @@ -71,6 +73,8 @@ ln -s py.test-%{python3_bin_suffix} %{buildroot}%{_bindir}/py.test3 fi +%python_expand %fdupes %{buildroot}%{python_sitelib} + %post %{python_install_alternative py.test} \ --slave %{_bindir}/pytest pytest %{_bindir}/pytest-%{python_version} ++++++ pytest-3.2.5.tar.gz -> pytest-3.3.1.tar.gz ++++++ ++++ 10017 lines of diff (skipped)
