Skip to content

Bump pytest-trio from 0.7.0 to 0.8.0 - #2486

Closed
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/pip/pytest-trio-0.8.0
Closed

Bump pytest-trio from 0.7.0 to 0.8.0#2486
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/pip/pytest-trio-0.8.0

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubDec 1, 2022

Copy link
Copy Markdown
Contributor

Bumps pytest-trio from 0.7.0 to 0.8.0.

Commits
  • 250ec45 Bump version to 0.8.0
  • 2ba99e6 Merge pull request #130 from Zac-HD/use-exceptiongroup
  • 6fbe63e Adjust warnings config
  • 648f9e9 Unwrap magic exceptions from single-leaf groups
  • ed732d3 Remove use of MultiError
  • cbd6197 Merge pull request #127 from python-trio/spdx-compliant-license
  • ea0cd1c Merge branch 'master' into spdx-compliant-license
  • 9f7dd7f Merge pull request #129 from Zac-HD/general-maintenance
  • f788fe7 TEMP: ignore warnings
  • ce850d6 Create 129.misc.rst
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabotdependabotBot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 1, 2022
@dependabot
dependabotBotforce-pushed the dependabot/pip/pytest-trio-0.8.0 branch 2 times, most recently from 6c035cc to 2b2d335CompareDecember 1, 2022 17:07
Bumps [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>
@dependabot
dependabotBotforce-pushed the dependabot/pip/pytest-trio-0.8.0 branch from 2b2d335 to 3d2e4d3CompareDecember 1, 2022 17:13
@kloczek

Copy link
Copy Markdown

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

Copy link
Copy Markdown
Contributor

Yup, you're running into a conflict between the latest versions of anyio and trio.
See encode/httpcore#588 (comment)

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

Copy link
Copy Markdown

I've subscibed to those tickets to have updates about those issues.
Thank you you to let me know 👍

@dependabot@github

dependabotBot commented on behalf of githubJan 2, 2023

Copy link
Copy Markdown
ContributorAuthor

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 @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@lovelydinosaur
lovelydinosaur deleted the dependabot/pip/pytest-trio-0.8.0 branch January 2, 2023 13:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filepythonPull requests that update Python code

Development

Successfully merging this pull request may close these issues.

2 participants

@kloczek@lovelydinosaur