<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/test_runner/tests.py, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-10-29T12:11:31Z</updated>
<entry>
<title>Fixed #36678 -- Limited retries in ParallelTestRunner.</title>
<updated>2025-10-29T12:11:31Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2025-10-21T23:09:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=1aa69a7491ce7f7f1f164a26a3dfaaa1aeeab217'/>
<id>urn:sha1:1aa69a7491ce7f7f1f164a26a3dfaaa1aeeab217</id>
<content type='text'>
Thanks Natalia Bidart for the review.
</content>
</entry>
<entry>
<title>Refs #36500 -- Rewrapped long docstrings and block comments via a script.</title>
<updated>2025-07-23T23:17:55Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2025-07-23T03:41:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=69a93a88edb56ba47f624dac7a21aacc47ea474f'/>
<id>urn:sha1:69a93a88edb56ba47f624dac7a21aacc47ea474f</id>
<content type='text'>
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
</content>
</entry>
<entry>
<title>Refs #35967 -- Deprecated BaseDatabaseCreation.create_test_db(serialize).</title>
<updated>2025-02-16T07:43:42Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2024-12-18T04:38:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=2d34ebe49a25d0974392583d5bbd954baf742a32'/>
<id>urn:sha1:2d34ebe49a25d0974392583d5bbd954baf742a32</id>
<content type='text'>
Given there are no longer any internal usages of serialize=True and it
poses a risk to non-test databases integrity it seems appropriate to
deprecate it.
</content>
</entry>
<entry>
<title>Fixed #35967 -- Deferred test suite fixtures serialization after all dbs setup.</title>
<updated>2025-02-16T06:58:15Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2024-12-11T05:37:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=dc69a63f844b2ef3bc3371edde91644cf0bef0ee'/>
<id>urn:sha1:dc69a63f844b2ef3bc3371edde91644cf0bef0ee</id>
<content type='text'>
While the top-level objects fed to serialization are bound to the test
database being created nothing prevents code invoked during
serialization from performing queries against other connections entries
that haven't been swapped yet.

The reported example of that is a database router directing all reads to
a test mirror for a set of models involving auto-created many-to-many
fields. It might be tempting to address the many-to-many field case but
this a symptom of a larger problem where the test framework yields the
flow execution to user code that could interact with non-test databases
in unexpected ways.

Deferring test database fixture serialization until the point where all
connections entries have been swapped for their test equivalent ensures
that no code triggered during serialization can interact with non-test
databases.

Thanks Jake Howard for the report and Jacob Walls for the initial
investigation.
</content>
</entry>
<entry>
<title>Fixed #36005 -- Dropped support for Python 3.10 and 3.11.</title>
<updated>2025-01-20T13:07:28Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2025-01-17T21:09:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f5772de69679efb54129ac1cbca3579b512778af'/>
<id>urn:sha1:f5772de69679efb54129ac1cbca3579b512778af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #35844 -- Fixed tests for test --parallel option on Python 3.14+.</title>
<updated>2024-10-24T14:41:37Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2024-10-24T14:41:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=34066d6cf3d66b8a3c7fac86912455dbb2ed0ed6'/>
<id>urn:sha1:34066d6cf3d66b8a3c7fac86912455dbb2ed0ed6</id>
<content type='text'>
"forkserver" is the new default on POSIX systems, and Django doesn't
support parallel tests with "forkserver":

https://github.com/python/cpython/commit/b65f2cdfa77d8d12c213aec663ddaaa30d75a4b2</content>
</entry>
<entry>
<title>Applied Black's 2024 stable style.</title>
<updated>2024-01-26T11:45:07Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2024-01-26T11:45:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=305757aec19c9d5111e4d76095ae0acd66163e4b'/>
<id>urn:sha1:305757aec19c9d5111e4d76095ae0acd66163e4b</id>
<content type='text'>
https://github.com/psf/black/releases/tag/24.1.0</content>
</entry>
<entry>
<title>Fixed #34825 -- Avoided setting unused connections when initializing parallel workers.</title>
<updated>2023-09-25T08:14:55Z</updated>
<author>
<name>David Sanders</name>
<email>shang.xiao.sanders@gmail.com</email>
</author>
<published>2023-09-22T09:21:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=a5905b164dbf52e59fa646af9c3d523c0804d86a'/>
<id>urn:sha1:a5905b164dbf52e59fa646af9c3d523c0804d86a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #34210 -- Added unittest's durations option to the test runner.</title>
<updated>2023-08-31T05:14:58Z</updated>
<author>
<name>David Smith</name>
<email>smithdc@gmail.com</email>
</author>
<published>2023-06-14T18:22:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=74b5074174d1749ee44df2f7ed418010a7a4ac70'/>
<id>urn:sha1:74b5074174d1749ee44df2f7ed418010a7a4ac70</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed ResourceWarning from unclosed SQLite connection on Python 3.13+.</title>
<updated>2023-08-23T07:09:23Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2023-08-23T07:09:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=dd45d5223b3c5640baefcb591782bbcff873b6bf'/>
<id>urn:sha1:dd45d5223b3c5640baefcb591782bbcff873b6bf</id>
<content type='text'>
- backends.sqlite.tests.ThreadSharing.test_database_sharing_in_threads
- backends.tests.ThreadTests.test_default_connection_thread_local:
    on SQLite, close() doesn't explicitly close in-memory connections.
- servers.tests.LiveServerInMemoryDatabaseLockTest
- test_runner.tests.SQLiteInMemoryTestDbs.test_transaction_support

Check out https://github.com/python/cpython/pull/108015.</content>
</entry>
</feed>
