Friday, 2024-04-05

opendevreviewMerged openstack/swift master: lower-constraints: update to mock 3.0  https://review.opendev.org/c/openstack/swift/+/91507705:29
seongsoochoNext week,  I am going to vietnam to attend FOSSAsia 2024.  So I probably won't be able to make it to PTG, but I'll do my best to attend ops feedback. see you soon! 06:41
seongsoochoAnd I also have a talk in FOSSAsia :-). https://eventyay.com/e/55d2a466/session/891506:42
opendevreviewAlistair Coles proposed openstack/swift master: support x-open-expired header for expired objects  https://review.opendev.org/c/openstack/swift/+/87471007:51
tkajinamo/12:07
tkajinamI wonder what's the recent status about python 2 support in swift. Is it still needed ?12:08
tkajinamAfair it was kept to support bionic for a bit longer span but I'm unsure if bionic is still widely used.12:08
opendevreviewYan Xiao proposed openstack/swift master: stats: API for native labeled metrics  https://review.opendev.org/c/openstack/swift/+/90988213:59
timburketkajinam, we're looking to drop it as soon as we can :-) definitely don't cling to support anywhere else if you don't have to -- we officially said we'd stop supporting py2 back in yoga, and anyone still stuck on it must be prepared to deal with outdated dependencies, even for things like pbr15:12
timburkethe long and short of it is that a bunch of us swift developers still have a management platform we're dealing with that's still running py2 in prod, so we've got sufficient vested interest in stringing along support a little longer. the biggest question the past few years has been whether we'd port the management platform to py3 or just replace it; as yet, we've done neither. but that's an "us" problem15:15
tkajinamtimburke, ah, ok. that's good to know15:26
tkajinamI wonder if we can set timeline now (D or probably E if it's too late) if we can agree with it then I can probably help doing some clean up15:28
tkajinammy hope with actual removal is that we may be able to reduce dependencies on 3rd party library and slim up the global requirements. six is the first example I can think of but there may be a bit more inactive libs for py2 compat I guess15:29
timburkethe cleanup will be downright fun -- i've got a couple patches up already to take a stab at it, though they're a little out-dated: p 853590, p 85369715:30
patch-bothttps://review.opendev.org/c/openstack/swift/+/853590 - swift - Drop py2 support - 11 patch sets15:30
patch-bothttps://review.opendev.org/c/openstack/swift/+/853697 - swift - wip: Remove py2-only code paths - 3 patch sets15:30
clarkbtkajinam: one halfway step could be to ensure that py2 only libraries don't get installed when installing under python3 using python version markers (six isn't in this class of depedency though)15:31
timburkemain deps that come to mind are six, mock, enum34/enum-compat, ipaddress15:32
tkajinamclarkb, yes, though there may not be too many such libraries seeing quite small requirements/test-requirements file in swift15:32
tkajinamtimburke, thanks for these links15:34
opendevreviewClay Gerrard proposed openstack/swift master: expirer: randomize task_container iteration  https://review.opendev.org/c/openstack/swift/+/91471318:29
opendevreviewClay Gerrard proposed openstack/swift master: sq: make test better  https://review.opendev.org/c/openstack/swift/+/91471418:29
opendevreviewShreeya Deshpande proposed openstack/swift master: Refactor utils - Move statsd client into it's own module - Move all logging functions into their own module  https://review.opendev.org/c/openstack/swift/+/91402919:34

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