=== Unit193 is now known as Hypnotoad | ||
=== Hypnotoad is now known as Unit193 | ||
pindonga | hi, I'm trying to create a new package and I'm getting a lintian error I don't know how to fix | 14:43 |
---|---|---|
pindonga | the errors is about: copyright-should-refer-to-common-license-file-for-gpl | 14:43 |
pindonga | the pkg is licensed under AGPL-3 which lintian doesn't seem to understand | 14:43 |
pindonga | what can I do? | 14:43 |
rbasak | pindonga: what license shortname did you use? Pastebin your debian/copyright perhaps? | 14:47 |
pindonga | http://paste.ubuntu.com/14410997/ | 14:48 |
rbasak | pindonga: it says "See the GNU General Public License for more details". Perhaps it should say Affero there? | 14:53 |
rbasak | pindonga: that would be an upstream issue, but perhaps you are upstream here and in a position to fix it? | 14:53 |
rbasak | pindonga: that text mismatches http://spdx.org/licenses/AGPL-3.0.html#licenseText | 14:54 |
rbasak | (the Standard License Header bit at the botoom) | 14:54 |
rbasak | pindonga: also, since AGPL-3 isn't in common-licenses, you need to include the full text of it in debian/copyright, not just the top bit. Unless you're shipping it separately in /usr/share/doc/.../ I suppose, but the usual way is to include it in its entirety in debian/copyright. | 14:56 |
pindonga | rbasak, thx will do those fixes and see how it behaves | 14:58 |
pindonga | rbasak, thx! that fixed it | 15:07 |
rbasak | \o/ | 15:07 |
pindonga | hi again.. I'm trying to build a pkg for python3 and it complains that argparse can't be downloaded | 18:31 |
pindonga | however argparse is part of python3 | 18:31 |
pindonga | here's a sample of the error: http://paste.ubuntu.com/14412851/ | 18:31 |
pindonga | any ideas? | 18:31 |
mitya57 | pindonga: do you have a link to the source? | 18:35 |
pindonga | mitya57, I don't have it all uploaded for I'm first trying to get it to build cleanly | 18:36 |
pindonga | but I can paste whatever info you need | 18:36 |
mitya57 | pindonga, I suspect you have something like argparse in test requires in setup.py | 18:37 |
pindonga | nope, I don't | 18:37 |
mitya57 | If you paste setup.py that would be helpful :) | 18:37 |
pindonga | I've grepped the whole tree | 18:37 |
pindonga | no matches for argparse | 18:37 |
mitya57 | and setup.cfg if it exists | 18:38 |
pindonga | sure, sec | 18:38 |
pindonga | actually, I've just pushed the remaining bits to the branch: https://bazaar.launchpad.net/~ricardokirkner/click-toolbelt/debian/files | 18:41 |
* mitya57 looks | 18:43 | |
mitya57 | pindonga, do you have stevedore locally installed? | 18:52 |
mitya57 | I think stevedore-1.10.0-py3.4.egg/EGG-INFO/requires.txt:argparse is to blame | 18:52 |
pindonga | dpkg -l '*python3-stevedore*' shows 1.5.0-2 is installed | 18:52 |
mitya57 | and one more: cliff-1.15.0-py3.4.egg/EGG-INFO/requires.txt:argparse | 18:53 |
pindonga | 1.14.0-1ubuntu1 | 18:53 |
mitya57 | So their requires.txt are wrong | 18:53 |
pindonga | indeed | 18:54 |
pindonga | just confirmed the system-level files also mention argparse there | 18:54 |
pindonga | so I guess that's a bug on those pkgs? | 18:54 |
pindonga | well | 18:54 |
pindonga | maybe not, maybe they're just not python3 compatible? | 18:54 |
pindonga | argparse is certainly needed for py2 compat | 18:55 |
mitya57 | It also exists in 2.7 | 18:56 |
pindonga | so, what should I do? | 18:56 |
pindonga | file a bug on ubuntu for these pkgs? upstream? | 18:56 |
pindonga | any way I can tell pybuild to ignore argparse? | 18:57 |
mitya57 | Maybe check if it still exists upstream, if yes file a bug upstream, if no ask the maintainers to backport the change | 18:57 |
pindonga | ack | 18:57 |
mitya57 | For stevedore I still see it in https://github.com/openstack/stevedore/blob/master/requirements.txt | 18:59 |
pindonga | same for cliff | 19:01 |
pindonga | so those should be updated upstream, the re-packaged for xenial? | 19:01 |
barry | mitya57, pindonga in the meantime, it does seem like both stevedore and cliff require standalone argparse (pip installing them into a py3 venv installs std-alone argparse), but neither ubuntu package declares a dependency on python3-argparse. regardless of upstream, i'd say those are bugs in the debian packages (note that cliff has an ubuntu delta from debian, so it's worth checking if it's fixed there). | 21:32 |
barry | mitya57, pindonga a fix for click-toolbelt is just to include the {Build-,}Depends in that package's d/control | 21:32 |
barry | oh yeah, haha. there is no python3-argparse, so yeah, i'd say those debian packages need fixing | 21:34 |
pindonga | barry, yes, I checked for python3-argparse as the first thing ;-) | 22:19 |
pindonga | the alternative is to package python3-argparse, but that doesn't seem like the right way to go | 22:20 |
barry | pindonga: no, i don't think it is | 22:21 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!