[Django] #32608: Collation test fails on PostgreSQL on Windows due to missing locale

9 views
Skip to first unread message

Django

unread,
Mar 31, 2021, 1:46:00 PM3/31/21
to django-...@googlegroups.com
#32608: Collation test fails on PostgreSQL on Windows due to missing locale
------------------------------------------------+------------------------
Reporter: Ahmad A. Hussein | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Testing framework | Version: dev
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 |
------------------------------------------------+------------------------
https://github.com/django/django/blob/f83214a3e15ccadc9e2370dd157ed19bcdb07e2c/tests/schema/tests.py#L4028

This test fails on Windows with the specified locale. Changing ```locale =
'und-u-ks-level2'``` to ```locale = '@colStrength=secondary'``` fixes this
but I'm not sure why. I believe the locale used is
[https://www.postgresql.org/message-id/43f9b6b6-6fae-47bb-8f4d-
8e84af...@manitou-mail.org/ missing on earlier Windows PostgreSQL
installations].

Is this a bug in the code or a failure specific to my installation?

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

Django

unread,
Mar 31, 2021, 2:31:53 PM3/31/21
to django-...@googlegroups.com
#32608: Collation test fails on PostgreSQL on Windows due to missing locale
-------------------------------------+-------------------------------------

Reporter: Ahmad A. Hussein | Owner: nobody
Type: | Status: closed
Cleanup/optimization |

Component: Testing framework | Version: dev
Severity: Normal | Resolution: needsinfo

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 Mariusz Felisiak):

* status: new => closed
* resolution: => needsinfo


Comment:

Thanks for this report, however I don't think you've explained the issue
in enough detail to confirm a bug in schema test. It works for me on
PostgreSQL 12 and 13. Please reopen this ticket if you can provide more
details, especially why Django is at fault.

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

Reply all
Reply to author
Forward
0 new messages