/srv/irclogs.ubuntu.com/2015/04/15/#launchpad.txt

=== Guest87529 is now known as mwhudson
belkinsa Okay, my Ubuntu address is working again.  Thank you for the help12:15
=== tasdomas is now known as domas
=== domas is now known as tasdomas
=== tasdomas is now known as domas
=== domas is now known as tasdomas
ybonhi :)16:08
ybonAnyone using dh_virtualenv to build packages on launchpad? I've an error when dh_virtualenv try to fetch the python package, like if there is not Internet connection, so I may be missing a point16:09
ybonhttps://launchpadlibrarian.net/203371551/buildlog_ubuntu-trusty-amd64.addok_0.1.0-7_BUILDING.txt.gz for more details16:09
wgrantybon: Launchpad builders can't connect to the Internet.16:09
ybonmakes sense16:10
ybonbut then any way to use dh_virtualenv?16:10
ybonlike uploading the python package by hand16:10
wgrantI don't know what that is, but from the name I would suspect not.16:10
wgrantYou need to either include your dependencies in your package, or specify them as packages in your Build-Depends field.16:10
ybon(http://dh-virtualenv.readthedocs.org/)16:11
ybonok16:11
dobeyyou should probably package them properly in your ppa, if they are not already in ubuntu16:11
ybonI'm totally dumb in packaging, so I may be missing a point, but for what I understand dh_virtualenv try to dl the packages at build time16:11
ybondobey: the idea of dh_virtualenv is not to need to repackage python packages :)16:12
dobeyit's not virtualenv, but setuptools will do that as well16:12
dobeyybon: dh_virtualenv is an oxymoron then :)16:12
ybonhehe16:12
wgrantSensible Debian packages build only using other packages.16:12
dobeyexactly16:13
ybonyeah, I understand that16:13
ybonbut mine is not sensible ;)16:13
ybonI just want to make it easier for people on Ubuntu to install the app I'm working on16:13
dobeyhaving a tool for building python packages that is designed expressly not to use packages, is not sensible16:13
ybonbut I'd prefer not to need to repackages every python dep16:13
ybondesigned to use python packages ;)16:14
dobeyhow many python deps do you have which aren't packaged in ubuntu already?16:14
ybonI mean, building the .deb works perfectly, on local16:14
ybongood question :)16:14
ybonLet me check16:14
dobey"perfectly"16:14
ybonI confirm :)16:14
ybonI can build it and install it on my server ;)16:14
dobeysure, it appears to work for you. i wasn't questioning that. just that "perfectly" is a rather strong statement, particularly when you're doing something completely antithetical to debian packaging :)16:17
ybonok, I remove "perfectly" from my statment, you won :)16:17
ybonso 1 package is missing, 5 are not up to date16:20
dobeybesides, making debian packages of python libraries is generally pretty trivial16:20
ybonbut I may consider using those versions anyway16:21
dobeyon what version of ubuntu? and what packages?16:21
ybononly targetting LTS, so Precise and Trusty16:21
ybonthe app I'm trying to package is https://github.com/etalab/addok16:21
ybonagain, I'm totally new on Debian/Ubuntu packaging, so making my own pooding at the moment to try to eat something every day ;)16:22
dobeywell, i don't know which one is missing. they all seem to be available16:28
ybonI don't see ngram16:28
dobeydocopt and werkzeug can be backported easily from a newer release it seems; the others are all still older versions than you list in requirements.txt16:28
dobeyoh right, ngram was missing, indeed16:29
dobeyi think the "==" dependencies you have is a bit odd too16:30
dobeygenerally, you'd want >=16:30
ybondepends on the habit, I prefer to control them and to have requirements to warn me when I need to upgrade16:32
ybonanyway, seems I need to review my plans ;)16:32
ybonthanks for the assistance in seeying the reality :)16:33
dobeyif you want to have more control over dependency versions like that and use your app inside virtualenv, then your best option is probably to just ship your tarball on pypi, and tell people to install it with virtualenv that way, rather than using debian packaging16:33
dobeyso that people can set up a virtualenv container specific to your app16:34
ybonyep16:35
ybonI loved the idea of a Ubuntu package too, but it's a bit more work than just adding dh_virtualenv and having it automagically16:35
ybondealing with virtualenv is still a bit messy for people not used to python ecosystem16:36
ybonso having an easier Ubuntu LTS copy-paste to deploy is a nice to have :)16:37
dobeywell, if you need specific versions of python packages, it's going to be a problem, because those will change16:40
ybonwell, this one is not really a strong need16:42
dobeyit very rarely is :)16:43
dobeyi can maybe help get some packages updated in a ppa if you need help with that, but i'm generally pretty short on time, and am doing actual work right now :)16:44
ybonthanks :)16:45
ybonI'm considering my options right now ;)16:46
ybonpython-ngram16:46
ybonpython-ngram seems not active, so it means that if I make a package, I will need to maintain it16:47
ybonwhich step I'm not sure I should do16:47
ybonbeing also pretty short in time, like all of us ;)16:47
dobeyif upstream ngram is no longer active, then maybe you shouldn't use it :)16:55
ybonhéhé ;)16:57
=== ancoron_ is now known as ancoron
KaZeRhey there. Everytime i upload a .pot file, it ends up in "Need review". When reviewing it, I do not see why it isn't automatically processed. can someone help?21:11
ki7mtHello all, I have project that is on SF right now, and want bring most of it over to LP for a new Ubuntu package. Must I create a new LP account and everything that goes with it or can I run it from my personal account on LP?21:56
beunoki7mt, hi21:57
beunoyou would create a team21:57
beunoand own that team yourself21:57
dobeyyou can do it personally, via a team, or as a new account21:57
beunobut that would disconnect it from you personally, and allow others to jump in21:57
dobeya team is generally the best way to do things21:57
ki7mtOk, that sounds good, I'll read up on the team route. Thanks.21:58
wgrantki7mt: You'd usually create a team at https://launchpad.net/people/+newteam, then a project owned by that team at https://launchpad.net/projects/+new22:01
ki7mtwgrant, ok, that seems logical. So then, users added to the team would also be part of the project yes?22:04
beunoyes22:05
ki7mtOk, thanks. will read up a bit more before I dive it :-)22:05
ki7mt.. dive in ..22:05
cjwatsonAnd in general it's pretty rare to need a new account.22:12
dobeyyeah, usually the reason to create a new account would be to create a bot, which you add to a team, that uses the API to perform various things (like using tarmac to manage branch landings)22:21
dobeyanyway, i am gone. later :)22:21
mapreriki7mt: you might want to experiment thinks in staging.launchpad.net22:26
ki7mtmapreri, yes, thanks, I was thinking the same thing after reading about both teams and projects.22:44
=== funnel_ is now known as funnel
=== \b is now known as benonsoftware

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