Hello community, here is the log from the commit of package python-pytest5.13468 for openSUSE:Leap:15.2:Update checked in at 2020-09-28 16:21:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2:Update/python-pytest5.13468 (Old) and /work/SRC/openSUSE:Leap:15.2:Update/.python-pytest5.13468.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest5.13468" Mon Sep 28 16:21:21 2020 rev:1 rq:835844 version:5.3.5 Changes: -------- New Changes file: --- /dev/null 2020-09-10 00:27:47.435250138 +0200 +++ /work/SRC/openSUSE:Leap:15.2:Update/.python-pytest5.13468.new.4249/python-pytest5.changes 2020-09-28 16:21:23.467979208 +0200 @@ -0,0 +1,2288 @@ +------------------------------------------------------------------- +Thu Mar 26 16:48:38 UTC 2020 - Matej Cepl <[email protected]> + +- Skip tests failing on s390 platform. (bsc#1167732, jsc#SLE-11315). + +------------------------------------------------------------------- +Thu Mar 26 10:15:53 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Skip test_pdb_can_be_rewritten as it needs new xdist we can't + have on SLE15 +- Same applies for test_xdist_normal + +------------------------------------------------------------------- +Thu Mar 26 08:32:32 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Rename to pytest5 packages and add provides/conflicts on pytest + namespece + +------------------------------------------------------------------- +Wed Feb 19 09:47:59 UTC 2020 - Ondřej Súkup <[email protected]> + +- Update to 5.3.5 + * Captured output during teardown is shown with -rP + * Fix a pytest-xdist crash when dealing with exceptions raised + in subprocesses created by the multiprocessing module. + * FixtureDef objects now properly register their finalizers + with autouse and parameterized fixtures that execute before + them in the fixture stack so they are torn down at the right times, + and in the right order. + * Fix parsing of outcomes containing multiple errors with testdir results + +------------------------------------------------------------------- +Tue Jan 14 12:32:50 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix typo importlib_metadata -> importlib-metadata + +------------------------------------------------------------------- +Mon Jan 6 13:23:00 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Update to 5.3.2: + * junitxml: Logs for failed test are now passed to junit report in + case the test fails during call phase. + * supporting files in the .pytest_cache directory are kept with + --cache-clear, which only clears cached values now. + * Fix assertion rewriting for egg-based distributions and editable + installs (pip install --editable). + * Improve check for misspelling of pytest.mark.parametrize. + * Handle exit.Exception raised in notify_exception (via pytest_internalerror), e.g. when quitting pdb from post mortem. + * default value of junit_family option will change to xunit2 in + pytest 6.0, given that this is the version supported by default in + modern tools that manipulate this type of file. + * In order to smooth the transition, pytest will issue a warning in + case the --junitxml option is given in the command line but + junit_family is not explicitly configured in pytest.ini. + +------------------------------------------------------------------- +Mon Nov 18 08:14:19 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 5.2.4: + * #6099: Fix --trace when used with parametrized functions. + * #6183: Using request as a parameter name in @pytest.mark.parametrize now produces a more user-friendly error. + * #6194: Fix incorrect discovery of non-test __init__.py files. + +------------------------------------------------------------------- +Tue Nov 5 11:01:48 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 5.2.2: + * #5206: Fix --nf to not forget about known nodeids with partial test selection. + * #5906: Fix crash with KeyboardInterrupt during --setup-show. + * #5946: Fixed issue when parametrizing fixtures with numpy arrays (and possibly other sequence-like types). + * #6044: Properly ignore FileNotFoundError exceptions when trying to remove old temporary directories, for instance when multiple processes try to remove the same directory (common with pytest-xdist for example). + +------------------------------------------------------------------- +Wed Oct 9 14:13:11 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 5.2.1: + * #5902: Fix warnings about deprecated cmp attribute in attrs>=19.2. + * #1682: Passing arguments to pytest.fixture() as positional arguments is deprecated - pass them as a keyword argument instead. + * #1682: The scope parameter of @pytest.fixture can now be a callable that receives the fixture name and the config object as keyword-only parameters. See the docs for more information. + * #5764: New behavior of the --pastebin option: failures to connect to the pastebin server are reported, without failing the pytest run + +------------------------------------------------------------------- +Mon Sep 23 12:30:16 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 5.1.3: + * #5807: Fix pypy3.6 (nightly) on windows. + * #5811: Handle --fulltrace correctly with pytest.raises. + * #5819: Windows: Fix regression with conftest whose qualified name contains uppercase characters + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +Fri Jul 19 10:16:21 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Add setuptools requires as we still use entrypoints + +------------------------------------------------------------------- +Tue Jul 9 11:25:49 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Python-pytest4 contains pytest4; python-pytest3 contains pytest3 + the main package from now on will be tracking upstream releases +- Update to 5.0.1: + * Major update; from now on supporting only python3+ +- Remove merged patches: + * fix_test_raises_exception_looks_iterable.patch + * importlib-metadata.patch + * new-pluggy.patch + * sphinx2.0.patch + +------------------------------------------------------------------- +Tue Jun 11 07:02:25 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Add missing quotes to the test call + +------------------------------------------------------------------- +Fri Jun 7 11:42:16 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Add patch to fix build with new sphinx: + * sphinx2.0.patch +- Add patch to fix build with new pluggy that uses importlib-metadata: + * importlib-metadata.patch + +------------------------------------------------------------------- +Tue Feb 26 13:05:11 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Add patch to build with new pluggy: + * new-pluggy.patch + +------------------------------------------------------------------- +Fri Jan 4 22:08:17 CET 2019 - [email protected] + +- Switch the package to multibuild. +- Add fix_test_raises_exception_looks_iterable.patch from + gh#pytest-dev/pytest#4525 + +------------------------------------------------------------------- +Wed Nov 14 14:00:29 UTC 2018 - Ondřej Súkup <[email protected]> + +- update to 3.10.1 + * Fix nested usage of debugging plugin (pdb) + * Block the stepwise plugin if cacheprovider is also blocked, as one + depends on the other. + * Parse minversion as an actual version and not as dot-separated strings. + * Fix duplicate collection due to multiple args matching the same packages. + * Fix item.nodeid with resolved symlinks. + * Fix collection of direct symlinked files, where the target does not match ++++ 2091 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Leap:15.2:Update/.python-pytest5.13468.new.4249/python-pytest5.changes New: ---- _multibuild pytest-5.3.5.tar.gz python-pytest5.changes python-pytest5.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest5.spec ++++++ # # spec file for package python # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -%{flavor} %bcond_without test %else %define psuffix %{nil} %bcond_with test %endif %define skip_python2 1 Name: python-pytest5%{psuffix} Version: 5.3.5 Release: 0 Summary: Python testing tool with autodiscovery and detailed asserts License: MIT URL: https://github.com/pytest-dev/pytest Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz BuildRequires: %{python_module setuptools >= 40.0} BuildRequires: %{python_module setuptools_scm} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-atomicwrites >= 1.0 Requires: python-attrs >= 17.4.0 Requires: python-importlib-metadata >= 0.12 Requires: python-more-itertools >= 4.0.0 Requires: python-packaging Requires: python-pluggy >= 0.12 Requires: python-py >= 1.5.0 Requires: python-setuptools Requires: python-six >= 1.10.0 Requires: python-wcwidth Requires(post): update-alternatives Requires(postun): update-alternatives Provides: python-pytest = %{version}-%{release} Conflicts: python-pytest Obsoletes: python-pytest-doc BuildArch: noarch %if %{with test} BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module Twisted} BuildRequires: %{python_module decorator} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module importlib-metadata >= 0.12} BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pexpect} BuildRequires: %{python_module pygments-pytest} BuildRequires: %{python_module pytest >= %{version}} BuildRequires: %{python_module pytest-forked} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module xmlschema} BuildRequires: lsof %endif %if %{python3_version_nodots} < 36 Requires: python-pathlib2 >= 2.2.0 %endif %python_subpackages %description pytest is a 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. %prep %setup -q -n pytest-%{version} %autopatch -p1 %build %python_build %install %if ! %{with test} %python_install %python_clone -a %{buildroot}%{_bindir}/py.test %python_clone -a %{buildroot}%{_bindir}/pytest if [ -x %{buildroot}%{_bindir}/py.test-%{python2_bin_suffix} ]; then ln -s py.test-%{python2_bin_suffix} %{buildroot}%{_bindir}/py.test2 fi if [ -x %{buildroot}%{_bindir}/py.test-%{python3_bin_suffix} ]; then ln -s py.test-%{python3_bin_suffix} %{buildroot}%{_bindir}/py.test3 fi %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif %check %if %{with test} SKIP_TEST="test_xdist_normal or test_pdb_can_be_rewritten" # gh#pytest-dev/pytest#6297 case $(uname -m) in s390*) SKIP_TEST="$SKIP_TEST or test_pdb_unittest_skip or test_pdb_print_captured_stdout_and_stderr" SKIP_TEST="$SKIP_TEST or test_doctest_set_trace_quit or test_pdb_continue_with_recursive_debug" SKIP_TEST="$SKIP_TEST or test_trace_sets_breakpoint or test_trace_with_parametrize_handles_shared_fixtureinfo" SKIP_TEST="$SKIP_TEST or test_pdb_suspends_fixture_capturing or test_report_collect_after_half_a_second" ;; esac export SKIP_TEST %pytest -k "not ($SKIP_TEST)" %endif %if ! %{with test} %post %{python_install_alternative py.test} \ --slave %{_bindir}/pytest pytest %{_bindir}/pytest-%{python_version} %postun %python_uninstall_alternative py.test %files %{python_files} %doc AUTHORS CHANGELOG.rst README.rst %license LICENSE %python_alternative %{_bindir}/py.test %python_alternative %{_bindir}/pytest %python2_only %{_bindir}/py.test2 %python3_only %{_bindir}/py.test3 %{python_sitelib}/* %endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild>
