Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Christoph Biedl Newsgroups: linux.debian.bugs.dist,linux.debian.devel,linux.debian.maint.python Subject: Bug#877849: ITP: python-magic -- A python wrapper for libmagic Date: Fri, 06 Oct 2017 08:40:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Oct 6 06:33:12 2017 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -4.2 Reply-To: Christoph Biedl , 877849@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org, wnpp@debian.org X-Debian-Pr-Message: report 877849 X-Debian-Pr-Package: wnpp X-Spam-Bayes: score:0.0000 Tokens: new, 11; hammy, 149; neutral, 151; spammy, 1. spammytokens:0.987-1--hupps hammytokens:0.000-+--H*UA:2014-03-12, 0.000-+--H*u:2014-03-12, 0.000-+--H*u:1.5.23, 0.000-+--H*UA:1.5.23, 0.000-+--H*c:pgp-sha512 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Debian-Message: from BTS X-Mailing-List: archive/latest/1409605 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 93 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 6 Oct 2017 08:30:21 +0200 X-Original-Message-ID: <1507271366@msgid.manchmal.in-ulm.de> X-Original-References: <20170904174256.40241925@monsterix.mbehrle.de> Xref: csiph.com linux.debian.bugs.dist:854921 linux.debian.devel:81899 linux.debian.maint.python:9922 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Package: wnpp Severity: wishlist Owner: Christoph Biedl * Package name : python-magic Version : 0.4.13 Upstream Author : Adam Hupp * URL : https://github.com/ahupp/python-magic/ * License : MIT Programming Lang: Python Description : A python wrapper for libmagic Tentative long description: python-magic is a python interface to the libmagic file type identification library. libmagic identifies file types by checking their headers according to a predefined list of file types. Some background: For quite some time, there have been two but incompatible implementations for python-magic, providing python bindings for libmagic (src:file). The one provided by file ("[file]") itself might be a bit older but appearently Adam Hupp's implementation ("[pypi]") provides a better feature set and might even have a broader user base. Some discussion on this took place on the debian-python list, starting at [1]: Debian currently provides [file] so at least three packages that require [pypi] ship their own code copy, more to come. In upstream[2], there has been a basic understanding between Christos Zoulas ([file]) and Adam Hupp ([pypi]) to resolve that conflict, and Adam has announced[3] to work on a merge. The tentative transition plan is as follows, and I'm open for suggestions: * Wait until [pypi] provides the [file] API. * Ship the library using a different binary package name like "Package: python-magic-pypi, Provides: python-magic". Same for python3, here and in all the following. * Ask users of python-magic to install this new package and check for regression. * Big switch when it seems feasible: Then src:file will no longer provide python-magic, this package here will do insted. (For the records, Debian maintainer for src:file is yours truly.) * Ask maintainers who ship a [pypi] code copy to use the package instead. Would be a MBF if there weren't just a few. As my Python knowledge is limited, I'm not particulary keen on maintaining this for Debian and I might even ITA it after the transition. If somebody else wishes to do the job instead, please step forward. For the filexit time however, good coordination is required. Christoph [1] https://lists.debian.org/debian-python/2017/09/msg00008.html [2] The file mailing list archive is down, relevant parts are quoted in https://lists.debian.org/debian-python/2017/09/msg00015.html [3] https://lists.debian.org/debian-python/2017/10/msg00021.html --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJZ1yL8AAoJEMQsWOtZFJL9BsYQAKkJVM/6tUgH0uCxTHeHGy2w 4ijCtxwU1fgdJKtDphc3YD8m2iIvxQNa5iEqoA6yG0POVJE3V3wbui+rjHHXbr5O DRSNyYxMSYIP4r4mwWssv+X5i3XiQlAxRlGwF3B//kNip6y0rkZXXYwOTq0P2hRO cUB8pcnEFXosiPrfh4NcQ0OlMzLenmEJNeZiYH8/jOcRlTu0Zft474kkZeXh9HHA fePKzJWsgzjNh8uhs5yhwNjlTmFgIQfOz0tWNTSCz1DDaJgGXYaNie0VqsH2xM+h HOxRHtoa2ir93LRjs3JeBuvsAr52xinGfKIafddPQjatxYCL6Kj9COIVg9UFBUGr /eK6R5qNdENlH85R34wT9tsR42KWDpCClKRcbEdSKnAqEeh19KDpslPHmyGnbP7k hH5IQayh5CT2IUuuFcvq8sDIEWH0/LiBoko6utuLAZwteBIGGhDvCgzHhKpb6jdv QIsygpeKSoyQYyIfVk/Df74n3wkGDrvwF9u5jth3iQZT3Jzm1HvrpqYSHM7Bm3eT chXQhD/E7NHMO3g8PJ6n5C7W0/K8uRhiV/Q3NQ6pjsaJBZe2eXvqUhlwg/ELa0Qt 94bwPLhg64r9g47PDZDhXv4jCMorfLq0cjTSjn1kbQRGRJHH4TC3VsE49pHZdizJ Ezq/GpvGCmsqzyH2uJ4g =bICI -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--