Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github May 24, 2021

Bumps anyio[curio,trio] from 2.0.2 to 3.1.0.

Changelog

Sourced from anyio[curio,trio]'s changelog.

Version history

This library adheres to Semantic Versioning 2.0 <http://semver.org/>_.

3.1.0

  • Added env and cwd keyword arguments to run_process() and open_process.
  • Added support for mutation of CancelScope.shield (PR by John Belmonte)
  • Added the sleep_forever() and sleep_until() functions
  • Changed asyncio task groups so that if the host and child tasks have only raised CancelledErrors, just one CancelledError will now be raised instead of an ExceptionGroup, allowing asyncio to ignore it when it propagates out of the task
  • Changed task names to be converted to str early on asyncio (PR by Thomas Grainger)
  • Fixed sniffio._impl.AsyncLibraryNotFoundError: unknown async library, or not in async context on asyncio and Python 3.6 when to_thread.run_sync() is used from loop.run_until_complete()
  • Fixed odd ExceptionGroup: 0 exceptions were raised in the task group appearing under certain circumstances on asyncio
  • Fixed wait_all_tasks_blocked() returning prematurely on asyncio when a previously blocked task is cancelled (PR by Thomas Grainger)
  • Fixed declared return type of TaskGroup.start() (it was declared as None, but anything can be returned from it)
  • Fixed TextStream.extra_attributes raising AttributeError (PR by Thomas Grainger)
  • Fixed await maybe_async(current_task()) returning None (PR by Thomas Grainger)
  • Fixed: pickle.dumps(current_task()) now correctly raises TypeError instead of pickling to None (PR by Thomas Grainger)
  • Fixed return type annotation of Event.wait() (boolNone) (PR by Thomas Grainger)
  • Fixed return type annotation of RunVar.get() to return either the type of the default value or the type of the contained value (PR by Thomas Grainger)
  • Fixed a deprecation warning message to refer to maybe_async() and not maybe_awaitable() (PR by Thomas Grainger)
  • Filled in argument and return types for all functions and methods previously missing them (PR by Thomas Grainger)

3.0.1

  • Fixed to_thread.run_sync() raising RuntimeError on asyncio when no "root" task could be found for setting up a cleanup callback. This was a problem at least on Tornado and possibly also Twisted in asyncio compatibility mode. The life of worker threads is now bound to the the host task of the topmost cancel scope hierarchy starting from the current one, or if no cancel scope is active, the current task.

3.0.0

  • Curio support has been dropped (see the :doc:FAQ <faq> as for why)

  • API changes:

    • BACKWARDS INCOMPATIBLE Submodules under anyio.abc. have been made private (use only anyio.abc from now on).

... (truncated)

Commits
  • b5b2655 Bumped up the version
  • 5fe1d62 Added author name to the CancelScope.shield news item
  • e23b44e Filled in missing type annotations and disallowed untyped defs (#289)
  • 791d1d2 Expanded the "finalization" section of the cancellation doc page (#294)
  • 57af856 Updated the BlockingPortal docstring (#290)
  • b8ab9b6 Removed leftover return type annotation in IncompleteRead.init
  • e32999b Fixed error in thread pool shutdown callback on Python 3.6 (#288)
  • 930a9e8 Allowed mutation of CancelScope.shield (#277)
  • 50cd89e Added the sleep_until() and sleep_forever() functions (#275)
  • 503d5fc Fixed PEP 508 violation (#287)
  • 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 24, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 21, 2021

Superseded by #26.

@dependabot dependabot bot closed this Jun 21, 2021
@dependabot dependabot bot deleted the dependabot/pip/testing/plugins_integration/anyio-curiotrio--3.1.0 branch June 21, 2021 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant