[Python-modules-team] Bug#910355: enum34: Please package for Python3

Neil Williams codehelp at debian.org
Fri Oct 5 10:52:01 BST 2018


On Fri, 5 Oct 2018 11:27:54 +0200
Ondrej Novy <novy at ondrej.org> wrote:

> Hi,
> 
> pá 5. 10. 2018 v 11:21 odesílatel Neil Williams <codehelp at debian.org>
> napsal:
> 
> > I'm looking to package a new python3 utility which will depend
> > on python3-enum34 and the homepage link from this source package
> > claims support for python3.
> >  
> 
> enum34 is backport of enum from Python 3.4. It doesn't make sense to
> package it for Python 3, because we have >= Python 3.4 in unstable.

I realised that just after I hit send. :-) My bad, should have read the
package description first.

> Correct solution:
> https://sources.debian.org/src/python-eventlet/0.20.0-5/debian/patches/0011-Avoid-dependency-on-enum-compat.patch/
> 
> "enum34;python_version<"3.4""

Thanks for the hint - I didn't know about that bit of setup.py syntax.

The package which depends on this would be new and uses another
dependency which, in Debian, is only available for Python3. There's no
need for me to consider Debian support for Python2 in the new package.
So my patch to setup.py just drops the enum34 line entirely.

-- 

Neil Williams
home at codehelp.co.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20181005/aff89f77/attachment.sig>


More information about the Python-modules-team mailing list