Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 1, 2021

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

Changelog

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

Version history

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

UNRELEASED

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

  • BACKWARDS INCOMPATIBLE The following functions/methods were previously coroutine functions/methods and have been converted into synchronous ones:

    • current_time()
    • current_effective_deadline()
    • CancelScope.cancel()
    • CapacityLimiter.acquire_nowait()
    • CapacityLimiter.acquire_on_behalf_of_nowait()
    • Condition.release()
    • Event.set()
    • get_current_task()
    • get_running_tasks()
    • Lock.release()
    • MemoryObjectReceiveStream.receive_nowait()
    • MemoryObjectSendStream.send_nowait()
    • open_signal_receiver()
    • Semaphore.release()
    • TaskGroup.spawn()

    Likewise, the following functions now return synchronous context managers instead of asynchronous context managers:

    • fail_after()
    • move_on_after()
    • open_cancel_scope()

    See the :doc:migration documentation <migration> for instructions on how to deal with these changes.

  • BACKWARDS INCOMPATIBLE The CapacityLimiter.set_total_tokens() method has been removed in exchange of making the total_tokens property writable

  • BACKWARDS INCOMPATIBLE start_blocking_portal() must now be used as a context manager (it no longer returns a BlockingPortal, but a context manager that yields one)

  • BACKWARDS INCOMPATIBLE Removed the BlockingPortal.stop_from_external_thread() method (do portal.call(portal.stop) instead now)

  • BACKWARDS INCOMPATIBLE Lock and Condition can now only be released by the task that acquired them. This behavior is now consistent on all backends whereas previously only Trio enforced this.

  • Dropped Curio as a backend (see the :doc:FAQ <faq> as for why)

  • Added the run_sync_from_thread() function

  • Added the FileReadStream and FileWriteStream classes

  • Added the TaskGroup.start() method and a corresponding BlockingPortal.start_task() method

... (truncated)

Commits
  • 3b4c10c Bumped up the version
  • cf8e904 Fixed random errors in tox parallel mode
  • 4e8c67a Fixed formatted output of ExceptionGroup containing too many newlines
  • 322159e Added backwards compatibility settings in setup.py
  • e2f9901 Fixed Trio test runner causing unwarranted test errors on BaseExceptions
  • 63078aa Added backwards compatibility code and docs
  • db7c378 Fixed test_send_after_eof() not binding to the localhost interface
  • d9b821f Fixed TLSListener test on asyncio
  • 0240f6c Fixed signal cancellation test hanging on curio
  • 7a59f49 Run CI on the 2.x branch too
  • 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 Mar 1, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Apr 26, 2021

Superseded by #13.

@dependabot dependabot bot closed this Apr 26, 2021
@dependabot dependabot bot deleted the dependabot/pip/testing/plugins_integration/anyio-curiotrio--2.2.0 branch April 26, 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