[10:36:28] errand+lunch [14:13:45] \o [14:35:16] o/ [15:10:49] wondering how to add a dependency from cirrus-reindex-ochestrator to cirrus-toolbox in setup.cfg, but I have to write: cirrus-toolbox @ https://gitlab.wikimedia.org/api/v4/projects/2364/packages/pypi/files/fcbb0a7eb042bdd9aed9dc8ac79eade66515cf800606b2b4bf1497c9c70f4271 [15:11:40] I whish there was a way to simply give setup.cfg a link to https://gitlab.wikimedia.org/api/v4/projects/2364/packages/pypi/simple and then declare my dependency as usual like cirrus-toolbox == 0.5.0 and let python discover the package for me :/ [15:18:26] hmm, yea afaik if we want to specify a repo it would have to be like that [15:19:03] dcausse: i haven't tried, but maybe like maven there is a meta-repo one level up that has both? Then the instructions could point to the search-platform repo and it would find both pakages [15:19:48] i guess that might not work for tox to install deps though :S hmm [15:20:01] oh haven't thought about the deployment instructions yet... [15:20:21] yes my problem is for tox at the moment :/ [15:20:26] maybe you can use PIP_INDEX_URL [15:20:42] have the runner set that to the search-platform package index [15:21:14] is PIP_INDEX_URL global for all packages? [15:22:05] hmm, good quesiton. apparently there is an PIP_EXTRA_INDEX_URL [15:22:36] based on pypi docs, it does seem like extra is a better fit here [15:22:44] s/pypi/pip/ [15:25:12] ok then how to fit PIP_EXTRA_INDEX_URL into setup.cfg [15:26:10] dcausse: hmm, i think it has to go in the .gitlab-ci.yml [15:26:25] which, sigh..i guess that means local tox running will still not work :S hmm [15:26:27] :/ [15:26:56] https://github.com/pypa/pip/issues/4187 [15:29:40] it seems the accepted solution is publish to pypi :P [15:29:47] yes... :) [15:49:35] seems like I can fit that into [testenv] setenv PIP_EXTRA_INDEX_URL=... [15:53:10] nice [15:57:15] ebernhardson: I can't seem to remember the URL equivalent of v4/projects/${project_id}/packages/pypi/simple but for the whole search-platform [16:00:03] for search platform, the groupId is 308 (if that's the question) [16:00:26] yes found this but best I can have is https://gitlab.wikimedia.org/api/v4/groups/308/packages [16:00:29] But you could also just use 186, which is the "repos" group, which contains everything [16:00:51] but I want the pypi view [16:01:46] ah sorry was me not testing properly found it https://gitlab.wikimedia.org/api/v4/groups/308/packages/pypi/simple [16:02:05] it's a 404 but it actually work, you can't browse [16:02:45] I'm not sure... maybe pypi needs to be enabled by group [16:11:37] first attempt at zrr in the ab test and...it says 6%. something is wrong :P [17:33:53] errand, back in ~40 [17:54:26] not finding anything...maybe 6% is right? Curiously that was 16% years ago in the old ab tests, but our dashboard hows 7% [17:55:18] back [19:30:27] gehel: 3’ [19:32:31] ack [20:21:22] ryankemper patch to enable wdqs1025 if you have time: https://gerrit.wikimedia.org/r/c/operations/puppet/+/1101588