Skip to content

Conversation

@dependabot
Copy link

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

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

Changelog

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

Version history

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

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).

    • BACKWARDS INCOMPATIBLE The following method was previously a coroutine method and has been converted into a synchronous one:

      • MemoryObjectReceiveStream.receive_nowait()
    • The following functions and methods are no longer asynchronous but can still be awaited on (doing so will emit a deprecation warning):

      • current_time()
      • current_effective_deadline()
      • get_current_task()
      • get_running_tasks()
      • CancelScope.cancel()
      • CapacityLimiter.acquire_nowait()
      • CapacityLimiter.acquire_on_behalf_of_nowait()
      • Condition.release()
      • Event.set()
      • Lock.release()
      • MemoryObjectSendStream.send_nowait()
      • Semaphore.release()
    • The following functions now return synchronous context managers instead of asynchronous context managers (and emit deprecation warnings if used as async context managers):

      • fail_after()
      • move_on_after()
      • open_cancel_scope() (now just CancelScope(); see below)
      • open_signal_receiver()
    • The following functions and methods have been renamed/moved (will now emit deprecation warnings when you use them by their old names):

... (truncated)

Commits
  • 72baca9 Bumped up the version
  • 7c8b3b1 Expanded the explanation of the run_sync() fix
  • ffc8c7c Added a docs link to the README (#270)
  • 63ceccc Refactored asyncio thread pooling (#268)
  • a21a062 Update synchronization.rst (#269)
  • 35858dc Fixed flaky thread pooling test
  • 5169f1d Avoid redundant relative imports (#263)
  • 2ccd7d1 Set the stacklevel on _warn_deprecation() (#259)
  • d1072ba Merged the RC release notes back into the final version
  • 41d8c33 Switched from flake8 to pyproject-flake8
  • 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 3, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 24, 2021

Superseded by #21.

@dependabot dependabot bot closed this May 24, 2021
@dependabot dependabot bot deleted the dependabot/pip/testing/plugins_integration/anyio-curiotrio--3.0.1 branch May 24, 2021 03:01
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