Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump asgiref from 3.4.1 to 3.7.2 #222

Merged
merged 2 commits into from
Oct 30, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 29, 2023

Bumps asgiref from 3.4.1 to 3.7.2.

Changelog

Sourced from asgiref's changelog.

3.7.2 (2023-05-27)

  • The type annotations for SyncToAsync and AsyncToSync have been changed to more accurately reflect the kind of callables they return.

3.7.1 (2023-05-24)

  • On Python 3.10 and below, the version of the "typing_extensions" package is now constrained to be at least version 4 (as we depend on functionality in that version and above)

3.7.0 (2023-05-23)

  • Contextvars are now required for the implementation of Local as Python 3.6 is now no longer a supported version.

  • sync_to_async and async_to_sync now pass-through

  • Debug and Lifespan State extensions have resulted in a typing change for some request and response types. This change should be backwards-compatible.

  • asgiref frames will now be hidden in Django tracebacks by default.

  • Raw performance and garbage collection improvements in Local, SyncToAsync, and AsyncToSync.

3.6.0 (2022-12-20)

  • Two new functions are added to the asgiref.sync module: iscoroutinefunction() and markcoroutinefunction().

    Python 3.12 deprecates asyncio.iscoroutinefunction() as an alias for inspect.iscoroutinefunction(), whilst also removing the _is_coroutine marker. The latter is replaced with the inspect.markcoroutinefunction decorator.

    The new asgiref.sync functions are compatibility shims for these functions that can be used until Python 3.12 is the minimum supported version.

    Note that these functions are considered beta, and as such, whilst not likely, are subject to change in a point release, until the final release of Python 3.12. They are included in asgiref now so that they can be adopted by Django 4.2, in preparation for support of Python 3.12.

  • The loop argument to asgiref.timeout.timeout is deprecated. As per other asyncio based APIs, the running event loop is used by default. Note that

... (truncated)

Commits
  • a90aeb9 Releasing 3.7.2
  • 09a234e Type sync_to_async/async_to_async as returning callables
  • 085ba6a Releasing 3.7.1
  • db2e53a Pin typing_extensions high enough for our use of it
  • 89cfe10 Releasing 3.7.0
  • 72f45c5 Improve sync.py typing and utilities performance (#390)
  • fd7a63c Mention BlackSheep as one of the implementation (#391)
  • 7c8d31c Add information about when to start sending response (#389)
  • c3d70c3 Remove "wait for body" response constraint
  • e22d765 Better garbage-collection on exceptions in sync_to_async (#386)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [asgiref](https://github.com/django/asgiref) from 3.4.1 to 3.7.2.
- [Changelog](https://github.com/django/asgiref/blob/main/CHANGELOG.txt)
- [Commits](django/asgiref@3.4.1...3.7.2)

---
updated-dependencies:
- dependency-name: asgiref
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 29, 2023
@submarcos
Copy link
Member

@dependabot rebase

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 30, 2023

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@codecov-commenter
Copy link

codecov-commenter commented Oct 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8516009) 97.03% compared to head (f93dda7) 97.03%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #222   +/-   ##
=======================================
  Coverage   97.03%   97.03%           
=======================================
  Files          10       10           
  Lines         135      135           
=======================================
  Hits          131      131           
  Misses          4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@submarcos submarcos merged commit 93b1401 into master Oct 30, 2023
12 checks passed
@submarcos submarcos deleted the dependabot/pip/asgiref-3.7.2 branch October 30, 2023 22:35
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants