Uh oh!
There was an error while loading. Please reload this page.
Bump pytest-trio from 0.7.0 to 0.8.0 - #2486
Conversation
6c035cc to
2b2d335CompareBumps [pytest-trio](https://github.com/python-trio/pytest-trio) from 0.7.0 to 0.8.0. - [Release notes](https://github.com/python-trio/pytest-trio/releases) - [Commits](python-trio/pytest-trio@v0.7.0...v0.8.0) --- updated-dependencies: - dependency-name: pytest-trio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2b2d335 to
3d2e4d3Comparekloczek
commented
Dec 5, 2022
I've been trying to use this PR on top of current master and pytest is failing Details+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-httpx-0.23.1-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-httpx-0.23.1-2.fc35.x86_64/usr/lib/python3.8/site-packages+ /usr/bin/pytest -ra -p no:randomly=========================================================================== test session starts ============================================================================platform linux -- Python 3.8.15, pytest-7.2.0, pluggy-1.0.0rootdir: /home/tkloczko/rpmbuild/BUILD/httpx-0.23.1, configfile: setup.cfgplugins: anyio-3.6.1, asyncio-0.20.2, trio-0.7.0asyncio: mode=strictcollected 708 itemstests/test_api.py ........... [ 1%]tests/test_asgi.py .................... [ 4%]tests/test_auth.py .... [ 4%]tests/test_config.py ............................... [ 9%]tests/test_content.py ..................... [ 12%]tests/test_decoders.py .............................. [ 16%]tests/test_exceptions.py .... [ 17%]tests/test_exported_members.py . [ 17%]tests/test_main.py FINTERNALERROR> Traceback (most recent call last):INTERNALERROR> File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 270, in wrap_sessionINTERNALERROR> session.exitstatus = doit(config, session) or 0INTERNALERROR> File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 324, in _mainINTERNALERROR> config.hook.pytest_runtestloop(session=session)INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexecINTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 60, in _multicallINTERNALERROR> return outcome.get_result()INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_result.py", line 60, in get_resultINTERNALERROR> raise ex[1].with_traceback(ex[2])INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicallINTERNALERROR> res = hook_impl.function(*args)INTERNALERROR> File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 349, in pytest_runtestloopINTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexecINTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 60, in _multicallINTERNALERROR> return outcome.get_result()INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_result.py", line 60, in get_resultINTERNALERROR> raise ex[1].with_traceback(ex[2])INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicallINTERNALERROR> res = hook_impl.function(*args)INTERNALERROR> File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 112, in pytest_runtest_protocolINTERNALERROR> runtestprotocol(item, nextitem=nextitem)INTERNALERROR> File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 131, in runtestprotocolINTERNALERROR> reports.append(call_and_report(item, "call", log))INTERNALERROR> File "/usr/lib/python3.8/site-packages/_pytest/runner.py", line 226, in call_and_reportINTERNALERROR> hook.pytest_exception_interact(node=item, call=call, report=report)INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_hooks.py", line 265, in __call__INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_manager.py", line 80, in _hookexecINTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 60, in _multicallINTERNALERROR> return outcome.get_result()INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_result.py", line 60, in get_resultINTERNALERROR> raise ex[1].with_traceback(ex[2])INTERNALERROR> File "/usr/lib/python3.8/site-packages/pluggy/_callers.py", line 39, in _multicallINTERNALERROR> res = hook_impl.function(*args)INTERNALERROR> File "/usr/lib/python3.8/site-packages/pytest_trio/plugin.py", line 62, in pytest_exception_interactINTERNALERROR> if issubclass(call.excinfo.type, trio.MultiError):INTERNALERROR> File "/usr/lib/python3.8/site-packages/trio/_deprecate.py", line 120, in __getattr__INTERNALERROR> warn_deprecated(thing, info.version, issue=info.issue, instead=instead)INTERNALERROR> File "/usr/lib/python3.8/site-packages/trio/_deprecate.py", line 51, in warn_deprecatedINTERNALERROR> warnings.warn(TrioDeprecationWarning(msg), stacklevel=stacklevel)INTERNALERROR> trio.TrioDeprecationWarning: trio.MultiError is deprecated since Trio 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup (earlier versions) instead (https://github.com/python-trio/trio/issues/2211)--- Logging error ---Traceback (most recent call last): File "/usr/lib64/python3.8/logging/__init__.py", line 1088, in emit stream.write(msg + self.terminator)ValueError: I/O operation on closed file.Call stack: File "/usr/lib64/python3.8/threading.py", line 890, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib64/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.8/site-packages/uvicorn/server.py", line 60, in run return asyncio.run(self.serve(sockets=sockets)) File "/usr/lib64/python3.8/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/lib64/python3.8/asyncio/base_events.py", line 603, in run_until_complete self.run_forever() File "/usr/lib64/python3.8/asyncio/base_events.py", line 570, in run_forever self._run_once() File "/usr/lib64/python3.8/asyncio/base_events.py", line 1859, in _run_once handle._run() File "/usr/lib64/python3.8/asyncio/events.py", line 81, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.8/site-packages/uvicorn/server.py", line 81, in serve await self.shutdown(sockets=sockets) File "/usr/lib/python3.8/site-packages/uvicorn/server.py", line 253, in shutdown logger.info("Shutting down")Message: 'Shutting down'Arguments: ()--- Logging error ---Traceback (most recent call last): File "/usr/lib64/python3.8/logging/__init__.py", line 1088, in emit stream.write(msg + self.terminator)ValueError: I/O operation on closed file.Call stack: File "/usr/lib64/python3.8/threading.py", line 890, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib64/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.8/site-packages/uvicorn/server.py", line 60, in run return asyncio.run(self.serve(sockets=sockets)) File "/usr/lib64/python3.8/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/lib64/python3.8/asyncio/base_events.py", line 603, in run_until_complete self.run_forever() File "/usr/lib64/python3.8/asyncio/base_events.py", line 570, in run_forever self._run_once() File "/usr/lib64/python3.8/asyncio/base_events.py", line 1859, in _run_once handle._run() File "/usr/lib64/python3.8/asyncio/events.py", line 81, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.8/site-packages/uvicorn/server.py", line 85, in serve logger.info(message, process_id, extra={"color_message": color_message})Message: 'Finished server process [%d]'Arguments: (3436073,)--- Logging error ---Traceback (most recent call last): File "/usr/lib64/python3.8/logging/__init__.py", line 1088, in emit stream.write(msg + self.terminator)ValueError: I/O operation on closed file.Call stack: File "/usr/lib64/python3.8/threading.py", line 890, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib64/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.8/site-packages/uvicorn/server.py", line 60, in run return asyncio.run(self.serve(sockets=sockets)) File "/usr/lib64/python3.8/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/lib64/python3.8/asyncio/base_events.py", line 603, in run_until_complete self.run_forever() File "/usr/lib64/python3.8/asyncio/base_events.py", line 570, in run_forever self._run_once() File "/usr/lib64/python3.8/asyncio/base_events.py", line 1859, in _run_once handle._run() File "/usr/lib64/python3.8/asyncio/events.py", line 81, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.8/site-packages/uvicorn/server.py", line 81, in serve await self.shutdown(sockets=sockets) File "/usr/lib/python3.8/site-packages/uvicorn/server.py", line 253, in shutdown logger.info("Shutting down")Message: 'Shutting down'Arguments: ()--- Logging error ---Traceback (most recent call last): File "/usr/lib64/python3.8/logging/__init__.py", line 1088, in emit stream.write(msg + self.terminator)ValueError: I/O operation on closed file.Call stack: File "/usr/lib64/python3.8/threading.py", line 890, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib64/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.8/site-packages/uvicorn/server.py", line 60, in run return asyncio.run(self.serve(sockets=sockets)) File "/usr/lib64/python3.8/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/lib64/python3.8/asyncio/base_events.py", line 603, in run_until_complete self.run_forever() File "/usr/lib64/python3.8/asyncio/base_events.py", line 570, in run_forever self._run_once() File "/usr/lib64/python3.8/asyncio/base_events.py", line 1859, in _run_once handle._run() File "/usr/lib64/python3.8/asyncio/events.py", line 81, in _run self._context.run(self._callback, *self._args) File "/usr/lib/python3.8/site-packages/uvicorn/server.py", line 85, in serve logger.info(message, process_id, extra={"color_message": color_message})Message: 'Finished server process [%d]'Arguments: (3436073,)====================================================================== 1 failed, 122 passed in 3.32s ======================================================================= |
lovelydinosaur
commented
Dec 5, 2022
Yup, you're running into a conflict between the latest versions of I'd expect this to get resolved without any action on our part, but I think that encode/httpcore#626 would also resolve this. |
kloczek
commented
Dec 5, 2022
I've subscibed to those tickets to have updates about those issues. |
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps pytest-trio from 0.7.0 to 0.8.0.
Commits
250ec45Bump version to 0.8.02ba99e6Merge pull request #130 from Zac-HD/use-exceptiongroup6fbe63eAdjust warnings config648f9e9Unwrap magic exceptions from single-leaf groupsed732d3Remove use of MultiErrorcbd6197Merge pull request #127 from python-trio/spdx-compliant-licenseea0cd1cMerge branch 'master' into spdx-compliant-license9f7dd7fMerge pull request #129 from Zac-HD/general-maintenancef788fe7TEMP: ignore warningsce850d6Create 129.misc.rstDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)