Monthly dependency upgrade of 2026-11: allauth 65.21 and cotton 2.8 break the suite #1220

Closed
opened 2026-11-05 21:09:39 +00:00 by tiagoagueda · 0 comments
Owner

The scheduled dependency upgrade of 2026-11-03 (Actions run 1856) did not propose its pull request: its quick check failed with 87 failed, 10 errors out of about 21,250 tests. Two packages caused it.

  • django-allauth 65.20 → 65.21
    • allauth.core.internal.ratelimit.consume() and clear() now require app=. accounts/adapter.py calls both for the sign-in counts (#744), so every password sign-in raised a TypeError.
    • The session's authentication records now belong to one account. get_authentication_records(request) without a user returns an empty list. accounts/stages.py (the operator's single-sign-on rule) and accounts/reauth.py (the recent-sign-in check, #741) call it that way. Both would silently see no sign-in.
    • The test helpers that write the records by hand don't write the owner key allauth now checks.
  • django-cotton 2.7 → 2.8: COTTON_ENABLE_CONTEXT_ISOLATION is deprecated for COTTON_ISOLATE_BY_DEFAULT, and isolation no longer runs the context processors once per component. test_components.py pins the old cost.

Everything else moved cleanly, including python-dateutil 2.9 → 4.0, which Postulo does not use directly.

🤖 Generated with Claude Code

The scheduled dependency upgrade of 2026-11-03 (Actions run 1856) did not propose its pull request: its quick check failed with **87 failed, 10 errors** out of about 21,250 tests. Two packages caused it. - **django-allauth 65.20 → 65.21** - `allauth.core.internal.ratelimit.consume()` and `clear()` now require `app=`. `accounts/adapter.py` calls both for the sign-in counts (#744), so every password sign-in raised a `TypeError`. - The session's authentication records now belong to one account. `get_authentication_records(request)` without a user returns **an empty list**. `accounts/stages.py` (the operator's single-sign-on rule) and `accounts/reauth.py` (the recent-sign-in check, #741) call it that way. Both would silently see no sign-in. - The test helpers that write the records by hand don't write the owner key allauth now checks. - **django-cotton 2.7 → 2.8**: `COTTON_ENABLE_CONTEXT_ISOLATION` is deprecated for `COTTON_ISOLATE_BY_DEFAULT`, and isolation no longer runs the context processors once per component. `test_components.py` pins the old cost. Everything else moved cleanly, including python-dateutil 2.9 → 4.0, which Postulo does not use directly. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Postulo/postulo#1220
No description provided.