[00:08] wgrant: how would you build a python project then? [00:09] clivejo: There are thousands of examples -- depend on python-foo [00:10] and if the requirement isnt packaged ? [00:10] clivejo: That you'll need to package it. [00:11] inject it via the packaging? [00:11] clivejo: he means package the requirement [00:11] clivejo: That's not acceptable for the Ubuntu archive. If you require another piece of software that isn't packaged in Ubuntu, you must first package that piece of software before you can depend on it. [00:11] and then package what you want to package that needs the requirement :) [00:12] Fortunately, packaging most Python libraries is trivial. [00:12] wgrant: is there a channel deals with this kind of thing? [00:13] clivejo: #packaging on oftc is fairly useful [00:13] or group ? [00:13] clivejo: http://packaging.ubuntu.com/html/ is probably the best resource [00:15] I mean is there a LP team who primarily deal with python packaging? [00:16] clivejo: Most of that work is done in Debian, with the Debian Python Modules Team. [01:22] * nacc thinks there is also #ubuntu-packaging and #debian-packaging -- not sure === jamesh_ is now known as jamesh === chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [07:39] Hi! Can anyone from the Launchpad project have a look at this request? → https://answers.launchpad.net/launchpad/+question/566017 Thanks in advance! [07:41] ePierre: Done. [07:43] wgrant, thanks a lot! [08:53] Hi, what's the best place to ask questions about python's launchpadilb ? [08:57] caribou: Here. [08:57] wgrant: thought so [08:58] I'm having difficulties with the API : I'm building a script that will search all bugs with the 'sts-sru' tag. So far it works when I use distribution['ubuntu'].getSeries [08:58] but I'm not fetching bugs like this one : LP: #1664203 [08:58] Launchpad bug 1664203 in neutron-lbaas (Ubuntu Trusty) "[SRU] v1 driver does not delete namespace when pool deleted" [High,New] https://launchpad.net/bugs/1664203 [08:59] even if I loop through all the 'ubuntu' series [08:59] wgrant: my guess is that it is caused by the fact that the bug was not created for Ubuntu but for the cloud-archive project [09:00] caribou: What is the specific call you're making that is not returning the bug? [09:00] The original task shouldn't change things. [09:02] wgrant: http://pastebin.ubuntu.com/24227378/ [09:03] caribou: Which API version are you using? [09:03] wgrant: devel, here is the whole script : https://github.com/karibou/sts_tag_queries/blob/master/BugTasks.py [09:06] caribou: Bug 1664203 definitely shows up in trusty and xenial searches (though not in yakkety, since it's closed there) [09:06] bug 1664203 in neutron-lbaas (Ubuntu Trusty) "[SRU] v1 driver does not delete namespace when pool deleted" [High,New] https://launchpad.net/bugs/1664203 [09:08] wgrant: yep, maybe I picked up a bad example, let me find one that matches [09:13] wgrant: This one is listed if I use the Web search on tag but doesn't come up in the query : LP: #1602057 [09:13] Launchpad bug 1602057 in Ubuntu Cloud Archive mitaka "(libvirt) KeyError updating resources for some node, guest.uuid is not in BDM list" [Medium,Triaged] https://launchpad.net/bugs/1602057 [09:15] In [4]: 1602057 in [task.bug.id for task in list(lp.load('/ubuntu/xenial').searchTasks(tags='sts-sru', created_since='2017-01-01', order_by='id'))] [09:15] Out[4]: True [09:15] caribou: ^^ [09:16] i see Aa-series sorts in the wrong place on the "nominate for release" page .. [09:17] i assume we have bugs galore filed for that kind of thing. [09:17] apw: No bugs on that sort of thing yet. We know nothing core will actually break, but I imagine we'll run into cosmetic sorting issues around the place. [09:17] apw: Hm, sorts OK for me. [09:18] The list is in descending order of release date, so aa-series is first, followed by zesty. [09:18] wgrant, oh i am so blind it is criminal [09:19] Good :) [09:19] wgrant: indeed, it's there. I must be dropping it along the lines, sorry for the noise [09:19] caribou: np, let me know if you run into anything else. [09:20] wgrant: sure, thanks! [09:20] caribou: (and make sure to stick to devel -- the 1.0 API has some quirks that would affect you here) [09:20] wgrant: yeah, I found out the hard way when I first wrote this script [09:20] Heh [09:21] * apw idly wonders if devel will ever spawn a new stable api [09:21] apw: No. [09:22] The LP API versioning strategy was a terrible mistake. [09:23] You can't give an API with a thousand distinct operations and even more fields a single version number. [09:23] i guess you need to expose feature bits if anything [09:23] It might have been possible to stabilise API versions if we could, for example, say this is Bugs API 2.0. [09:23] And Archive API 3.0. [09:24] that does sound more plausible [09:26] Oh, only 2200 fields, it seems. [09:26] wgrant, i more expect api versioning to tell me when i have to worry about intefaces going away, so i expect 1.0 to grow new foo2 foo3 variants as we go, but when we remove something then it changes [09:27] but hey ... if devel is the one, the only, then i am good [09:28] apw: Yeah, that's similar to the strategy we're using in the services we're working on atm. APIs are versioned in smaller subsets, and feature flags can be a thing before a new release is rolled. === shadeslayer_ is now known as shadeslayer === morphis_ is now known as morphis === chihchun is now known as chihchun_afk === JanC_ is now known as JanC [12:51] Hi. I'm experimenting with building recipes on launchpad and noticed that the build logs include email addresses in clear. Is there any way to disable that? === chihchun_afk is now known as chihchun [17:13] Hi! How can I check version of a package available in a repository ? example: I need to check what version of snapd is available in xenial-proposed while the release I am running is zesty. [17:13] om26er: rmadison [17:13] om26er: `rmadison snapd -s xenial-proposed` [17:14] om26er: or you can look on the package page on lp [17:14] nacc: that is it. that command helps. -- I needed that info for a script so can't go to lp. [17:16] well [17:17] there's also the API you can use from python with launchpadlib :) === acheronUK is now known as acheronuk === grumble is now known as grumble2 === grumble2 is now known as grumble