Tuesday, 2018-10-30

*** dangtrinhnt has joined #openstack-requirements00:03
openstackgerritOpenStack Proposal Bot proposed openstack/requirements master: update constraint for ldappool to new release 2.3.1  https://review.openstack.org/61405200:40
tonybprometheanfire: Yes they are pipenv esp.  They'll help us some00:59
prometheanfiretonyb: I haven't seen a way that pipfiles are better than requirements/constraints files quite yet01:00
tonybprometheanfire: They're not a whole lot better but they do allow for a little more mixing than we have today01:02
prometheanfiremixing?01:05
prometheanfirepipfiles don't allow python mixing, but keeping separate files would 'fix' that01:07
tonybSorry I was speaking of pipenv not pipfiles01:11
prometheanfireah01:12
prometheanfirepipenv install -r global-requirements.txt01:12
prometheanfireshould be fun01:13
prometheanfireI heard it does depsolving01:13
prometheanfireI kinda want to see if I can get it to print a graph01:14
prometheanfirejust for the presentation01:14
prometheanfireI should have time'd it01:15
*** hongbin has joined #openstack-requirements01:23
tonybhehe01:25
prometheanfirelolnope01:26
prometheanfireWarning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.01:26
prometheanfire  First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.01:27
prometheanfire Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.01:27
prometheanfire  Hint: try $ pipenv lock --pre if it is a pre-release dependency.01:27
prometheanfireCould not find a version that matches dogpile-cache01:27
prometheanfireNo versions found01:27
prometheanfirehmm, rate limited?01:27
tonybNo idea, perhaps01:28
* prometheanfire shrugs01:31
prometheanfireretry, it needs more sucessorator01:31
prometheanfirewell, was worth a trypipenv.patched.notpip._internal.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/tmp0z_99leabuild/qpid-python/01:56
prometheanfirepipenv.patched.notpip._internal.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/tmp0z_99leabuild/qpid-python/01:56
*** udesale has joined #openstack-requirements03:49
*** hongbin has quit IRC04:23
*** ccamacho has quit IRC04:26
openstackgerritOpenStack Proposal Bot proposed openstack/requirements master: Updated from generate-constraints  https://review.openstack.org/61407806:18
openstackgerritMerged openstack/requirements master: update constraint for os-win to new release 4.1.1  https://review.openstack.org/61395906:37
*** dangtrinhnt has quit IRC06:43
*** dangtrinhnt has joined #openstack-requirements06:48
*** tonyb has quit IRC06:50
openstackgerritMerged openstack/requirements master: Updated from generate-constraints  https://review.openstack.org/61384506:55
*** ccamacho has joined #openstack-requirements08:04
*** jpich has joined #openstack-requirements08:26
*** e0ne has joined #openstack-requirements08:41
*** ccamacho has quit IRC09:01
*** ccamacho has joined #openstack-requirements10:11
*** e0ne has quit IRC10:32
*** e0ne has joined #openstack-requirements10:56
*** udesale has quit IRC11:24
*** vpickard_ is now known as vpickard11:39
*** vpickard is now known as vpickard_11:39
*** dtantsur|afk is now known as dtantsur11:50
*** e0ne has quit IRC12:21
*** zul has quit IRC12:27
*** vpickard_ is now known as vpickard12:29
*** e0ne has joined #openstack-requirements13:08
*** udesale has joined #openstack-requirements13:08
openstackgerritMatthew Thode proposed openstack/requirements master: Updated from generate-constraints  https://review.openstack.org/61407813:32
prometheanfiredhellmann: isn't that it13:53
dhellmannprometheanfire : ?13:54
prometheanfiredhellmann: doesn't that it's installing and using twine in an openstack project mean that it should be in reqs?13:54
dhellmannoh, no. the job builds its own virtualenv13:54
dhellmanntwine does not need to be co-installed with openstack13:55
dhellmannnothing else needs to be installed to build a package13:55
prometheanfireright, but it is needed to upload, I thought that was why we used twine13:55
dhellmannthat job also does its own installation13:56
prometheanfireshould that install be using reqs/constraints then?13:56
dhellmannwhy?13:56
prometheanfireit was a question :P13:56
prometheanfiresmcginnis: ^13:56
dhellmannwhy would it?13:56
dhellmannif we need to constrain it, we can do that in the step that installs the package in the job13:56
prometheanfireI think all things should be in reqs/constraints more or less13:57
dhellmannI think that list should be limited to the set of things we need to be co-installable for production-like installations and test jobs13:58
dhellmannthat's why we blacklist things like linters13:58
openstackgerritMonty Taylor proposed openstack/requirements master: update constraint for openstacksdk to new release 0.18.1  https://review.openstack.org/61247413:59
prometheanfiretrue, though the reason I saw for blacklisting linters was because diferent projects had VASTLY diferent versions of the linters13:59
dhellmannmordred : we're about to release 0.19.0, right? don't you want that?13:59
prometheanfiregentoo co-installs and runs linters with the other tests at times14:00
dhellmannprometheanfire : right, because they don't need to be the same. Projects don't need to control which version of twine they use. They *must* work with the latest version.14:00
prometheanfiredhellmann: if projects know this, then ok14:00
dhellmannprometheanfire : it doesn't make any sense to me for a distro to run a linter check14:00
prometheanfiresame class as setuptools/pip14:00
dhellmannapparently projects didn't understand that, so we need to communicate it better14:00
mordreddhellmann: I do ... the constraints patch above is actually to test to see if a cliff patch fixes a failure that was being seen14:00
dhellmannprometheanfire : right14:00
prometheanfiredhellmann: oh, I know, didn't say I agreed with that14:00
dhellmannmordred : ah, ok14:00
mordreddhellmann: https://review.openstack.org/#/c/614218/ fwiw14:01
mordreddhellmann: http://logs.openstack.org/74/612474/2/check/cross-osc-build-sphinx-docs/42250a7/job-output.txt.gz#_2018-10-26_08_02_08_597700 is the log failure14:01
dhellmannmordred : lgtm14:01
mordredcool. it feels dirty - but I guess that's the best way to test if something is a class14:02
dhellmannadding some info about what caused the failure to the commit message would be good14:02
mordredwould be nice if there was an 'isclass'14:02
mordredkk14:02
dhellmannyou could do issubclass of meta14:02
dhellmannor of type14:02
mordredbut you can't - because you can't pass a non-class to issubclass14:02
smcginnisprometheanfire: I didn't realize dhellmann's job covered things, so I can abandon the twine patch.14:02
dhellmannmordred : https://docs.python.org/3/library/inspect.html#inspect.isclass14:02
mordreddhellmann: I mean, I guess you could do that and trap for an exception14:02
dhellmannI'm not sure what version added that14:02
smcginnisThat was only needed to be able to add to project's test-requirements, but those can just be removed now.14:03
prometheanfiresmcginnis: k, thanks14:03
mordreddhellmann: it's in 2.7 - I'll use that14:03
dhellmann++14:03
prometheanfiresmcginnis: dhellmann it may be needed in blacklist then, like the linters (with a comment as to why (same class as setuptools/pip))14:03
dhellmannprometheanfire : we do not want projects adding twine to their requirements or test requirements lists, so keeping it out of the blacklist will cause an error if they try to add it14:04
dhellmannwhen this all-hands about the ibm acq is done I will post to the mailing list if smcginnis hasn't already done so14:04
mordreddhellmann: updated that patch14:05
smcginnisdhellmann: I'll let you post to the ML if you want. Otherwise I was just going to put up patches to remove it from projects jobs with an explanation in the commit message.14:05
prometheanfiredhellmann: ok, smcginnis mentioned adding it to test-reqs, which is why I ased14:05
smcginnisI would think if a project had not added it by now, they aren't planning on it.14:05
mordreddhellmann: so .... re: twine14:06
dhellmannsmcginnis : when you have one or two of those done I can link to them, but I think it's useful to explain why so that no one comes along and tries to do this again later14:06
mordredpython setup.py check -r -s is now throwing a warning telling people to use 'twine check' instaed14:07
smcginnismordred: Yeah, that's what led to this.14:07
dhellmannyeah14:07
mordredcool gotcha. it's not the same, btw - I tried using it yesterday and it wants a dist to be made14:07
smcginnismordred: Current recommendation is to use twine, but projects don't need it in their own tox.ini now because dhellmann has it coverd in a zuul job.14:07
mordredah - awesome!14:07
mordredthat's better - because I've got tox set up to skip sdist, which would make twine check annoying in tox :)14:08
* mordred is late to the party, but happy to be here14:08
openstackgerritOpenStack Proposal Bot proposed openstack/requirements master: update constraint for python-searchlightclient to new release 1.4.0  https://review.openstack.org/61422214:11
dhellmannmordred : you're fashionably late. we've only been talking about it for < 1 hr14:12
*** kiennt26 has joined #openstack-requirements14:21
dhellmannsmcginnis : I have an email ready to send, do you have a patch or gerrit topic for me to link to or do you want to link to my email in your commit messages?14:31
*** e0ne has quit IRC14:33
*** e0ne has joined #openstack-requirements14:37
smcginnisdhellmann: I haven't been able to get to it yet. I can link to the email in the commit messages.14:38
dhellmannsmcginnis : wfm14:38
smcginnisdhellmann: I did see a few that have that in their linter jobs but do not have the release job in project-config.14:39
smcginnisSo probably good to mention that in the ML thread.14:39
dhellmannsmcginnis : http://lists.openstack.org/pipermail/openstack-dev/2018-October/136136.html14:40
dhellmannI probably should have tagged that release, too14:40
dhellmannoh, that's an interesting case14:41
dhellmannwhich projects don't have the release job?14:41
smcginnisdhellmann: I only took at the first two that came up in codesearch so far - monasca-notification and ansible-role-chrony.14:42
dhellmannok14:42
dhellmannansible-role-chrony seems to be using the template14:44
dhellmannas does monasca-notification14:44
smcginnisYeah, just realized I missed that template.14:47
*** dtantsur is now known as dtantsur|brb14:50
*** kiennt26 has quit IRC14:51
*** e0ne has quit IRC15:25
*** kiennt26 has joined #openstack-requirements15:31
*** e0ne has joined #openstack-requirements15:35
*** ccamacho has quit IRC15:48
*** kiennt26 has quit IRC15:49
*** dtantsur|brb is now known as dtantsur16:26
*** e0ne has quit IRC16:30
*** udesale has quit IRC16:43
*** jrist has quit IRC16:51
*** jrist has joined #openstack-requirements16:54
*** jpich has quit IRC17:08
*** ccamacho has joined #openstack-requirements17:23
openstackgerritMatthew Thode proposed openstack/requirements master: update future  https://review.openstack.org/61431417:40
*** hongbin has joined #openstack-requirements17:42
hongbinprometheanfire: hi, i replied your comment in https://review.openstack.org/#/c/609018/ , could you take a look once you have a chance?17:43
*** dtantsur is now known as dtantsur|afk17:57
*** e0ne has joined #openstack-requirements18:10
prometheanfirehongbin: was waiting for the reviews mentioned to merge, looks good now18:20
hongbinprometheanfire: ack18:20
openstackgerritMerged openstack/requirements master: update constraint for ldappool to new release 2.3.1  https://review.openstack.org/61405218:22
*** e0ne has quit IRC18:25
*** e0ne has joined #openstack-requirements19:13
*** e0ne has quit IRC21:18
*** e0ne has joined #openstack-requirements22:49
*** tonyb has joined #openstack-requirements23:03
*** e0ne has quit IRC23:13
*** hongbin has quit IRC23:57

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