[Django] #27439: Document how to add locale for osX on Unit Tests/Troubleshooting section for contribution

4 views
Skip to first unread message

Django

unread,
Nov 5, 2016, 7:40:52 AM11/5/16
to django-...@googlegroups.com
#27439: Document how to add locale for osX on Unit Tests/Troubleshooting section
for contribution
------------------------------------------------+------------------------
Reporter: Patricia Sousa | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.10
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
A lot of errors on the test run for contributors have to do with incorrect
locale settings.
There is a troubleshooting section for this that provides instructions for
Debian (https://docs.djangoproject.com/en/1.10/internals/contributing
/writing-code/unit-tests/#troubleshooting).

Add documentation on how to set this definitions for osX.

This solution worked for me:
Check locales: `$ locale`
As `LANG` wasn't set, the following command
`export LANG=en_US.UTF-8`
set the LANG and tests ran successfully.

--
Ticket URL: <https://code.djangoproject.com/ticket/27439>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Nov 5, 2016, 10:28:33 AM11/5/16
to django-...@googlegroups.com
#27439: Document how to add locale for osX on Unit Tests/Troubleshooting section
for contribution
-------------------------------------+-------------------------------------
Reporter: Patricia Sousa | Owner: alix-
Type: | Status: assigned
Cleanup/optimization |
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by alix-):

* owner: nobody => alix-
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/27439#comment:1>

Django

unread,
Nov 5, 2016, 10:28:45 AM11/5/16
to django-...@googlegroups.com
#27439: Document how to add locale for osX on Unit Tests/Troubleshooting section
for contribution
-------------------------------------+-------------------------------------
Reporter: Patricia Sousa | Owner: alix-
Type: | Status: assigned
Cleanup/optimization |
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 1

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by alix-):

* needs_docs: 0 => 1
* easy: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/27439#comment:2>

Django

unread,
Nov 5, 2016, 11:30:11 AM11/5/16
to django-...@googlegroups.com
#27439: Document how to add locale for osX on Unit Tests/Troubleshooting section
for contribution
-------------------------------------+-------------------------------------
Reporter: Patricia Sousa | Owner: alix-
Type: | Status: assigned
Cleanup/optimization |
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by alix-):

* needs_docs: 1 => 0
* has_patch: 0 => 1


Comment:

PR https://github.com/django/django/pull/7501

--
Ticket URL: <https://code.djangoproject.com/ticket/27439#comment:3>

Django

unread,
Nov 5, 2016, 12:11:17 PM11/5/16
to django-...@googlegroups.com
#27439: Document how to add locale for osX on Unit Tests/Troubleshooting section
for contribution
-------------------------------------+-------------------------------------
Reporter: Patricia Sousa | Owner: alix-
Type: | Status: assigned
Cleanup/optimization |
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Saulius Žemaitaitis):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/27439#comment:4>

Django

unread,
Nov 8, 2016, 7:08:29 PM11/8/16
to django-...@googlegroups.com
#27439: Document how to add locale for osX on Unit Tests/Troubleshooting section
for contribution
--------------------------------------+------------------------------------

Reporter: Patricia Sousa | Owner: alix-
Type: Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/27439#comment:5>

Django

unread,
Dec 20, 2016, 1:21:34 PM12/20/16
to django-...@googlegroups.com
#27439: Document how to add locale for osX on Unit Tests/Troubleshooting section
for contribution
--------------------------------------+------------------------------------
Reporter: Patricia Sousa | Owner: alix-
Type: Cleanup/optimization | Status: closed
Component: Documentation | Version: 1.10
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):

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


Comment:

In [changeset:"0a8c685447eea8fc7aa34ea444a3156ee489379f" 0a8c6854]:
{{{
#!CommitTicketReference repository=""
revision="0a8c685447eea8fc7aa34ea444a3156ee489379f"
Fixed #27439 -- Documented macOS locale configuration for Django tests.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27439#comment:6>

Django

unread,
Dec 20, 2016, 1:21:44 PM12/20/16
to django-...@googlegroups.com
#27439: Document how to add locale for osX on Unit Tests/Troubleshooting section
for contribution
--------------------------------------+------------------------------------
Reporter: Patricia Sousa | Owner: alix-
Type: Cleanup/optimization | Status: closed
Component: Documentation | Version: 1.10

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"1a039e76c74c5dbea0943782bfba9924e8051a4e" 1a039e76]:
{{{
#!CommitTicketReference repository=""
revision="1a039e76c74c5dbea0943782bfba9924e8051a4e"
[1.10.x] Fixed #27439 -- Documented macOS locale configuration for Django
tests.

Backport of 0a8c685447eea8fc7aa34ea444a3156ee489379f from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27439#comment:7>

Reply all
Reply to author
Forward
0 new messages