Re: [Django] #36376: Respect --no-color for command help on python 3.14

6 views
Skip to first unread message

Django

unread,
Dec 19, 2025, 2:54:50 PM12/19/25
to django-...@googlegroups.com
#36376: Respect --no-color for command help on python 3.14
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Sachi
| Jain
Type: Bug | Status: assigned
Component: Core (Management | Version: 6.0
commands) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* needs_docs: 0 => 1
* version: 5.2 => 6.0

Comment:

That said, I don't think we have to backport all the way to 5.2
necessarily. I'm open to advice.
--
Ticket URL: <https://code.djangoproject.com/ticket/36376#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 19, 2025, 7:12:04 PM12/19/25
to django-...@googlegroups.com
#36376: Respect --no-color for command help on python 3.14
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Sachi
| Jain
Type: Bug | Status: assigned
Component: Core (Management | Version: 6.0
commands) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Adam Johnson):

I think I would backport it as a bugfix. Disabling colourization is
sometimes important for accessibility or CI scripts, and leaving users who
upgrade to Python 3.14 with new colours they can't disable feels like a
minor bug to me.
--
Ticket URL: <https://code.djangoproject.com/ticket/36376#comment:11>

Django

unread,
Dec 22, 2025, 9:17:39 AM12/22/25
to django-...@googlegroups.com
#36376: Respect --no-color for command help on python 3.14
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Sachi
| Jain
Type: Bug | Status: assigned
Component: Core (Management | Version: 5.2
commands) |
Severity: Release blocker | Resolution:
Keywords: 3.14, color | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* keywords: => 3.14, color
* version: 6.0 => 5.2

Comment:

I agree, and the vector for regressions is pretty low.
--
Ticket URL: <https://code.djangoproject.com/ticket/36376#comment:12>

Django

unread,
Dec 22, 2025, 12:50:21 PM12/22/25
to django-...@googlegroups.com
#36376: Respect --no-color for command help on python 3.14
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Sachi
| Jain
Type: Bug | Status: assigned
Component: Core (Management | Version: 5.2
commands) |
Severity: Release blocker | Resolution:
Keywords: 3.14, color | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* needs_better_patch: 1 => 0
* needs_docs: 1 => 0
* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/36376#comment:13>

Django

unread,
Dec 22, 2025, 2:02:33 PM12/22/25
to django-...@googlegroups.com
#36376: Respect --no-color for command help on python 3.14
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Sachi
| Jain
Type: Bug | Status: closed
Component: Core (Management | Version: 5.2
commands) |
Severity: Release blocker | Resolution: fixed
Keywords: 3.14, color | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):

* resolution: => fixed
* status: assigned => closed

Comment:

In [changeset:"d0d85cd165e54582cce98cf685252e771460a9d4" d0d85cd]:
{{{#!CommitTicketReference repository=""
revision="d0d85cd165e54582cce98cf685252e771460a9d4"
Fixed #36376 -- Fixed --no-color for command help in Python 3.14+.

https://github.com/python/cpython/pull/136809 made `color` default to
True in ArgumentParser.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36376#comment:14>

Django

unread,
Dec 22, 2025, 2:06:42 PM12/22/25
to django-...@googlegroups.com
#36376: Respect --no-color for command help on python 3.14
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Sachi
| Jain
Type: Bug | Status: closed
Component: Core (Management | Version: 5.2
commands) |
Severity: Release blocker | Resolution: fixed
Keywords: 3.14, color | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):

In [changeset:"b0befe1d40fcfef3086472419ae2ce9c0a5f1610" b0befe1]:
{{{#!CommitTicketReference repository=""
revision="b0befe1d40fcfef3086472419ae2ce9c0a5f1610"
[6.0.x] Fixed #36376 -- Fixed --no-color for command help in Python 3.14+.

https://github.com/python/cpython/pull/136809 made `color` default to
True in ArgumentParser.

Backport of d0d85cd165e54582cce98cf685252e771460a9d4 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36376#comment:15>

Django

unread,
Dec 22, 2025, 2:08:58 PM12/22/25
to django-...@googlegroups.com
#36376: Respect --no-color for command help on python 3.14
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Sachi
| Jain
Type: Bug | Status: closed
Component: Core (Management | Version: 5.2
commands) |
Severity: Release blocker | Resolution: fixed
Keywords: 3.14, color | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):

In [changeset:"8346657aaff7da999dca32574e6595f8c9543a0c" 8346657a]:
{{{#!CommitTicketReference repository=""
revision="8346657aaff7da999dca32574e6595f8c9543a0c"
[5.2.x] Fixed #36376 -- Fixed --no-color for command help in Python 3.14+.

https://github.com/python/cpython/pull/136809 made `color` default to
True in ArgumentParser.

Backport of d0d85cd165e54582cce98cf685252e771460a9d4 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36376#comment:16>
Reply all
Reply to author
Forward
0 new messages