=== ebarretto_ is now known as ebarretto === pieq_ is now known as pie === pie is now known as pieq [10:05] mwhudson, pam is packaged oddy https://salsa.debian.org/vorlon/pam/-/merge_requests/1 [10:07] rbalint: huh [10:07] rbalint: it seems unevenly strange as well, i had to poke dpkg-source with a stick to make it behave with the xenial source package [10:20] mwhudson, yes, i had the same experience when i had to update the package :-\ [11:00] how does update-manager get triggered to appear when it needs to? [11:00] it doesn't appear to be done directly, does some other component poke it? [11:02] I just want to be able to tickle that trigger manually so I can pretend it was automatic [11:04] ok update-manager --no-update [12:21] doko: tlp should pop up as MIR, let me handle opening MIR ticket for it and subscribing the right people to it. === pitti is now known as pitti` === pitti` is now known as pitti [13:28] Laney, iirc update-notifier does spawn it [13:28] yeah [13:28] merci for the confirmation [13:57] ddstreet: New shiny: https://launchpad.net/ubuntu/+source/software-properties/0.99.0 [13:57] ddstreet: I followed up on the ML as well. [13:58] Thank you for writing tests. Unfortunately, one failed. :P [13:59] I can fix it since it's just pyflakes. [14:14] test_pyflakes3_clean (tests.test_pyflakes.TestPyflakesClean) ... ok [14:14] Sweet. [14:46] $ LC_ALL=en_GB.UTF-8 python3 -c 'import locale;print(locale.getlocale(locale.LC_TIME))' [14:46] (None, None) [14:46] Why? Shouldn't that be ('en_GB', 'UTF-8')? [14:46] I'm trying to write an assertion to ensure that LC_TIME is C.UTF-8. Help? [14:53] rbasak: $ LC_ALL=en_GB.UTF-8 python3 -c 'import locale;print(locale.getlocale())' [14:53] ('en_GB', 'UTF-8') [14:53] $ python3 -c 'import locale;print(locale.getlocale())' [14:53] ('en_US', 'UTF-8') [14:53] $ LC_ALL=en_GB.UTF-8 python3 -c 'import locale;print(locale.LC_TIME)' [14:53] 2 [14:56] tsimonq2: what does '2' mean? [14:56] rbasak: Very good question. I'm trying to figure that out. [14:56] https://docs.python.org/3/library/locale.html#locale.LC_TIME says "Locale category for the formatting of time." [14:56] But where are the categories? Hm. [14:57] I get (None, None) [14:59] print(locale.LC_TIME) =/ print(locale.getlocale(locale.LC_TIME)) [14:59] locale.getlocale() is likely what you're looking for. [15:03] $ LC_ALL=C.UTF-8 python3 -c 'import locale;print(locale.getlocale())' [15:03] ('en_US', 'UTF-8') [15:03] ...oh? [15:03] Yeah that happens too [15:03] locale.getlocale() won't necessarily tell me about a differently set LC_TIME though [15:04] I mean, you could just get the env var. :P [15:04] I want to assert how Python's datetime.strptime will behave [15:04] It seems to me that Python's behaviour will not follow the env var! [15:25] rbasak: You need locale.setlocale(locale.LC_ALL, '') first to enable localisation [15:25] $ LC_ALL=en_GB.UTF-8 python3 -c 'import locale; locale.setlocale(locale.LC_ALL, ""); print(locale.getlocale(locale.LC_TIME))' [15:25] ('en_GB', 'UTF-8') [15:26] bdmurray: question about teams which can own packages in main - where is that defined? is there just one place? [15:28] (It's the same in C. Localisation isn't generally switched on until the process has called setlocale(LC_ALL, "").) [15:45] cjwatson: thanks, but I tried: [15:45] $ LC_ALL=en_GB.UTF-8 python3 -c 'import locale; locale.setlocale(locale.LC_ALL, ''); print(locale.getlocale(locale.LC_TIME))' [15:45] (None, None) [15:45] I don't see a difference between that and your suggestion [15:46] Oh, but yours does work [15:46] Ah [15:46] Because my quotes were broken [15:46] Thanks :) [15:48] Laney: https://bazaar.launchpad.net/~ubuntu-archive/ubuntu-archive-tools/trunk/view/head:/package-subscribers#L116 [15:48] So in that case, if I want to assert that strptime will behave as if in the C.UTF-8 locale, I can run _only_ locale.getlocale(locale.LC_TIME), right? And if the output is (None, None) OR ('C', 'UTF-8') [that one never seems to happen] OR ('en_US', 'UTF-8') then I'm good? [15:48] bryyce: ^ [15:49] bdmurray: sweet [15:50] Laney: did you see https://code.launchpad.net/~brian-murray/britney/britney1-backlog-report-update/+merge/387796? [15:50] nope [15:50] lemme see [15:51] oh my [15:51] this thing should use the yaml! [15:52] Probably but we are writing zeroes to a KPI right now. [15:52] yeah, ok, lemme look [15:58] bdmurray: done, thanks for the nudge [15:58] I think that should get pulled automatically [15:59] rbasak, ah, got it sorted? [16:00] bryyce: I think so. I just this moment pushed a replacement branch that I think should be acceptable. [16:00] Thanks to Colin for clarifying how it's supposed to work. [16:02] rbasak, great, will take a look at the MP [16:57] rbasak, MP reviewed === ijohnson is now known as ijohnson|lunch [17:06] Thanks! === ijohnson|lunch is now known as ijohnson