Overview
Request 865459 accepted
- 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
- Created by mcalabkova
- In state accepted
- Supersedes 860737
Seems to break mypy:
[ 40s] + python3 -m mypy --config-file mypy_self_check.ini -p mypy [ 47s] /usr/lib/python3.8/site-packages/_pytest/assertion/__init__.py:86: error: [ 47s] Variable annotation syntax is only supported in Python 3.6 and greater [syntax] [ 47s] self.hook: Optional[rewrite.AssertionRewritingHook] = None [ 47s] ^ [ 47s] Found 1 error in 1 file (checked 158 source files) [ 48s] error: Bad exit status from /var/tmp/rpm-tmp.1A6Bdj (%check)
also: pydantic:
[ 18s] + pytest-3.8 --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v [ 18s] ImportError while loading conftest '/home/abuild/rpmbuild/BUILD/pydantic-1.6.1/tests/conftest.py'. [ 18s] tests/conftest.py:22: in <module> [ 18s] def env(): [ 18s] E pytest.PytestDeprecationWarning: [@pytest.yield\_fixture](https://build.opensuse.org/users/pytest.yield_fixture) is deprecated. [ 18s] E Use [@pytest.fixture](https://build.opensuse.org/users/pytest.fixture) instead; they are the same. [ 18s] error: Bad exit status from /var/tmp/rpm-tmp.QOspY9 (%check)
trio:
[ 47s] > assert "ignored GeneratorExit" in capsys.readouterr().err [ 47s] E AssertionError: assert 'ignored GeneratorExit' in '' [ 47s] E + where '' = CaptureResult(out='', err='').err [ 47s] E + where CaptureResult(out='', err='') = <bound method CaptureFixture.readouterr of <_pytest.capture.CaptureFixture object at 0x7f87ebba5610>>() [ 47s] E + where <bound method CaptureFixture.readouterr of <_pytest.capture.CaptureFixture object at 0x7f87ebba5610>> = <_pytest.capture.CaptureFixture object at 0x7f87ebba5610>.readouterr
Request History
mcalabkova created request
- 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
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
jengelh accepted review
dimstar_suse set openSUSE:Factory:Staging:I as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:I"
dimstar_suse accepted review
Picked "openSUSE:Factory:Staging:I"
dimstar_suse added factory-staging as a reviewer
Being evaluated by group "factory-staging"
dimstar_suse accepted review
Unstaged from project "openSUSE:Factory:Staging:I"
dimstar_suse set openSUSE:Factory:Staging:L as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:L"
dimstar_suse accepted review
Picked "openSUSE:Factory:Staging:L"
dimstar_suse added factory-staging as a reviewer
Being evaluated by group "factory-staging"
dimstar_suse accepted review
Unstaged from project "openSUSE:Factory:Staging:L"
dimstar_suse set openSUSE:Factory:Staging:L as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:L"
dimstar_suse accepted review
Picked "openSUSE:Factory:Staging:L"
dimstar_suse accepted review
Staging Project openSUSE:Factory:Staging:L got accepted.
dimstar_suse approved review
Staging Project openSUSE:Factory:Staging:L got accepted.
dimstar_suse accepted request
Staging Project openSUSE:Factory:Staging:L got accepted.