[07:49] <dholbach> good morning
[13:41] <mitya57> barry, isn't pypi argparse compatible with standard library argparse?
[14:42] <barry> mitya57: yes, i believe it is
[15:19] <pindonga> mitya57, it's essentially a stdalone version for python < 2.7 and < 3.2 (those don't include argparse in the stdlib)
[15:20] <pindonga> but the stdlib version is the preferred one
[15:20] <pindonga> so for python 2.7 and 3.2+ argparse should not really be packaged separately
[15:21] <pindonga> mitya57, barry I've submitted patches for both stevedore and cliff to upstream to remove argparse from requirements.txt
[15:21] <pindonga> now we need to wait for that to be accepted
[15:22] <barry> pindonga: and/or patch the debian versions of those packages
[15:22] <pindonga> right, I was going to ask about that
[15:22] <pindonga> would that be sensible? (to write a patch that sed's argparse away before packaging)
[15:22] <pindonga> ?
[15:24] <barry> pindonga: probably just a simple quilt patch would do in both cases, but i haven't looked at them in detail.  stevedore is owned by the debian openstack team and cliff is owned by the dpmt
[15:25] <barry> pindonga: at the very least, you should probably file debian bugs against both packages
[15:25] <pindonga> ack
[15:27] <pindonga> barry, looks like the latest one in sid is already patched?
[15:28] <pindonga> python-stevedore has a py3dist-overrides file that contains a single line: argparse
[15:28] <pindonga> I guess that's essentially telling to exclude argparse?
[15:36] <barry> pindonga: only at stevedore's build time iirc
[15:37]  * barry wonders if that would work for click-toolbelt
[15:37] <pindonga> barry, to add a similar file to click-toolbelt itself?
[15:37] <pindonga> I can try that
[17:14] <pindonga> barry, mitya57 I wasn't successful, but I'm not sure if it's bc it's not possible or bc of my lack of packaging skills
[17:14] <pindonga> I believe the problem is that py3dist-overrides only works for the package that has the dependency (in this case, python3-stevedore and python3-cliff)
[17:32] <mitya57> pindonga, right, I think py3dist-overrides has no effect on generated requirements.txt files
[17:33] <mitya57> So please file bugs.
[17:34] <pindonga> mitya57, on debian?
[17:35] <pindonga> or for ubuntu?
[17:36] <pindonga> mitya57, the python3-stevedore source pkg has a py3dist-overrides for argparse (both in debian and ubuntu)
[17:36] <pindonga> shouldn't that work?
[17:37] <mitya57> bugs → on debian bts
[17:37] <mitya57> pindonga, the py3dist-overrides is needed for dh_python3 to generate correct ${python3:Depends} on build time
[17:38] <mitya57> It has *no* effect on any files, one needs a patch to fix requirements.txt
[18:11] <pindonga> mitya57, ack
[18:16] <pindonga> ah! looks like stevedore already has a bug filed for this
[18:16] <pindonga> less work for me :)
[18:19] <mitya57> Oh, it's even release-critical
[18:37] <pindonga> mitya57, ok, created a bug for python3-cliff as well
[18:38] <mitya57> Nice!
[18:38] <mitya57> pindonga, will you mind if I update the found version in your bug so that BTS can understand it?
[18:39] <pindonga> please dop
[18:39] <pindonga> do