diff --git a/pytest-6.1.2.tar.gz b/pytest-6.1.2.tar.gz deleted file mode 100644 index 3c998b0..0000000 --- a/pytest-6.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c0a7e94a8cdbc5422a51ccdad8e6f1024795939cc89159a0ae7f0b316ad3823e -size 1084943 diff --git a/pytest-6.2.1.tar.gz b/pytest-6.2.1.tar.gz new file mode 100644 index 0000000..a3d6ef2 --- /dev/null +++ b/pytest-6.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66e419b1899bc27346cb2c993e12c5e5e8daba9073c1fbce33b9807abc95c306 +size 1102958 diff --git a/python-pytest.changes b/python-pytest.changes index 6154990..10d625a 100644 --- a/python-pytest.changes +++ b/python-pytest.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Tue Jan 5 14:50:41 UTC 2021 - Markéta Machová + +- Update to 6.2.1 + * pytest now supports python3.6+ only. + * Directly constructing/calling some classes/functions is now deprecated + (see upstream changelog) + * The @pytest.yield_fixture decorator/function is now deprecated. + Use pytest.fixture() instead. + * No removals so far. + * Verbose mode now shows the reason that a test was skipped in the + test’s terminal line after the “SKIPPED”, “XFAIL” or “XPASS”. + * pytest now warns about unraisable exceptions and unhandled thread + exceptions that occur in tests on Python>=3.8. + * New pytester fixture, which is identical to testdir but its methods + return pathlib.Path when appropriate instead of py.path.local. + * It is now possible to construct a MonkeyPatch object directly as pytest.MonkeyPatch(), + in cases when the monkeypatch fixture cannot be used. + * Many more new features and bugfixes + ------------------------------------------------------------------- Sun Dec 13 00:56:12 UTC 2020 - Benjamin Greiner diff --git a/python-pytest.spec b/python-pytest.spec index a655cf9..377702a 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -1,7 +1,7 @@ # # spec file for package python # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,25 +27,23 @@ %endif %define skip_python2 1 Name: python-pytest%{psuffix} -Version: 6.1.2 +Version: 6.2.1 Release: 0 Summary: Simple powerful testing with Python License: MIT 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 >= 42.0} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module toml} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-attrs >= 17.4.0 +Requires: python-attrs >= 19.2.0 Requires: python-importlib-metadata >= 0.12 Requires: python-iniconfig -Requires: python-more-itertools >= 4.0.0 Requires: python-packaging Requires: python-pluggy >= 0.12 Requires: python-py >= 1.8.2 -Requires: python-setuptools Requires: python-toml Requires: python-wcwidth Requires(post): update-alternatives @@ -57,8 +55,6 @@ BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module Twisted} BuildRequires: %{python_module decorator} BuildRequires: %{python_module hypothesis >= 3.56} -BuildRequires: %{python_module importlib-metadata >= 0.12} -BuildRequires: %{python_module iniconfig} # nose is really not REQUIRED, the test suite skips over particular # tests, when the package is not available. # BuildRequires: %%{python_module nose} @@ -66,7 +62,6 @@ 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 xmlschema}