[09:46:53] do we have documentation on the preferred way to configure Python dev tools for SREs, specifically using pyproject.toml VS tox.ini and similar? I found https://www.mediawiki.org/wiki/Manual:Coding_conventions/Python and https://wikitech.wikimedia.org/wiki/Data_Platform/Systems/Airflow/Developer_guide/Python_Job_Repos [09:52:53] Fwiw folks I created a task on the line card failure in esams: https://phabricator.wikimedia.org/T406705 [09:52:59] I'm gonna follow up with Juniper now [09:55:05] thank you [09:56:09] elukey perhaps you know of a page? [09:56:32] volans might have an opinion :] [09:56:52] I believe he's done a lot of the python styling for sre stuff [09:57:32] federico3: o/ I don't know any on top of my head, I think that usually we refer to the most common used repos, but I don't know any that uses toml files at the moment [09:58:15] I think hiddenparma and spicerack do, but there's a lot more tox [10:09:19] * Emperor wonders why we are secreting ham away :) [10:09:45] everyone wants different things and the setups/deploy methods are different (gerrit/gitlab, deb package/container/venv) so there is no real standard [10:16:49] ok thanks [10:23:32] the real standard is the bugs we make along the way [10:24:03] job security right there [10:24:54] "this python script is deployed using a perl script constructed in m4" [10:26:39] <_joe_> volans: well we could say something like "use tox for tests", and / or "use pyproject.toml if your project is on $distro or above" [10:27:05] <_joe_> I assume new repos are going to gitlab, this already narrows down the scope quite a bit [10:27:29] "installation is achieved by running this elisp fragment" [10:27:32] <_joe_> but maybe we could have example repos in gitlab for all the deployment cases (which are 3) [10:58:05] I note in passing from testing a trixie install that none of python3-conftool prometheus-statsd-exporter megacli seem to be available in trixie-wikimedia [11:01:26] federico3: in l.ego voice, did someone say convert to Rust‽ [11:02:45] p858snake|cloud: *trout* [11:03:34] ?? [11:04:37] taavi: I did consider suggesting bringing back the ruby on rails days [11:04:56] or was mobile straight ruby [11:06:33] don't ask me, I think I barely had just learned how to read when that ruby mobile thing was around [11:07:36] <_joe_> what ruby mobile thing? [11:07:48] <_joe_> sounds like that predates me and no one has shown me this gem [11:07:50] hamptons mobile gateway [11:08:27] <_joe_> was it a gateway translating wikipedia's css and html to a mobile version, written in ruby? [11:10:18] <_joe_> I hope the answer is "yes" and someone can find the sources [11:10:33] i think this is the one https://wikitech.wikimedia.org/wiki/Mobile [11:10:43] https://wikitech.wikimedia.org/wiki/MobileRoles (2010) doesn't link a source unfortunately [11:11:00] <_joe_> p858snake|cloud: yeah I am reading now [11:11:26] <_joe_> oh my [11:11:51] There was also a separate WAP gateway, for those that experienced mobile web before mobile web https://wikitech.wikimedia.org/wiki/Obsolete:Mobile.wikipedia.org [11:12:00] <_joe_> yeah [11:13:01] wow [11:20:58] !bash I think hiddenparma and spicerack do, but there's a lot more tox * Emperor wonders why we are secreting ham away :) [11:20:58] Lucas_WMDE: Stored quip at https://bash.toolforge.org/quip/UcqNw5kB8tZ8Ohr0jiNJ [11:22:14] ;p [11:22:32] (I was wondering the same thing the other day ^^ https://wikis.world/@LucasWerkmeister/115288136347376042) [11:52:46] federico3: it was a mixed reference to l.egoktm who loves to advocate for the conversion of code to rust, and the KFC "did someone say KFC?" ad [11:53:16] hah :) [13:36:20] <_joe_> Lucas_WMDE: I am very proud of that name but I think it's now the second funniest SRE repo name [13:37:10] dare I ask what the funniest one is? :) [13:39:32] <_joe_> it's sadly a private repo, because it contains security-related stuff [13:41:27] đŸ˜” [13:41:48] someone will just have to come up with an even better public one then [13:43:52] folks the re-seat of the line card in cr1-esams did the trick and it is back online again now [13:45:40] if there are no objections I'll re-pool esams in dns? it's been stable now almost an hour, I'm not sure if waiting any longer will bring any more confidence [13:46:26] great, repooling esams sounds good to me then [14:08:31] ok I am repooling now [15:07:00] public service announcement, avoid ssh 10.1, as it breaks control master sessions, https://lists.mindrot.org/pipermail/openssh-unix-dev/2025-October/042182.html [18:25:53] mutante merging your puppet change per gerrit comment [18:27:20] inflatador: yes please:) [18:30:09] done! [18:49:45] RE: old Ruby service, see also https://www.mediawiki.org/wiki/Requests_for_comment/Mobile_domain_sunsetting#Footnotes [18:50:46] https://github.com/HamptonMakes/wikimedia-mobile [18:58:58] cc taavi: source :) [18:59:34] Basically had to go into old id revs because the pages had been repurposed. [18:59:54] Dug into it in Feb when writing the RFC