IRC logs for #buildstream for Friday, 2019-09-06

*** rdale has joined #buildstream08:10
*** bochecha has joined #buildstream08:25
jennisWow, the latest released pylint will complain if it see's an `else` after a `raise`, I don't think this makes the code any better: https://stackoverflow.com/questions/55632832/pylint-r1720-unnecessary-elif-after-raise-no-else-raise08:50
jennisWe have 25 occurrences of this in our codebase08:51
jennisActually, perhaps it does08:54
*** tpollard has quit IRC09:04
*** tpollard has joined #buildstream09:05
*** traveltissues has joined #buildstream09:31
tlater[m]jennis: Just seeing that here too09:49
tlater[m]It's a little annoying because I now get lots of errors offline in code I didn't write :D09:50
*** rdale has quit IRC09:59
*** rdale has joined #buildstream10:00
jennistlater[m], fixes pushed: https://gitlab.com/BuildStream/buildstream/commits/jennis/update_python_deps10:23
jennisthe first (of two) commits10:24
tlater[m]And MRd?10:24
jennisNot yet, will see if everything passes10:24
jennisOn all tested platforms10:24
tlater[m]Tell me when it's there, I'll practically insta-marge ;p10:24
Kinnisontlater[m]: Are you close to 1540 working yet?10:24
jennisWell this MR is for updating all Python deps, I'm not sure what the policy is here...10:24
tlater[m]Kinnison: close, with any luck... 3 more edit-test cycles10:25
KinnisonHmm :D10:25
tlater[m]jennis: Make it up as you go - I don't think there's a policy10:25
tlater[m]Although cs-shadow may have an opinion on that10:25
tlater[m]Honestly, I think it'd be best if you do those two things as separate MRs10:26
jennisYeah I'll do that10:26
jennissome magit practise ;)10:27
tlater[m]Hehe10:27
*** benschubert_ has quit IRC10:30
*** benschubert_ has joined #buildstream10:31
gitlab-br-botjennis opened MR !1586 (jennis/pylint_no_else_raise->master: Address pylint 2.3.x's no-else-raise warning) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/158610:32
jennistlater[m] ^10:32
gitlab-br-bottlater approved MR !1586 (jennis/pylint_no_else_raise->master: Address pylint 2.3.x's no-else-raise warning) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/158610:34
jennistlater[m], you've set to automatic merge10:35
* tlater[m] actually quite likes that lint, it somehow just takes less mental effort to read if/else constructs :)10:35
jennisTotally blindsided marge10:35
tlater[m]Oh, damnit10:35
tlater[m]Merge trains, please gitlab!10:35
jennishehe10:35
*** narispo has quit IRC10:50
*** narispo has joined #buildstream10:51
gitlab-br-bottraveltissues approved MR !1586 (jennis/pylint_no_else_raise->master: Address pylint 2.3.x's no-else-raise warning) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/158610:55
cs-shadowjennis: tlater[m]: sorry, I'm a bit lost. What am I supposed to have an opinion about? :)11:07
tlater[m]cs-shadow: We noticed some warnings about abc deprecation and a nonexistent setup.py option that we'd set11:18
tlater[m]Turns out those were caused by our use of fairly old dependencies11:18
tlater[m]jennis updated those, and is now thinking about whether we have a policy for updating pip dependencies.11:18
tlater[m]And I thought you'd be someone with an opinion on that, cs-shadow :)11:19
cs-shadowah! thanks for the explanation. I don't think we have a policy as such11:20
cs-shadowalthough I don't see why we wouldn't update to a newer version if it fixes some warnings, and doesn't cause any breakages11:20
tlater[m]Yup, pretty much my opinion. Running the test suite for different distros atm, we'll see in a bit :)11:23
gitlab-br-botmarge-bot123 merged MR !1586 (jennis/pylint_no_else_raise->master: Address pylint 2.3.x's no-else-raise warning) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/158611:24
tlater[m]Kinnison: it took 5 edit-test cycles in the end, but I'd appreciate review (post your lunch/talk, obviously)11:27
traveltissuesi have a preference for constraint over pins11:28
traveltissuesbut it's not always possible11:28
traveltissuesre: dependencies11:28
*** rdale has quit IRC11:37
*** rdale has joined #buildstream12:00
*** rdale has quit IRC12:21
*** rdale has joined #buildstream12:25
jjardonCan I have a review to this trivial patch please? https://gitlab.com/BuildStream/website/merge_requests/12612:41
*** rdale has quit IRC13:01
*** rdale has joined #buildstream13:03
jenniscs-shadow, for more context, I saw a problem with pluginbase (we were getting a DeprecationWarning when we ran tests), I noticed the latest version of pluginbase addresses this, but, in our CONTRIBUTING, it just says "here's how you update Python deps", which updates all of our deps13:04
jennisHowever, I'll put an MR up with the full update and see what people think13:04
jenniss/full update/all the updates13:05
cs-shadowjennis: that line is about updating the *.txt from *.in files13:05
cs-shadow*.in files have to be modified be hand (to change a constraint, for example)13:06
jenniscs-shadow, we're talking about this: https://buildstream.gitlab.io/buildstream/CONTRIBUTING.html#updating-buildstream-s-python-dependencies right? I just did the `make -C requirements`, this updates everything13:07
cs-shadowyeah, it'll update everything to latest based on the constraints in *.in files13:11
cs-shadowif you want  to change the constraint, you'll have  to edit *.in by hand13:12
Kinnisontlater[m]: I'll try and take a look over it now13:14
tlater[m]jennis: I still get no-else-raises in _sandboxremote.py13:29
gitlab-br-bottlater opened (was WIP) MR !1540 (tlater/cache-endpoints->master: Support separate end points for artifact caches) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/154013:33
jennistlater[m], oh dear, I'll have a look13:35
jennistlater[m], I don't...13:40
tlater[m]jennis: Nevermind, it's gone here too now13:41
* tlater[m] wonders if he accidentally opened an old version of the file somehow13:41
tlater[m]Sorry for the noise!13:41
jennisNo worries13:42
*** jonathanmaw has quit IRC14:08
gitlab-br-bottraveltissues reopened issue #1110 (use `show_default` for Click.options) on buildstream https://gitlab.com/BuildStream/buildstream/issues/111014:12
*** narispo has quit IRC14:26
*** narispo has joined #buildstream14:26
*** narispo has quit IRC14:32
*** narispo has joined #buildstream14:33
*** benschubert_ is now known as benschubert14:46
benschubertjuergbi: is it possible to statically link libprotobuf with buildbox-casd by any chance?14:46
juergbibenschubert: yes, the binary I uploaded is even fully static. however, I had to apply an ugly patch to CMakeLists.txt14:48
juergbimight be simpler if you only want to statically link libprotobuf14:48
juergbibenschubert: bst-1 project that builds fully static buildbox-casd: https://gitlab.com/BuildGrid/buildbox/buildbox-integration14:48
juergbiif you know how CMakeLists.txt can be fixed upstream to not require such a patch, MR welcome :)14:49
juergbi(cmake always seems way too painful with libraries)14:49
benschubertI'm not sure I know enough about CMake for this :) so Just applying https://gitlab.com/BuildGrid/buildbox/buildbox-integration/blob/master/patches/buildbox-casd-static.patch would be enough correct?14:50
juergbiyou might also need these cmake options: https://gitlab.com/BuildGrid/buildbox/buildbox-integration/blob/master/elements/buildbox-casd.bst14:52
benschubertah correct, thanks a lot!14:52
juergbiand that's for a fully static build. if you want to keep linking dynamically to libc etc., you may have to tweak it14:52
benschubertI'm fine with a fully static :)14:57
benschubertjuergbi:15:12
benschubertIn file included from /build/buildbox-casd/buildboxcasd/buildboxcasd_daemon.cpp:17:0:15:12
benschubert/build/buildbox-casd/buildboxcasd/buildboxcasd_daemon.h:22:10: fatal error: buildboxcommon_connectionoptions.h: No such file or directory15:12
benschubert #include <buildboxcommon_connectionoptions.h>15:12
benschubertSeems like I have something slightly different that makes your patch break :(15:12
juergbibenschubert: did you install buildbox-common into /usr?15:13
benschubert    cmake -DBUILD_TESTING=OFF . -Bbuild && make -C build -j $(nproc) && make -C build install15:13
benschubertthat's my command after cloning buildbox-common15:13
juergbithat's /usr/local by default, iirc15:13
juergbiin which case you'd have to change the patch to use /usr/local for the include path15:14
benschubertah! Thanks that makes sense15:14
gitlab-br-botjennis opened MR !1587 (jennis/update_python_deps->master: Update all Python dependencies) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/158715:16
jenniscs-shadow, tlater[m], I've opened an MR which updates Python dependencies, let me know what you think :)15:18
tlater[m]jennis: Hm, I wonder if it'd make more sense only to update the offending dependencies15:20
jennisThis is what I was getting at earlier ¬.¬15:20
tlater[m]I think a benchmarking run might also be appropriate15:21
jennisAh, definitely!15:21
* tlater[m] didn't think that far until he saw the diff, sorry jennis D:15:21
gitlab-br-botcs-shadow approved MR !1587 (jennis/update_python_deps->master: Update all Python dependencies) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/158715:25
*** tiagogomes_ has quit IRC15:50
*** tiagogomes has joined #buildstream15:53
gitlab-br-botmarge-bot123 closed issue #1041 (Support separate end points for artifact caches) on buildstream https://gitlab.com/BuildStream/buildstream/issues/104116:03
gitlab-br-botmarge-bot123 merged MR !1540 (tlater/cache-endpoints->master: Support separate end points for artifact caches) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/154016:03
tpollard\o/16:03
tlater[m]\o/16:03
*** bochecha has quit IRC16:09
jennisnice one tlater[m]16:23
benschuberttlater[m]: oh great :D just in time o/16:23
tlater[m]hehe16:24
* tlater[m] is glad that one's over and done with16:24
*** mohan43u has quit IRC16:25
*** narispo has quit IRC16:27
*** narispo has joined #buildstream16:27
jjardontlater[m]: nice!!16:28
tlater[m]qinusty: will probably appreciate that too16:28
jjardontlater[m]: is this something we can consider to backport  or it does require too many changes?16:29
tlater[m]Hm, that's a good question16:30
gitlab-br-bottraveltissues opened issue #1122 (Follow-up from "Stream - Scheduler notification handler") on buildstream https://gitlab.com/BuildStream/buildstream/issues/112216:30
tlater[m]I don't think it should be too bad, jjardon.16:30
tlater[m]Although it's been a while since I looked at bst 116:30
tpollardbst 1 doesn't have proto based artifacts16:31
tlater[m]I don't think that should matter.16:31
tlater[m]But it will probably make rebasing quite horrible16:32
*** bochecha has joined #buildstream16:42
*** tpollard has quit IRC16:49
*** narispo has quit IRC16:59
*** narispo has joined #buildstream16:59
gitlab-br-bottraveltissues opened MR !1588 (traveltissues/1110->master: Traveltissues/1110) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/158817:00
*** narispo has quit IRC17:22
*** narispo has joined #buildstream17:23
gitlab-br-bottraveltissues opened (was WIP) MR !1588 (traveltissues/1110->master: use show_default) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/158818:12
gitlab-br-bottraveltissues opened issue #1123 (test failures on wsl) on buildstream https://gitlab.com/BuildStream/buildstream/issues/112318:32
*** traveltissues has quit IRC18:36
*** shash has quit IRC19:10
*** rdale has quit IRC19:46
*** cs-shadow has quit IRC20:24
*** bochecha has quit IRC22:57
*** narispo has quit IRC23:07
*** narispo has joined #buildstream23:07

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!