Re: Bug#785275: ITP: python-ipaddress -- Backport of the ipaddress module from Python 3.3
On May 23, 2015 12:42:35 PM EDT, Scott Kitterman <debian@kitterman.com> wrote:
>On Friday, May 22, 2015 02:17:59 PM Ian Cordasco wrote:
>> On Fri, May 22, 2015 at 10:12 AM, Tristan Seligmann
>>
>> <mithrandi@mithrandi.net> wrote:
>> > On 22 May 2015 at 16:06, Tristan Seligmann
><mithrandi@mithrandi.net>
>wrote:
>> >> Or are you saying that the ipaddress backport is not compatible
>with
>> >> python3 stdlib's ipaddress? (This would be a very unfortunate
>state of
>> >> affairs, but impossible to imagine)
>> >
>> > This should have been "*not* impossible", of course.
>>
>> Based purely on the fact that the current version of ipaddr is
>> undocumented, I would strongly be against any patch to packaged
>> software that causes a dependency on it for the sole purpose of
>> Debian's packaging of that software. You're asking the maintainers of
>> those packages to maintain patches for things that are undocumented.
>> In my opinion, Scott, if your'e so adamant about not packaging
>> ipaddress for Python 2, you should work with ipaddr to fix things so
>> maintainers can reliably maintain the software. Until that is fixed,
>I
>> think Tristan's packaging should move forward so Debian doesn't fall
>> too far behind pip.
>
>Here's the patch that pip needs to work with ipaddr (I did this against
>the
>development branch, but I'd be surprised if it doesn't work for the
>latest
>release):
>
>http://paste.debian.net/182618/
>
>dstufft has reviewed it and I'll submit a github pull request once I
>get my
>password reset.
The final version uses nested try/except instead of try/except/finally and has been accepted upstream.
Scott K
Reply to: