Re: [Django] #35303: Add async implementations to contrib.auth backends

2024-08-01 Thread Django
#35303: Add async implementations to contrib.auth backends
--+--
 Reporter:  Jon Janzen|Owner:  Jon Janzen
 Type:  New feature   |   Status:  assigned
Component:  contrib.auth  |  Version:  5.0
 Severity:  Normal|   Resolution:
 Keywords:  async auth| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+--
Changes (by Sarah Boyce):

 * needs_better_patch:  0 => 1

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701910d5ef72b-71fd81fd-73d2-40dc-84a0-faef659caa8e-00%40eu-central-1.amazonses.com.


Re: [Django] #35303: Add async implementations to contrib.auth backends

2024-04-06 Thread Django
#35303: Add async implementations to contrib.auth backends
--+--
 Reporter:  Jon Janzen|Owner:  Jon Janzen
 Type:  New feature   |   Status:  assigned
Component:  contrib.auth  |  Version:  5.0
 Severity:  Normal|   Resolution:
 Keywords:  async auth| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+--
Changes (by Jon Janzen):

 * has_patch:  0 => 1

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018eb53ea6f6-bb56a4c8-b5ad-45a7-b6ba-f280942639fe-00%40eu-central-1.amazonses.com.


Re: [Django] #35303: Add async implementations to contrib.auth backends

2024-03-31 Thread Django
#35303: Add async implementations to contrib.auth backends
--+--
 Reporter:  Jon Janzen|Owner:  Jon Janzen
 Type:  New feature   |   Status:  assigned
Component:  contrib.auth  |  Version:  5.0
 Severity:  Normal|   Resolution:
 Keywords:  async auth| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+--
Comment (by Jon Janzen):

 [https://github.com/django/django/pull/18036 PR]
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e960fef64-7f584ae8-c275-4586-ab61-ff4c5ce69048-00%40eu-central-1.amazonses.com.


Re: [Django] #35303: Add async implementations to contrib.auth backends

2024-03-15 Thread Django
#35303: Add async implementations to contrib.auth backends
--+--
 Reporter:  Jon Janzen|Owner:  Jon Janzen
 Type:  New feature   |   Status:  assigned
Component:  contrib.auth  |  Version:  5.0
 Severity:  Normal|   Resolution:
 Keywords:  async auth| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+--
Changes (by Carlton Gibson):

 * cc: Carlton Gibson (added)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e4101fd89-244a5a6b-da8c-4217-a0f9-cda819ad38f0-00%40eu-central-1.amazonses.com.


Re: [Django] #35303: Add async implementations to contrib.auth backends

2024-03-14 Thread Django
#35303: Add async implementations to contrib.auth backends
--+--
 Reporter:  Jon Janzen|Owner:  Jon Janzen
 Type:  New feature   |   Status:  assigned
Component:  contrib.auth  |  Version:  5.0
 Severity:  Normal|   Resolution:
 Keywords:  async auth| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+--
Changes (by Mariusz Felisiak):

 * owner:  nobody => Jon Janzen
 * stage:  Unreviewed => Accepted
 * status:  new => assigned

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e408b456d-831363d7-7308-47e7-b56d-d4cc0f1874eb-00%40eu-central-1.amazonses.com.


[Django] #35303: Add async implementations to contrib.auth backends

2024-03-14 Thread Django
#35303: Add async implementations to contrib.auth backends
+
   Reporter:  Jon Janzen|  Owner:  nobody
   Type:  New feature   | Status:  new
  Component:  contrib.auth  |Version:  5.0
   Severity:  Normal|   Keywords:  async auth
   Triage Stage:  Unreviewed|  Has patch:  0
Needs documentation:  0 |Needs tests:  0
Patch needs improvement:  0 |  Easy pickings:  0
  UI/UX:  0 |
+
 In previous tickets (TODO) we've added an async interface to contrib.auth
 and then added async implementations to relevant dependencies in other
 parts of Django.

 The time has come to tie all that work together and provide context-
 switch-free async implementations of auth backends (to the extent possible
 within the current limitations of async django, namely that async ORM
 backends do not exist in main yet)

 More reading here: https://forum.djangoproject.com/t/asyncifying-django-
 contrib-auth-and-signals-and-maybe-sessions/18770

 Quoting from myself in that doc:

   Once the prereqs are done ([see tickets above]), we could asyncify the
 internals of the auth app. This would allow for async-compatible backends
 and then take advantage of them to make the internals of the auth app
 fully async (if called from an async API entrypoint, like the alogin
 function that would be implemented in [above initial ticket]).

   Note that I said async-COMPATIBLE. I envision that subclasses of
 auth.backends.BaseBackend would have several new functions added to
 support async-mode while still supporting sync-mode in the same classes.
 Default implementations of async-mode would be added automatically via
 sync_to_async, and implementers are free to choose to add async support or
 leave the default, slightly inefficient implementation in place.

 You can see a prototype of the implementation on my fork:
 https://github.com/bigfootjon/django/compare/main...bigfootjon:django
 :async-contrib-auth
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e400a6b4a-419616cd-feea-4cd6-88a3-92a212c8ec02-00%40eu-central-1.amazonses.com.