#34930: Parallel tests fail on Python 3.11+ and MacOS.
-------------------------------------+-------------------------------------
Reporter: Matt Hegarty | Owner: nobody
Type: Bug | Status: closed
Component: Testing framework | Version: 4.2
Severity: Normal | Resolution: needsinfo
Keywords: pickle | Triage Stage:
_contextvars.Context _contextvars | Unreviewed
Context |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Matt Hegarty):
- Reproducible on Ubuntu and MacOS
- using python 3.11 or 3.12 (3.10 is ok)
- using Django 4.1 or higher (4.0.10 is ok)
- Needs to have 2 or more test classes
- 1 class has to subclass IsolatedAsyncioTestCase
This will show the issue:
{{{
git clone [email protected]:matthewhegarty/tutorial.git
cd tutorial
mkvirtualenv -p `which python3.11` -r requirements.txt tutorial-311
# fails
./manage.py test --parallel
# ok
./manage.py test
}}}
Some other testing
- Django 4.0.10 [OK]
- Django 4.1 [FAIL] (but with different error)
- Django 4.1.1 [FAIL] (error from
https://code.djangoproject.com/ticket/34010)
- Django 4.1.2 [FAIL] (first instance of this error)
- Django 4.1.8 [FAIL]
--
Ticket URL: <https://code.djangoproject.com/ticket/34930#comment:2>
Django <https://code.djangoproject.com/>
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018b6de2c049-8a0d32e6-7813-4879-a2a4-0d2ca77ccac9-000000%40eu-central-1.amazonses.com.