Friday, 2021-11-12

opendevreviewMerged openstack/pbr master: Clarify the need for setup.py with PEP517  https://review.opendev.org/c/openstack/pbr/+/81705400:20
*** odyssey4me is now known as Guest565500:47
*** soniya29|ruck is now known as soniya29|ruck|afk05:16
*** ysandeep|out is now known as ysandeep06:07
*** gouthamr_ is now known as gouthamr06:19
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: Add Log Processor module  https://review.opendev.org/c/openstack/ci-log-processing/+/81743607:36
*** amoralej|off is now known as amoralej07:59
*** ysandeep is now known as ysandeep|lunch08:09
*** gibi is now known as giblet08:22
*** bauzas is now known as bauwser08:22
*** ykarel is now known as ykarel|lunch08:45
opendevreviewFabio Verboso proposed openstack/project-config master: Iotronic-pythonclient and Iotronic-UI update. Jobs moved to py38 (set in .zuul.yaml in the project repositories).  https://review.opendev.org/c/openstack/project-config/+/81771909:09
*** ysandeep|lunch is now known as ysandeep09:23
*** soniya29|ruck|afk is now known as soniya29|ruck09:47
*** chandankumar is now known as raukadah10:05
*** ykarel|lunch is now known as ykarel10:25
*** dviroel|afk is now known as dviroel10:34
*** lbragstad0 is now known as lbragstad11:06
*** rlandy is now known as rlandy|ruck11:10
*** ysandeep is now known as ysandeep|afk12:01
*** ykarel_ is now known as ykarel12:32
*** ysandeep|afk is now known as ysandeep12:59
*** amoralej is now known as amoralej|lunch13:03
*** jpena|off is now known as jpena13:15
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: Add log gearman role  https://review.opendev.org/c/openstack/ci-log-processing/+/81775913:27
*** amoralej|lunch is now known as amoralej13:50
*** ykarel is now known as ykarel|away14:20
*** efried1 is now known as efried14:56
*** dviroel is now known as dviroel|lunch15:18
dpawlikfungi, clarkb: hey. Since we still does not have a community for review the ci-log-processing project, could you just review the initial commit  please https://review.opendev.org/c/openstack/ci-log-processing/+/815604 ? 15:22
clarkbfungi: stephenfin: for some reason removing setup_requires = ['pbr'] from setup() and running install with pep517 hooks causes the PBR metadata and backward compat hooks to be called recursively until we hit a recursion limit. I can reproduce it with our little test (I discovered it with bindep) and I'm quickly getting lost in expected setuptools behavior15:22
dpawlikwould be good to improve the code in next patchsets and "unlock" moving forward with Opensearch15:22
clarkbdpawlik: unfortunately this is why we have been unable to maintain the system ourselves. There isn't enough interest to have critical mass to do reviews and operations. I can't commit to doing that myself hence the decision to split it out15:23
clarkbdpawlik: I think you should be looking towards those trying to keep it alive. gmann dansmith etc may have throughts15:23
clarkb*thoughts15:23
dpawlikclarkb: allright. So I'm writing an email15:25
dansmithand/or melwitt, as she already reviewed15:25
gmanndpawlik: yeah, let's put it on ML if anyone want to help in review. Also if fungi clarkb wendar tristanC agree then you can add them in core list but it just idea so depends on their agreement and bandwidth. 15:32
gmanndpawlik: clarkb also we can do single core approval policy here as we have less people helping on this ?15:32
clarkbI'm ok with that considering it is already resource constrained. I just don't want to give the impression I'm able to continue to do this since the whole exercise started when we said we couldn't. I'm happy to help review specific things and explain certain decisions/designs/behaviors etc15:35
gmannclarkb: sure, I understand that. and helping review/advise will be helpful. 15:36
wendarI'm happy to review things, but I'm not an expert in Zuul, so don't have the best perspective on this particular service.15:37
fungii've got a bit of time to look over the packaging, metadata and general boilerplate to make sure we don't give the wrong impressions with it15:38
fungidpawlik: i left some notes15:46
*** ysandeep is now known as ysandeep|dinner15:49
dpawlikthank you fungi15:58
*** frenzy_friday is now known as frenzyfriday|PTO15:59
*** dviroel|lunch is now known as dviroel16:25
clarkbfungi: stephenfin: this is really fun. pbr.core.pbr() calls Distribution.finalize_options which is what calls pbr.core.pbr(). For some reason when we have a setup_requires we don't recurse. I suspect there must be some machinery in setuptools that automatically removes keyword entrypoints from the list if they were supplied with a setup_requires. But I haven't found that yet16:28
stephenfinthis sounds like the gift that just keeps on giving :)16:29
clarkbya I'm not setting up a "foreground" test env where I can hack up setuptools and try to figure out what it is doing.16:37
fungis/not/now?16:40
clarkbya sorry16:41
clarkbWith a hacked up version of setuptools I've discovered that thsi does seem to be the case. When it works pbr is no longer in the second pass so we don't recurse further16:41
clarkband pbr is called after the setup_requires entrypoint. I think the setup_requires entrypoint must be filtering things from the list16:42
clarkbWe can have pbr do the same if not in setup_requires if I can just find out the safe way to do this16:42
fungior have pbr identify when it's being recursed and no-op?16:55
fungithough that's a bit more hacky, it may provide a belt-and-braces safeguard against similar issues in the future16:56
*** ysandeep|dinner is now known as ysandeep16:57
*** ysandeep is now known as ysandeep|out16:58
*** amoralej is now known as amoralej|off17:14
opendevreviewClark Boylan proposed openstack/pbr master: Allow PEP517 without setup_requires  https://review.opendev.org/c/openstack/pbr/+/81779417:19
clarkbstephenfin: fungi ^ that is what I ended up with and it emulates the behavior when called with setup_requires set. I still don't know why the value changes when setup_requires is set (haven't been able to tracke that down), but it does change to None on the second pass and the pbr() call is skipped over preventing recursion17:20
fungithat'll be good to integrate because use of setup_requires metadata is now explicitly deprecated17:21
clarkbfungi: fwiw so is the keywords entrypoint that pbr relies on as I just discovered when debugging this17:21
clarkbfungi: but one step at a time :)17:21
fungiyeah17:21
fungifixing those independently should be fine17:22
*** jpena is now known as jpena|off17:41
opendevreviewClark Boylan proposed openstack/pbr master: Add python2 testing back to PBR  https://review.opendev.org/c/openstack/pbr/+/81780018:01
clarkbfungi: stephenfin ^ noticed that when looking at this change. I think that was my mistake. Woops18:02
*** dviroel is now known as dviroel|brb19:10
*** Guest5508 is now known as melwitt19:26
*** melwitt is now known as Guest571619:27
*** Guest5716 is now known as melwitt19:32
*** melwitt is now known as jgwentworth19:34
*** dviroel|brb is now known as dviroel19:59
*** dviroel is now known as dviroel|out21:01
opendevreviewMerged openstack/pbr master: Add python2 testing back to PBR  https://review.opendev.org/c/openstack/pbr/+/81780021:20
clarkbfungi: stephenfin https://deps.dev/pypi/pbr/5.7.0/dependents that is really neat22:32
clarkbshows use outside of openstack22:32
clarkbLooks like there are errors in their dataset (lookup nodepool for example) but the pbr set there is neat anyway22:35
fungivery neat!22:43
fungithere are more users of pbr than that though, i have a package on pypi which only uses pbr as a build-time dependency and not a run-time dependency, so it doesn't appear there22:44
fungilooks like that's strictly packages which claim run-time dependency on pbr, which is known to be only a subset of pbr users22:45
fungiprobably accurate for a lot of other libs which are only ever used as run-time deps though22:45
clarkbthey also note that it is a summary23:04

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