commit python-pytest4 for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package python-pytest4 for openSUSE:Leap:15.2 checked in at 2020-04-30 18:51:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-pytest4 (Old) and /work/SRC/openSUSE:Leap:15.2/.python-pytest4.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pytest4" Thu Apr 30 18:51:49 2020 rev:1 rq:795986 version:4.6.9 Changes: -------- New Changes file: --- /dev/null 2020-04-14 14:47:33.391806949 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.python-pytest4.new.2738/python-pytest4.changes 2020-04-30 18:51:50.352649010 +0200 @@ -0,0 +1,251 @@ +------------------------------------------------------------------- +Tue Jan 14 12:33:25 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com> + +- Fix typo importlib_metadata -> importlib-metadata + +------------------------------------------------------------------- +Mon Jan 6 13:19:54 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com> + +- Update to 4.6.9: + * various minor bugfixes for 4.x series to keep it working with + latest python modules + +------------------------------------------------------------------- +Mon Oct 14 08:07:27 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com> + +- update to 4.6.6 +- drop importlib-py38.patch and attrs.patch + * Fixed using multiple short options together in the command-line + * Fix "lexer" being used when uploading to bpaste.net from --pastebin to text + * python version checks (detected by flake8-2020) in case python4 becomes thing + * Fix warnings about deprecated cmp attribute in attrs>=19.2 + * Replace importlib_metadata backport with importlib.metadata on Py3.8 + +------------------------------------------------------------------- +Thu Oct 10 14:27:20 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com> + +- add attrs.patch based on gh#5902 Fix warnings with attrs 19.2 + and fix object assertions + +------------------------------------------------------------------- +Wed Sep 25 09:34:48 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Update more the py38 compat patchset by taking more commits from + upstream: + * importlib-py38.patch + +------------------------------------------------------------------- +Wed Sep 11 11:22:31 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Add patch to not pull importlib_metadata on python 3.8: + * importlib-py38.patch + +------------------------------------------------------------------- +Mon Aug 19 08:18:32 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Update to 4.6.5: + * #4344: Fix RuntimeError/StopIteration when trying to collect package with "init.py" only. + * #5478: Fix encode error when using unicode strings in exceptions with pytest.raises. + * #5524: 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. + * #5547: --step-wise now handles xfail(strict=True) markers properly. + * #5650: Improved output when parsing an ini configuration file fails. + +------------------------------------------------------------------- +Fri Jul 19 10:16:52 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Add setuptools requires as we still use entrypoints + +------------------------------------------------------------------- +Tue Jul 9 11:33:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Fix the multubild flavor name + +------------------------------------------------------------------- +Tue Jul 2 13:27:39 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Update to 4.6.4: + * #5404: Emit a warning when attempting to unwrap a broken object raises an exception, for easier debugging (#5080). + * #5444: Fix --stepwise mode when the first file passed on the command-line fails to collect. + * #5482: Fix bug introduced in 4.6.0 causing collection errors when passing more than 2 positional arguments to pytest.mark.parametrize. + * #5505: Fix crash when discovery fails while using -p no:terminal. + +------------------------------------------------------------------- +Wed Jun 12 08:58:07 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com> + +- update to 4.6.3 + * -q has again an impact on the style of the collected items (--collect-only) + when --log-cli-level is used. + * Fix regressions of #5063 for importlib_metadata.PathDistribution which + have their files attribute being None. + * Fix regression where the obj attribute of TestCase items was no longer + bound to methods. + +------------------------------------------------------------------- +Fri Jun 7 11:03:23 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Fixup the requirements to match up setup.py + +------------------------------------------------------------------- +Tue Jun 4 14:01:58 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com> + +- update to 4.6.2 + * Revert unrolling of all() to fix NameError on nested comprehensions. + * Revert unrolling of all() to fix incorrect handling of generators with if. + * Revert unrolling of all() to fix incorrect assertion when using all() + in an expression. + +------------------------------------------------------------------- +Mon Jun 3 08:45:49 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com> + +- update to 4.6.1 +- The 4.6.X series will be the last series to support Python 2 and Python 3.4. + * Fix pytest.mark.parametrize when the argvalues is an iterator. + * Fix assertion rewriting of all() calls to deal with non-generators. + * Added the junit_log_passing_tests ini value which can be used to enable + or disable logging of passing test output in the Junit XML file. + * pytester’s testdir.spawn uses tmpdir as HOME/USERPROFILE directory. + * Unroll calls to all to full for-loops with assertion rewriting for better + failure messages, especially when using Generator Expressions. + * Switch from pkg_resources to importlib-metadata for entrypoint detection + for improved performance and import time. + * The output for ini options in --help has been improved. + * pytest.importorskip includes the ImportError now in the default reason. + * Captured logs that are output for each failing test are formatted + using the ColoredLevelFormatter. + * Improved formatting of multiline log messages in Python 3. + * The debugging plugin imports the wrapped Pdb class (--pdbcls) on-demand now. + * The pytest_enter_pdb hook gets called with post-mortem (--pdb). + * Fix issue where fixtures dependent on other parametrized fixtures would + be erroneously parametrized. + * Handle internal error due to a lone surrogate unicode character not being + representable in Jython. + * Ensure that sys.stdout.mode does not include 'b' as it is a text stream. + * Pytest’s internal python plugin can be disabled using -p no:python again. + * Fix issue with disable_test_id_escaping_and_forfeit_all_rights_to_community_support + option not working when using a list of test IDs in parametrized tests. + * Show the test module being collected when emitting PytestCollectionWarning messages + for test classes with __init__ and __new__ methods to make it easier to pin down the problem. + * Fix regression in 4.5.0 with --lf not re-running all tests with known failures + from non-selected tests. + +------------------------------------------------------------------- +Thu May 23 10:06:51 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com> + +- update to 4.5.0 +- drop 4dbb56146a1fe0bf70df801582f0abde4ef4e64c.patch - upstream merged + * A warning is now emitted when unknown marks are used as a decorator + * Show XFail reason as part of JUnitXML message field + * Messages from crash reports are displayed within test summaries now + * New flag --strict-markers that triggers an error when unknown markers + * Assertion failure messages for sequences and dicts contain the number + of different items now. + * Improve reporting with --lf and --ff + * The --cache-show option/action accepts an optional glob to show only + matching cache entries. + * Standard input (stdin) can be given to pytester’s Testdir.run() and Testdir.popen(). + * he -r option learnt about A to display all reports (including passed ones) + in the short test summary. + * The short test summary is displayed after passes with output (-rP). + * The --last-failed (--lf) option got smarter and will now skip entire files + if all tests of that test file have passed in previous runs, greatly speeding up collection. + * Introduce new specific warning PytestWarning subclasses to make it easier + to filter warnings based on the class, rather than on the message + * New record_testsuite_property session-scoped fixture allows users to log + <property> tags at the testsuite level with the junitxml plugin. + * --fixtures now also shows fixture scope for scopes other than "function". + * Deselected items from plugins using pytest_collect_modifyitems as a hookwrapper + are correctly reported now. + * With usage errors exitstatus is set to EXIT_USAGEERROR in the pytest_sessionfinish + hook now as expected. + * outcome.exit is not used with EOF in the pdb wrapper anymore, but only with quit. + * logging.raiseExceptions is not set to False anymore. + * pytest now depends on wcwidth to properly track unicode character sizes for more + precise terminal output. + * pytester’s Testdir.popen() uses stdout and stderr via keyword arguments with + defaults now (subprocess.PIPE). + * The code for the short test summary in the terminal was moved to the terminal plugin. + * Improved validation of kwargs for various methods in the pytester plugin. + * record_property now emits a PytestWarning when used with junit_family=xunit2: + the fixture generates property tags as children of testcase, which is not permitted + according to the most recent schema. + * Fix crash caused by error in __repr__ function with both showlocals + and verbose output enabled. + * Eliminate core dependency on ‘terminal’ plugin. + * Doc: pytest_ignore_collect, pytest_collect_directory, pytest_collect_file + and pytest_pycollect_makemodule hooks’s ‘path’ parameter documented type is now py.path.local + * Improve help for --runxfail flag. + +------------------------------------------------------------------- +Mon May 6 11:01:13 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> + +- Update to 4.4.1: + * #5031: Environment variables are properly restored when using pytester's testdir fixture. + * #5039: Fix regression with --pdbcls, which stopped working with local modules in 4.0.0. + * #5092: Produce a warning when unknown keywords are passed to pytest.param(...). + * #5098: Invalidate import caches with monkeypatch.syspath_prepend, which is required with namespace packages being used. + +------------------------------------------------------------------- +Thu Apr 4 11:34:00 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com> + +- add 4dbb56146a1fe0bf70df801582f0abde4ef4e64c.patch - fix tests on 32bit + +------------------------------------------------------------------- +Mon Apr 1 12:01:47 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com> + +- update to 4.4.0 +- drop doc subpackage ++++ 54 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Leap:15.2/.python-pytest4.new.2738/python-pytest4.changes New: ---- _multibuild pytest-4.6.9.tar.gz python-pytest4.changes python-pytest4.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest4.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 Name: python-pytest4%{psuffix} Version: 4.6.9 Release: 0 Summary: Python testing tool with autodiscovery and detailed asserts License: MIT Group: Development/Languages/Python URL: https://github.com/pytest-dev/pytest 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 Conflicts: python-pytest Provides: python-pytest = %{version}-%{release} Obsoletes: python-pytest4-doc BuildArch: noarch %if %{with test} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module importlib-metadata >= 0.12} BuildRequires: %{python_module pygments-pytest} BuildRequires: %{python_module pytest4 >= %{version}} BuildRequires: %{python_module setuptools_scm} BuildRequires: python-funcsigs BuildRequires: python-mock %endif %ifpython2 Requires: python-funcsigs %endif %if "%{python_flavor}" == "python2" || %{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} %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} %pytest %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>
participants (1)
-
root