Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Apr 26, 2021

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

Changelog

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

Version history

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

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

      • create_blocking_portal()anyio.from_thread.BlockingPortal()
      • create_capacity_limiter()anyio.CapacityLimiter()
      • create_event()anyio.Event()
      • create_lock()anyio.Lock()
      • create_condition()anyio.Condition()
      • create_semaphore()anyio.Semaphore()
      • current_default_worker_thread_limiter()

... (truncated)

Commits
  • d1072ba Merged the RC release notes back into the final version
  • 41d8c33 Switched from flake8 to pyproject-flake8
  • 4879b1f Fixed DeprecatedAwaitable* types being unpickleable
  • db9b37e Refactored the asyncio thread pooling code (#258)
  • cfd8c04 Bumped up the version
  • f66d379 Changed the wording of "spawning tasks" to "starting tasks"
  • 5d9a476 Added migration note about start_blocking_portal()
  • f903761 Deprecated create_blocking_portal() in favor of BlockingPortal()
  • 9a17132 Added TaskGroup.start_soon() and changed spawn() back into a coroutine functi...
  • 2c0e648 Improved cancellation logic for synchronization primitives
  • 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 Apr 26, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 3, 2021

Superseded by #15.

@dependabot dependabot bot closed this May 3, 2021
@dependabot dependabot bot deleted the dependabot/pip/testing/plugins_integration/anyio-curiotrio--3.0.0 branch May 3, 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