Debian Patches

Status for python-django/3:4.2.27-2

Patch Description Author Forwarded Bugs Origin Last update
0001-disable-sources-in-sphinxdoc.diff Disable creation of _sources directory by Sphinx
We do this to save some space as the sources of the documentation
are not really useful in a binary package.
.
This is a Debian specific patch.
=?utf-8?q?Rapha=C3=ABl_Hertzog?= <hertzog@debian.org> not-needed vendor 2015-10-11
0002-use_debian_geoip_database_as_default.diff Use Debian GeoIP database path as default
Default to Debian standard path for GeoIP directory and for GeoIP city
file. Avoids the need to declare them in each project.
.
This is a Debian specific patch.
Tapio Rantala <tapio.rantala@iki.fi> not-needed debian 2015-10-11
0004-Use-locally-installed-documentation-sources.patch Use locally installed documentation sources Brian May <bam@debian.org> no 2017-06-24
0004-Set-the-default-shebang-to-new-projects-to-use-Pytho.patch Set the default shebang to new projects to use Python 3. Chris Lamb <lamby@debian.org> no 2017-09-24
py313-test-help-default-options-with-custom-arguments.patch Refs #34900 -- Fixed CommandTypes.test_help_default_options_with_custom_arguments test on Python
3.13+.

https://github.com/python/cpython/commit/c4a2e8a2c5188c3288d57b80852e92c83f46f6f3
Mariusz Felisiak <felisiak.mariusz@gmail.com> yes debian upstream backport, https://github.com/django/django/commit/3426a5c33c36266af42128ee9eca4921e68ea876 2025-01-02
postgresql-18-skip-not-null-constraints.patch Skipped NOT NULL constraints on PostgreSQL 18+.
PostgreSQL 18+ stores column "NOT NULL" specifications in pg_constraint.

https://www.postgresql.org/docs/release/18.0/
Mariusz Felisiak <felisiak.mariusz@gmail.com> no debian upstream, https://github.com/django/django/pull/19910 2025-10-22
py314-test-runner-parallel.patch Refs #35844 -- Fixed tests for test --parallel option on Python 3.14+.

"forkserver" is the new default on POSIX systems, and Django doesn't
support parallel tests with "forkserver":

https://github.com/python/cpython/commit/b65f2cdfa77d8d12c213aec663ddaaa30d75a4b2
Mariusz Felisiak <felisiak.mariusz@gmail.com> no debian upstream, https://github.com/django/django/pull/18685 2025-12-17
py314-copy-BaseContext.patch Refs #35844 -- Fixed copying BaseContext and its subclasses on Python 3.14+.

super objects are copyable on Python 3.14+:

https://github.com/python/cpython/commit/5ca4e34bc1aab8321911aac6d5b2b9e75ff764d8

and can no longer be used in BaseContext.__copy__().
Mariusz Felisiak <felisiak.mariusz@gmail.com> no debian backport, https://github.com/django/django/pull/18824 2025-12-17
py314-test-prefetch-related-queryset.patch Refs #35844 -- Fixed OtherModelFormTests.test_prefetch_related_queryset() test on Python 3.14+.

https://github.com/python/cpython/commit/5a23994a3dbee43a0b08f5920032f60f38b63071
Mariusz Felisiak <felisiak.mariusz@gmail.com> no debian backport, https://github.com/django/django/pull/18953.patch 2025-12-17
test-strip-tags-incomplete-entities.patch Refs #36499 -- Adjusted test_strip_tags following Python behavior change for incomplete entities. Jacob Walls <jacobtylerwalls@gmail.com> no debian backport, https://github.com/django/django/pull/20390 2025-12-17

All known versions for source package 'python-django'

Links