Bug 2458667 - python-django-allauth fails to build with Python 3.15: AssertionError: assert 'Flow.PROVIDER_SIGNUP' == 'provider_signup'
Summary: python-django-allauth fails to build with Python 3.15: AssertionError: asser...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-django-allauth
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michel Lind
QA Contact:
URL:
Whiteboard:
: 2485845 (view as bug list)
Depends On:
Blocks: PYTHON3.15 F45FTBFS F45FailsToInstall 2485848 2485878 2485896 2485924
TreeView+ depends on / blocked
 
Reported: 2026-04-15 12:17 UTC by Karolina Surma
Modified: 2026-06-26 00:59 UTC (History)
8 users (show)

Fixed In Version: python-django-allauth-65.18.0-1.fc44
Clone Of:
Environment:
Last Closed: 2026-06-18 10:26:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2026-04-15 12:17:09 UTC
python-django-allauth fails to build with Python 3.15.0a8.

8 tests fail with what looks for all of them as a different representation of objects, leading to AssertionErrors:

_________________________ test_signup_closed[browser] __________________________

client = <django.test.client.Client object at 0x7ff991e37570>
headless_reverse = <function headless_reverse.<locals>.rev at 0x7ff991e59c70>
db = None
settings = <pytest_django.fixtures.SettingsWrapper object at 0x7ff993bc3430>

    def test_signup_closed(client, headless_reverse, db, settings):
        settings.ACCOUNT_EMAIL_VERIFICATION = "mandatory"
        settings.ACCOUNT_EMAIL_REQUIRED = True
        settings.ACCOUNT_USERNAME_REQUIRED = False
        id_token = json.dumps(
            {
                "id": 123,
            }
        )
        resp = client.post(
            headless_reverse("headless:socialaccount:provider_token"),
            data={
                "provider": "dummy",
                "token": {
                    "id_token": id_token,
                },
                "process": AuthProcess.LOGIN,
            },
            content_type="application/json",
        )
        assert resp.status_code == HTTPStatus.UNAUTHORIZED
        pending_flow = [f for f in resp.json()["data"]["flows"] if f.get("is_pending")][0]
>       assert pending_flow["id"] == "provider_signup"
E       AssertionError: assert 'Flow.PROVIDER_SIGNUP' == 'provider_signup'
E         
E         - provider_signup
E         + Flow.PROVIDER_SIGNUP

allauth/headless/socialaccount/tests/test_views.py:353: AssertionError

https://docs.python.org/3.15/whatsnew/3.15.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/10318668-python-django-allauth/

For all our attempts to build python-django-allauth with Python 3.15, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-django-allauth/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.15:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15/

Let us know here if you have any questions.

Python 3.15 is planned to be included in Fedora 45.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Karolina Surma 2026-06-06 18:21:56 UTC
*** Bug 2485845 has been marked as a duplicate of this bug. ***

Comment 2 Fedora Fails To Install 2026-06-14 08:30:49 UTC
Hello,

Please note that this comment was generated automatically by https://forge.fedoraproject.org/releng/tooling/src/branch/main/release-process/bug-filing/follow-policy/follow_policy.py
If you feel that this output has mistakes, please open an issue at https://forge.fedoraproject.org/releng/tickets/issues

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 3 Fedora Update System 2026-06-16 15:24:11 UTC
FEDORA-2026-2c5cde060d (python-django-allauth-65.18.0-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-2c5cde060d

Comment 4 Fedora Update System 2026-06-18 04:59:10 UTC
FEDORA-2026-2c5cde060d has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-2c5cde060d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-2c5cde060d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Fails To Install 2026-06-18 10:26:44 UTC
Hello,

Please note that this comment was generated automatically by https://forge.fedoraproject.org/releng/tooling/src/branch/main/release-process/bug-filing/follow-policy/follow_policy.py
If you feel that this output has mistakes, please open an issue at https://forge.fedoraproject.org/releng/tickets/issues

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 45.

Thanks for taking care of it!

Comment 6 Fedora Update System 2026-06-26 00:59:04 UTC
FEDORA-2026-2c5cde060d (python-django-allauth-65.18.0-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.