diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-11 03:04:40 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-11 03:04:40 -0500 |
| commit | 755ecc63c34034b68719f6dac52aa76ba08bbe5c (patch) | |
| tree | 54b8b213b345547f9f11cba1eedb2c70282949ec /dev-python/django | |
| parent | ed2e0f29bf24219e96271574d9c99c971dff3698 (diff) | |
| download | baldeagleos-repo-755ecc63c34034b68719f6dac52aa76ba08bbe5c.tar.gz baldeagleos-repo-755ecc63c34034b68719f6dac52aa76ba08bbe5c.tar.xz baldeagleos-repo-755ecc63c34034b68719f6dac52aa76ba08bbe5c.zip | |
Adding metadata
Diffstat (limited to 'dev-python/django')
| -rw-r--r-- | dev-python/django/django-5.2.16.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/django/files/django-5.2.7-py314.patch | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/django/django-5.2.16.ebuild b/dev-python/django/django-5.2.16.ebuild index bb3edcdefc2e..0026943f79ae 100644 --- a/dev-python/django/django-5.2.16.ebuild +++ b/dev-python/django/django-5.2.16.ebuild @@ -55,6 +55,8 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/django-4.0-bashcomp.patch # d55979334dcefdb11626220000bec97ade09df07 + # 2026-07-10: force "fork" method in tests anyway, as we're hitting + # random failures anyway "${FILESDIR}"/django-5.2.7-py314.patch # based on upstream commits: # b1a65eac7c09250d36e12464fc8fff2a401246b6 diff --git a/dev-python/django/files/django-5.2.7-py314.patch b/dev-python/django/files/django-5.2.7-py314.patch index ba3fa0b0e617..6849073d35e2 100644 --- a/dev-python/django/files/django-5.2.7-py314.patch +++ b/dev-python/django/files/django-5.2.7-py314.patch @@ -131,3 +131,15 @@ index 4f13cceeff..c6ce7f1e1d 100644 self.assertEqual(get_max_test_processes(), 1) with mock.patch.dict(os.environ, {"DJANGO_TEST_PROCESSES": "7"}): self.assertEqual(get_max_test_processes(), 1) +diff --git a/tests/runtests.py b/tests/runtests.py +index 2c92af0389..3f9892f2ca 100755 +--- a/tests/runtests.py ++++ b/tests/runtests.py +@@ -519,6 +519,7 @@ def paired_tests(paired_test, options, test_labels, start_at, start_after): + + + if __name__ == "__main__": ++ multiprocessing.set_start_method("fork") + # Create a specific subdirectory for the duration of the test suite. + TMPDIR = tempfile.mkdtemp(prefix="django_") + # Set the TMPDIR environment variable in addition to tempfile.tempdir |
