Re: tests failing without specific locales

2022-06-09 Thread Guilhem Moulin
Hi, On Thu, 09 Jun 2022 at 08:38:40 +0200, Marc Haber wrote: > On Thu, Jun 09, 2022 at 02:28:48PM +0800, Paul Wise wrote: >> On Thu, 2022-06-09 at 07:28 +0200, Marc Haber wrote: >>> I am working on a package written in python that thankfully has a >>> test suite. Unfortunately, one of the tests

Re: tests failing without specific locales

2022-06-09 Thread Marc Haber
On Thu, Jun 09, 2022 at 10:55:34AM +0200, Mattia Rizzolo wrote: > On Thu, Jun 09, 2022 at 04:37:45PM +0800, Paul Wise wrote: > > Or send upstream a patch to take the locale from the environment > > variables. Of course then tests might fail if someone uses a weird > > locale and the test results

Re: tests failing without specific locales

2022-06-09 Thread Mattia Rizzolo
On Thu, Jun 09, 2022 at 04:37:45PM +0800, Paul Wise wrote: > On Thu, 2022-06-09 at 08:38 +0200, Marc Haber wrote: > > I havent looked at the test in detail, I have not yet decided whether > > the package would be helpful in Debian. It looks like the test has > > en_GB.UTF-8 hardcoded, sets the

Re: tests failing without specific locales

2022-06-09 Thread Paul Wise
On Thu, 2022-06-09 at 08:38 +0200, Marc Haber wrote: > I havent looked at the test in detail, I have not yet decided whether > the package would be helpful in Debian. It looks like the test has > en_GB.UTF-8 hardcoded, sets the locale to that value and then fails > it it's not there. Most likely

Re: tests failing without specific locales

2022-06-09 Thread Marc Haber
Hi Paul, thanks for your quick answer. On Thu, Jun 09, 2022 at 02:28:48PM +0800, Paul Wise wrote: > On Thu, 2022-06-09 at 07:28 +0200, Marc Haber wrote: > > I am working on a package written in python that thankfully has a > > test suite. Unfortunately, one of the tests fails if the en_GB.UTF-8

Re: tests failing without specific locales

2022-06-09 Thread Paul Wise
On Thu, 2022-06-09 at 07:28 +0200, Marc Haber wrote: > I am working on a package written in python that thankfully has a > test suite. Unfortunately, one of the tests fails if the en_GB.UTF-8 > locale is not present. Any idea why the test requires that locale? Tried C.UTF-8? > How do I solve

tests failing without specific locales

2022-06-08 Thread Marc Haber
Hi, I am working on a package written in python that thankfully has a test suite. Unfortunately, one of the tests fails if the en_GB.UTF-8 locale is not present. How do I solve this? Do I need to build-depend on the locales-all package or is there a less ugly way? Greetings Marc --