Wednesday, 2023-02-08

*** JasonF is now known as JayF04:12
sahidhberaud: i have noticed that you have +2ed patch on osprofiler that is unblocking CI08:55
sahiddo you know an other core to approve it?08:55
sahidlools like we don't have lot of contributors for that project08:55
hberaudsahid: I'll +W it too09:02
hberauddone09:02
sahidhberaud: ++ that makes sense I guess09:02
opendevreviewHervé Beraud proposed openstack/oslo.utils master: Implement zoneinfo support to drop dependency to pytz  https://review.opendev.org/c/openstack/oslo.utils/+/87286209:12
opendevreviewHervé Beraud proposed openstack/oslo.utils master: Implement zoneinfo support to drop dependency to pytz  https://review.opendev.org/c/openstack/oslo.utils/+/87286209:18
hberaudfungi: o/ Please can have a look to this patch ^ when you will have spare time. Especially the tzdata part described in my commit message. I think that no time zone data are available by default in our gates env, else we wouldn't get the tzdata error, exact?09:21
opendevreviewRodolfo Alonso proposed openstack/oslo.privsep master: Setup logging without fixing evenlet logging  https://review.opendev.org/c/openstack/oslo.privsep/+/86425409:58
ralonsohhberaud, is it possible to have ^^ in the next release? That will help with the oslo.log issue solved in https://review.opendev.org/c/openstack/oslo.log/+/86425210:00
ralonsohthis patch is compatible with oslo.log < 5.0.2 and oslo.log 5.0.210:01
hberaudstephenfin: o/ please can you double check? https://review.opendev.org/c/openstack/oslo.log/+/86425210:03
hberaudralonsoh: yeah I think we can merge it asap and then release it once merged10:03
ralonsohhberaud, thanks a lot10:03
hberaudnp10:04
opendevreviewMerged openstack/osprofiler master: tox: Add functional-py38, functional-py39 envs  https://review.opendev.org/c/openstack/osprofiler/+/84071110:47
opendevreviewSahid Orentino Ferdjaoui proposed openstack/osprofiler master: jaeger: introduce service name prefix  https://review.opendev.org/c/openstack/osprofiler/+/87215210:52
opendevreviewSahid Orentino Ferdjaoui proposed openstack/osprofiler master: Change StrictRedis usage to Redis  https://review.opendev.org/c/openstack/osprofiler/+/85954310:53
opendevreviewSahid Orentino Ferdjaoui proposed openstack/osprofiler master: Add default port to Elasticsearch connection url  https://review.opendev.org/c/openstack/osprofiler/+/86041210:55
fungihberaud: have you tried adding tzdata to bindep.txt? then you'll see the job install it if it's not already present12:52
hberaudfungi: not to tzdata but to reqs.txt13:01
hberaudI'll try adding it to bindep13:01
hberaudfungi: oh wait, reqs.txt is enough13:02
hberaudthe py310 job past13:02
hberaudand it is normal that py38 fail because zoneinfo is added by py3913:03
fungihberaud: i thought you were asking about how to get the system package for tzdata installed, but yes i see there's a tzdata package on pypi as well. i have no idea how those differ13:04
fungiDownload tzdata13:04
fungiArchitecturePackage SizeInstalled SizeFiles13:05
fungier, sorry, pasted from the wrong buffer13:05
hberaudnp13:05
fungihttps://packages.ubuntu.com/jammy-updates/tzdata13:05
fungithat13:05
hberaudno my question was moslty about if time zone are defined for our gates envs13:05
hberaudto confirm that if we see our lib trying to load tzdata means that those configuration are absent 13:06
fungiright, that's what the tzdata package would supply, so you were asking whether we have it preinstalled?13:06
hberaudno13:07
hberaudBy default, zoneinfo uses the system’s time zone data if available; if no system time zone data is available, the library will fall back to using the first-party tzdata package available on PyPI. See => https://docs.python.org/3/library/zoneinfo.html13:07
fungiit looks like https://pypi.org/project/tzdata/ is a copy of the same tz database that the distro package supplies13:07
hberaudno I was asking if system's time zone are available, apparantly not13:08
fungi"the system's time zone data" is normally supplied by this package: https://packages.ubuntu.com/jammy-updates/tzdata13:08
hberaudok13:08
fungiwhich is why i was saying add it to bindep.txt if you want it to be supplied13:08
hberaudah I see13:09
hberaudthanks13:09
fungi"is system time zone data available?" is the same as "is the distro's tzdata package installed?"13:09
fungiat least that's the package name for debian derivatives (including ubuntu), but i expect it's the same for red hat derived distros too, and most others13:10
fungithe name of the package on pypi seems to also be identical, presumably because it's a copy of the same database as in the distro packages13:11
hberaudok, I was thinking that the python doc described another mechanism that the tzdata, as the default, but now I better understand how it works.13:14
hberaudthanks13:14
hberaud(in other, I was thinking the default option was something different than tzdata)13:15
hberaud*words13:15
opendevreviewHervé Beraud proposed openstack/oslo.serialization master: Implement zoneinfo support to drop dependency to pytz  https://review.opendev.org/c/openstack/oslo.serialization/+/87291513:40
opendevreviewHervé Beraud proposed openstack/oslo.serialization master: Implement zoneinfo support to drop dependency to pytz  https://review.opendev.org/c/openstack/oslo.serialization/+/87291513:45
opendevreviewHervé Beraud proposed openstack/oslo.utils master: Implement zoneinfo support to drop dependency to pytz  https://review.opendev.org/c/openstack/oslo.utils/+/87286213:46
*** tosky_ is now known as tosky14:19

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!