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

build(deps): bump asgiref from 3.4.1 to 3.6.0 #3422

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 23, 2023

Bumps asgiref from 3.4.1 to 3.6.0.

Changelog

Sourced from asgiref's changelog.

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 asyncio provides timeout utilities from Python 3.11, and these should be preferred where available.

  • Support for the ASGI_THREADS environment variable, used by SyncToAsync, is removed. In general, a running event-loop is not available to asgiref at import time, and so the default thread pool executor cannot be configured. Protocol servers, or applications, should set the default executor as required when configuring the event loop at application startup.

3.5.2 (2022-05-16)

  • Allow async-callables class instances to be passed to AsyncToSync without warning

  • Prevent giving async-callable class instances to SyncToAsync

3.5.1 (2022-04-30)

  • sync_to_async in thread-sensitive mode now works corectly when the outermost thread is synchronous (#214)

3.5.0 (2022-01-22)

... (truncated)

Commits
  • 79a1d01 Releasing 3.6.0.
  • 7a6c631 Added release note for coroutine detection shims.
  • bea951e Added Python 3.11 support
  • ea79016 Updated timeout helper to use get_running_loop(). (#337)
  • 36f37c9 Added coroutine detection shims for Python 3.12 (#360)
  • 467c154 Updated pre-commit versions and fixed linting errors.
  • 72c5ca1 Updated flake8 repo location in pre-commit config to github.
  • 8b76e05 Tweak conf.py to fix Sphinx warnings (#355)
  • 9acb1a2 Added missing HTTPResponseTrailersEvent to ASGISendEvent
  • 3b5aaff Added HTTP Trailers extension
  • 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)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 23, 2023
@codecov
Copy link

codecov bot commented Jan 23, 2023

Codecov Report

Base: 98.23% // Head: 98.24% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (68d2ff5) compared to base (48d9f9d).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3422   +/-   ##
=======================================
  Coverage   98.23%   98.24%           
=======================================
  Files         291      291           
  Lines       20848    20878   +30     
=======================================
+ Hits        20481    20511   +30     
  Misses        367      367           
Impacted Files Coverage Δ
geotrek/common/mixins/models.py 97.98% <100.00%> (+0.22%) ⬆️
geotrek/core/models.py 96.66% <100.00%> (-0.05%) ⬇️
geotrek/diving/models.py 99.24% <100.00%> (ø)
geotrek/feedback/models.py 97.75% <100.00%> (-0.01%) ⬇️
geotrek/infrastructure/models.py 100.00% <100.00%> (ø)
geotrek/land/models.py 100.00% <100.00%> (ø)
geotrek/land/views.py 100.00% <100.00%> (ø)
geotrek/maintenance/models.py 94.85% <100.00%> (+0.02%) ⬆️
geotrek/outdoor/models.py 99.66% <100.00%> (-0.01%) ⬇️
geotrek/sensitivity/models.py 100.00% <100.00%> (ø)
... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@cypress
Copy link

cypress bot commented Jan 23, 2023



Test summary

24 0 0 0


Run details

Project Geotrek-admin
Status Passed
Commit 91f388e ℹ️
Started Jan 23, 2023 4:23 AM
Ended Jan 23, 2023 4:26 AM
Duration 03:04 💡
OS Linux Ubuntu - 20.04
Browser Electron 94

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@submarcos submarcos merged commit f33f35e into master Jan 25, 2023
@dependabot dependabot bot deleted the dependabot/pip/asgiref-3.6.0 branch January 25, 2023 14:39
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.

1 participant